Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
algorithm_measurement.hpp
Go to the documentation of this file.
00001 /***********************************************************************************************************
00002 Copyright (c) 2012, Sebastian Breß, Otto-von-Guericke University of Magdeburg, Germany. All rights reserved.
00003 
00004 This program and accompanying materials are made available under the terms of the 
00005 GNU LESSER GENERAL PUBLIC LICENSE - Version 3, http://www.gnu.org/licenses/lgpl-3.0.txt
00006 ***********************************************************************************************************/
00007 #pragma once
00008 
00009 #include <iostream>
00010 #include <string>
00011 #include <vector>
00012 
00013 //HyPE includes
00014 #include <config/exports.hpp>
00015 #include <core/time_measurement.hpp>
00016 #include <core/measurementpair.hpp>
00017 #include <core/scheduling_decision.hpp>
00018 
00019 namespace hype{
00020    namespace core{
00021 
00036       class HYPE_EXPORT AlgorithmMeasurement{
00037          public:
00044             explicit AlgorithmMeasurement(const SchedulingDecision& scheduling_decision); //starts timer
00049             void afterAlgorithmExecution(); 
00050          private:
00052             uint64_t timestamp_begin_;
00054             SchedulingDecision scheduling_decision_;
00056             //bool manual_management_;
00057       };
00058 
00059    };//end namespace core
00060 }; //end namespace hype
00061 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines