libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DataPerf Class Reference

Detailed Description

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

The documentation for this class was generated from the following file: