|
libpnicore
|
Data Structures | |
| class | pni::core::benchmark_result |
| result of a single benchmark More... | |
| class | pni::core::benchmark_runner |
| benchmark runner class More... | |
| struct | pni::core::duration_unit_map< DTYPE > |
| unit map More... | |
| class | pni::core::chrono_timer< CLKT, DTYPE > |
| timer class using chrono More... | |
| class | pni::core::clock_timer |
| clock() timer More... | |
Functions | |
| std::ostream & | pni::core::operator<< (std::ostream &o, const benchmark_result &r) |
| output operator for benchmark result | |
| benchmark_result | pni::core::average (const benchmark_runner &bm) |
| compute the average result More... | |
| benchmark_result | pni::core::standard_deviation (const benchmark_runner &bm) |
| compute result standard deviation More... | |
Classes to set up benchmarks.
| benchmark_result pni::core::average | ( | const benchmark_runner & | bm | ) |
Computes the average of the results of each individual run. The result is returned as an instance of benchmark_result.
| bm | benchmark run |
| benchmark_result pni::core::standard_deviation | ( | const benchmark_runner & | bm | ) |
Computes the standard deviation for all individual results in the original benchmark run.
| bm | benchmark run |
1.8.8