9 #ifndef _QI_PERF_DATAPERF_HPP_
10 #define _QI_PERF_DATAPERF_HPP_
18 class DataPerfPrivate;
30 void start(
const std::string& benchmarkName,
unsigned long loopCount = 1,
unsigned long msgSize = 0,
const std::string& variable =
"");
35 std::string getBenchmarkName()
const;
37 std::string getVariable()
const;
39 unsigned long getMsgSize()
const;
41 double getPeriod()
const;
43 double getCpu()
const;
45 double getMsgPerSecond()
const;
47 double getMegaBytePerSecond()
const;
55 #endif // _QI_PERF_DATAPERF_HPP_
dll import/export and compiler message
Class to compute and store a benchmark time.