libqi-api
2.8.7.4
|
* 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(); * *