Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
throughput.hpp
Go to the documentation of this file.
00001 
00002 #pragma once
00003 
00004 #include <iostream>
00005 #include <string>
00006 #include <vector>
00007 #include <memory>
00008 
00009 #include <core/optimization_criterion.hpp>
00010 #include <core/time_measurement.hpp>
00011 
00012 namespace hype{
00013    namespace core{
00014 
00015 
00016 class Throughput : public OptimizationCriterion_Internal{
00017 
00018    public:
00019    Throughput(std::string name_of_operation);
00020 
00021    virtual const SchedulingDecision getOptimalAlgorithm_internal(const Tuple& input_values, Operation& op, DeviceTypeConstraint dev_constr);
00022 //OptimizationCriterionFactorySingleton::Instance().
00023 
00024    static OptimizationCriterion_Internal* create(){
00025       return new Throughput("");
00026    }
00027 
00028 };
00029 
00030 
00031    }; //end namespace core
00032 }; //end namespace hype
00033 
00034 
00035 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines