Class Stopwatch

Index Home MAE > MAE Architecture > MAE Data Types > Class Index > Class Stopwatch

Public Methods
Stopwatch(startImmediately)
bool start()
inline bool restart()
bool stop()
float elapsed()
double startTime()
inline bool isRunning()
inline bool isStopped()
Private Properties
Private Methods
void calcValue()

#include <Stopwatch.h >

Public Methods

Stopwatch(startImmediately)

bool startImmediately

Default value: true


bool start()

inline bool restart()

bool stop()

float elapsed()

double startTime()

inline bool isRunning()

inline bool isStopped()

Private Properties

bool running

float value

time_t time0s

suseconds_t time0us


Private Methods

void calcValue()