Grok 15.1.0
grk::ChronoTimer Class Reference

#include <ChronoTimer.h>

Public Member Functions

 ChronoTimer (std::string msg)
void start (void)
void finish (void)

Private Attributes

std::string message
std::chrono::high_resolution_clock::time_point startTime

Constructor & Destructor Documentation

◆ ChronoTimer()

grk::ChronoTimer::ChronoTimer ( std::string msg)
inline

References message.

Member Function Documentation

◆ finish()

void grk::ChronoTimer::finish ( void )
inline

References finish(), grk::grklog, message, and startTime.

Referenced by finish().

◆ start()

void grk::ChronoTimer::start ( void )
inline

References startTime.

Member Data Documentation

◆ message

std::string grk::ChronoTimer::message
private

Referenced by ChronoTimer(), and finish().

◆ startTime

std::chrono::high_resolution_clock::time_point grk::ChronoTimer::startTime
private

Referenced by finish(), and start().


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