1 #ifndef RUNTIMEMEASUREMENTMANAGER_HPP_
2 #define RUNTIMEMEASUREMENTMANAGER_HPP_
6 #include "CL/OpenCL.hpp"
21 void startCLTimer(std::string name, cl::CommandQueue queue);
22 void stopCLTimer(std::string name, cl::CommandQueue queue);
24 void startRegularTimer(std::string name);
25 void stopRegularTimer(std::string name);
27 void startNumberedCLTimer(std::string name, cl::CommandQueue queue);
28 void stopNumberedCLTimer(std::string name, cl::CommandQueue queue);
30 void startNumberedRegularTimer(std::string name);
31 void stopNumberedRegularTimer(std::string name);
35 void print(std::string name);
41 std::map<std::string, RuntimeMeasurement::pointer> timings;
42 std::map<std::string, unsigned int> numberings;
43 std::map<std::string, cl::Event> startEvents;
44 std::map<std::string, std::chrono::system_clock::time_point> startTimes;