Processor cycle counter that uses PAPI.
More...
|
void | start (void) noexcept |
| Starts the counter.
|
|
value_type | stop (void) const noexcept |
| Stops the counter and returns the difference from start() in cycles.
|
|
|
static constexpr const char * | name (void) noexcept |
| Returns the name of the counter as a C string.
|
|
static value_type | read (void) noexcept |
| Returns the raw value from the counter.
|
|
static constexpr value_type | normalize (const raw_value_type v) noexcept |
| Normalizes the given raw value to cycles.
|
|
|
typedef long_long | raw_value_type |
|
typedef long_long | value_type |
|
Processor cycle counter that uses PAPI.
The documentation for this class was generated from the following file: