Monero
Public Member Functions | Protected Attributes | List of all members
tools::PerformanceTimer Class Reference

#include <perf_timer.h>

Inheritance diagram for tools::PerformanceTimer:
Inheritance graph
[legend]
Collaboration diagram for tools::PerformanceTimer:
Collaboration graph
[legend]

Public Member Functions

 PerformanceTimer (bool paused=false)
 
 ~PerformanceTimer ()
 
void pause ()
 
void resume ()
 
uint64_t value () const
 
void set (uint64_t v)
 

Protected Attributes

uint64_t ticks
 
bool started
 
bool paused
 

Constructor & Destructor Documentation

◆ PerformanceTimer()

tools::PerformanceTimer::PerformanceTimer ( bool  paused = false)

◆ ~PerformanceTimer()

tools::PerformanceTimer::~PerformanceTimer ( )

Member Function Documentation

◆ pause()

void tools::PerformanceTimer::pause ( )

◆ resume()

void tools::PerformanceTimer::resume ( )

◆ set()

void tools::PerformanceTimer::set ( uint64_t  v)
inline

◆ value()

uint64_t tools::PerformanceTimer::value ( ) const
inline

Member Data Documentation

◆ paused

bool tools::PerformanceTimer::paused
protected

◆ started

bool tools::PerformanceTimer::started
protected

◆ ticks

uint64_t tools::PerformanceTimer::ticks
protected

The documentation for this class was generated from the following files: