CPP-TOOLBOX
Loading...
Searching...
No Matches
Stopwatch Class Reference

A stopwatch which measures how frequently it's been pressed in seconds to be used to measure at what frequency a specific line of code is run at. More...

#include <stopwatch.hpp>

Public Member Functions

void press ()
 

Public Attributes

double average_frequency = 0.0
 

Detailed Description

A stopwatch which measures how frequently it's been pressed in seconds to be used to measure at what frequency a specific line of code is run at.

Note
everything is measured in seconds

Member Function Documentation

◆ press()

void Stopwatch::press ( )

Member Data Documentation

◆ average_frequency

double Stopwatch::average_frequency = 0.0

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