Electroneum
Public Member Functions | Private Attributes | List of all members
tools::PerformanceTimer Class Reference

#include <perf_timer.h>

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

Public Member Functions

 PerformanceTimer (const std::string &s, uint64_t unit, el::Level l=el::Level::Debug)
 
 ~PerformanceTimer ()
 

Private Attributes

std::string name
 
uint64_t unit
 
el::Level level
 
uint64_t ticks
 
bool started
 

Constructor & Destructor Documentation

◆ PerformanceTimer()

tools::PerformanceTimer::PerformanceTimer ( const std::string &  s,
uint64_t  unit,
el::Level  l = el::Level::Debug 
)
inline

◆ ~PerformanceTimer()

tools::PerformanceTimer::~PerformanceTimer ( )
inline

Member Data Documentation

◆ level

el::Level tools::PerformanceTimer::level
private

◆ name

std::string tools::PerformanceTimer::name
private

◆ started

bool tools::PerformanceTimer::started
private

◆ ticks

uint64_t tools::PerformanceTimer::ticks
private

◆ unit

uint64_t tools::PerformanceTimer::unit
private

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