Public Member Functions | Public Attributes | List of all members
PLMD::Stopwatch::Watch Class Reference

Class to store a single stopwatch. More...

Public Member Functions

void start ()
 
void stop ()
 
void pause ()
 

Public Attributes

std::chrono::time_point< std::chrono::high_resolution_clock > lastStart
 
long long int total = 0
 
long long int lap = 0
 
long long int max = 0
 
long long int min = 0
 
unsigned cycles = 0
 
unsigned running = 0
 

Detailed Description

Class to store a single stopwatch.

Class Stopwatch contains a collection of them

Member Function Documentation

◆ pause()

void PLMD::Stopwatch::Watch::pause ( )

◆ start()

void PLMD::Stopwatch::Watch::start ( )

◆ stop()

void PLMD::Stopwatch::Watch::stop ( )

Member Data Documentation

◆ cycles

unsigned PLMD::Stopwatch::Watch::cycles = 0

◆ lap

long long int PLMD::Stopwatch::Watch::lap = 0

◆ lastStart

std::chrono::time_point<std::chrono::high_resolution_clock> PLMD::Stopwatch::Watch::lastStart

◆ max

long long int PLMD::Stopwatch::Watch::max = 0

◆ min

long long int PLMD::Stopwatch::Watch::min = 0

◆ running

unsigned PLMD::Stopwatch::Watch::running = 0

◆ total

long long int PLMD::Stopwatch::Watch::total = 0

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