Class SimpleTimer

Class Documentation

class SimpleTimer

Can time stuff up to 71 days within microsecond precision

Public Functions

SimpleTimer()

Automatically sets current moment to that of its creation :) Sounds a bit mystical imo

Microseconds getDurationAndReset()

Resets the count and returns the duration. Slightly more accurate.

void reset()

Resets the count

Microseconds getDuration() const

Returns the duration