Monero
Loading...
Searching...
No Matches
tools::LoggingPerformanceTimer Class Reference

#include <perf_timer.h>

Inheritance diagram for tools::LoggingPerformanceTimer:
Collaboration diagram for tools::LoggingPerformanceTimer:

Public Member Functions

 LoggingPerformanceTimer (const std::string &s, const std::string &cat, uint64_t unit, el::Level l=el::Level::Info)
 ~LoggingPerformanceTimer ()
Public Member Functions inherited from tools::PerformanceTimer
 PerformanceTimer (bool paused=false)
 ~PerformanceTimer ()
void pause ()
void resume ()
void reset ()
uint64_t value () const
 operator uint64_t () const

Private Attributes

std::string name
std::string cat
uint64_t unit
el::Level level

Additional Inherited Members

Protected Attributes inherited from tools::PerformanceTimer
uint64_t ticks
bool started
bool paused

Constructor & Destructor Documentation

◆ LoggingPerformanceTimer()

tools::LoggingPerformanceTimer::LoggingPerformanceTimer ( const std::string & s,
const std::string & cat,
uint64_t unit,
el::Level l = el::Level::Info )

◆ ~LoggingPerformanceTimer()

tools::LoggingPerformanceTimer::~LoggingPerformanceTimer ( )

Member Data Documentation

◆ cat

std::string tools::LoggingPerformanceTimer::cat
private

◆ level

el::Level tools::LoggingPerformanceTimer::level
private

◆ name

std::string tools::LoggingPerformanceTimer::name
private

◆ unit

uint64_t tools::LoggingPerformanceTimer::unit
private

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