ZeroErr
zeroerr::PerfCountSet< T > Struct Template Reference

PerfCountSet is a set of performance counters. More...

#include <benchmark.h>

Collaboration diagram for zeroerr::PerfCountSet< T >:

Public Member Functions

T & timeElapsed ()
 
T & pageFaults ()
 
T & cpuCycles ()
 
T & contextSwitches ()
 
T & instructions ()
 
T & branchInstructions ()
 
T & branchMisses ()
 

Public Attributes

iterations {}
 
data [7] {}
 

Detailed Description

template<typename T>
struct zeroerr::PerfCountSet< T >

PerfCountSet is a set of performance counters.

Member Function Documentation

◆ branchInstructions()

template<typename T >
T& zeroerr::PerfCountSet< T >::branchInstructions ( )
inline

◆ branchMisses()

template<typename T >
T& zeroerr::PerfCountSet< T >::branchMisses ( )
inline

◆ contextSwitches()

template<typename T >
T& zeroerr::PerfCountSet< T >::contextSwitches ( )
inline

◆ cpuCycles()

template<typename T >
T& zeroerr::PerfCountSet< T >::cpuCycles ( )
inline

◆ instructions()

template<typename T >
T& zeroerr::PerfCountSet< T >::instructions ( )
inline

◆ pageFaults()

template<typename T >
T& zeroerr::PerfCountSet< T >::pageFaults ( )
inline

◆ timeElapsed()

template<typename T >
T& zeroerr::PerfCountSet< T >::timeElapsed ( )
inline

Member Data Documentation

◆ data

template<typename T >
T zeroerr::PerfCountSet< T >::data[7] {}

◆ iterations

template<typename T >
T zeroerr::PerfCountSet< T >::iterations {}

The documentation for this struct was generated from the following file: