Stub cycle counter for platforms without hardware timer access.
More...
#include <cycle_counter_generic.h>
Stub cycle counter for platforms without hardware timer access.
All timing methods are no-ops. avg_cycles() always returns 0. Exists so that benchmarking code compiles unconditionally.
◆ avg_cycles()
| double detail::CycleCounterGeneric::avg_cycles |
( |
| ) |
const |
|
inline |
◆ reset()
| void detail::CycleCounterGeneric::reset |
( |
| ) |
|
|
inlinenoexcept |
◆ start()
◆ stop()
◆ runs
| unsigned long long detail::CycleCounterGeneric::runs = 0 |
◆ total_cycles
| unsigned long long detail::CycleCounterGeneric::total_cycles = 0 |
The documentation for this struct was generated from the following file: