PerformanceCounter is a class to measure the performance of a function.
更多...
#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()
| const PerfCountSet< uint64_t > & 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 |
该结构体的文档由以下文件生成: