|
libqi-api
release-2.5.3-2016-11-18
|
* This class is used to compute and store a benchmak time.
* It gives too some facilities.
*
* Use:
* .. highlight:: c++
* :linenothreshold: 1
* DataPerf DP;
* { // ...
* }
* DP.start();
* { // ...
* } // Things we want to benchmark
* DP.stop();
* { // ...
* }
* std::cout << "Ratio CPU/Total: " << DP.getCpu();
*
*