PerformanceCounter is a class to measure the performance of a function.
More...
#include <benchmark.h>
PerformanceCounter is a class to measure the performance of a function.
◆ PerformanceCounter()
zeroerr::PerformanceCounter::PerformanceCounter |
( |
| ) |
|
◆ ~PerformanceCounter()
zeroerr::PerformanceCounter::~PerformanceCounter |
( |
| ) |
|
◆ beginMeasure()
void zeroerr::PerformanceCounter::beginMeasure |
( |
| ) |
|
◆ endMeasure()
void zeroerr::PerformanceCounter::endMeasure |
( |
| ) |
|
◆ has()
PerfCountSet<bool> zeroerr::PerformanceCounter::has |
( |
| ) |
const |
|
inlinenoexcept |
◆ inst()
◆ updateResults()
void zeroerr::PerformanceCounter::updateResults |
( |
uint64_t |
numIters | ) |
|
◆ val()
PerfCountSet<uint64_t> const& zeroerr::PerformanceCounter::val |
( |
| ) |
const |
|
inlinenoexcept |
◆ _has
◆ _perf
detail::LinuxPerformanceCounter* zeroerr::PerformanceCounter::_perf = nullptr |
|
protected |
◆ _start
Clock::time_point zeroerr::PerformanceCounter::_start |
|
protected |
◆ _val
◆ elapsed
Clock::duration zeroerr::PerformanceCounter::elapsed |
◆ win_perf
detail::WindowsPerformanceCounter* zeroerr::PerformanceCounter::win_perf = nullptr |
|
protected |
The documentation for this struct was generated from the following files: