Counter that uses getrusage()
in POSIX systems.
More...
|
void | start (void) noexcept |
| Starts the counter.
|
|
value_type | stop (void) const noexcept |
| Stops the counter and returns the difference from start() as an rusage object.
|
|
|
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 const & | normalize (raw_value_type const &v) noexcept |
| Normalizes the given raw value.
|
|
|
typedef struct rusage | raw_value_type |
|
typedef struct rusage | value_type |
|
Counter that uses getrusage()
in POSIX systems.
The documentation for this class was generated from the following file: