|
| | ProfilingInfo (std::string pLabel=std::string(), std::string pUnit=std::string("ms")) |
| |
| rep & | operator[] (const int idx) |
| |
| rep | total (rep initVal=0.0) |
| | Returns the sum of the #nSize executon times. More...
|
| |
| rep | mean () |
| | Returns the mean time of the #nSize executon times. More...
|
| |
| rep | min () |
| | Returns the min time of the #nSize executon times. More...
|
| |
| rep | max () |
| | Returns the max time of the #nSize executon times. More...
|
| |
| rep | speedup (ProfilingInfo &refProf) |
| | Returns the relative performance speedup wrt refProf. More...
|
| |
| void | print (const char *title=nullptr, bool bLine=true) |
| | Displays summarizing results on the test. More...
|
| |
| void | print (ProfilingInfo &refProf, const char *title=nullptr) |
| | Displays summarizing results on two tests. More...
|
| |
template<uint nSize, typename rep = double>
class clutils::ProfilingInfo< nSize, rep >
A class that collects and manipulates timing information about a test.
It stores the execution times of a test in a vector, and then offers summarizing results.
- Template Parameters
-
| nSize | the number of test repetitions. |
| rep | the type of the values the class stores and returns. |