#include <stop_watch.hpp>
Stopwatch to measure an elapsed time.
MicroSecondStopWatch::MicroSecondStopWatch |
( |
| ) |
|
|
inline |
Default constructor that starts the stopwatch.
uint64_t MicroSecondStopWatch::getCapturedTime |
( |
void |
| ) |
const |
|
inline |
Get the captured value between start() and stop() If the stopwatch was never stopped, zero value will be returned.
uint64_t MicroSecondStopWatch::getElapsedTime |
( |
void |
| ) |
const |
|
inline |
Get the elapsed time since the stopwatch was started.
void MicroSecondStopWatch::start |
( |
void |
| ) |
|
|
inline |
Starts the stopwatch operation (can be used to restart the stopwatch too)
void MicroSecondStopWatch::stop |
( |
void |
| ) |
|
|
inline |
Stops the stopwatch operation enabling the captured value to be obtained.
The documentation for this class was generated from the following file:
- /var/www/html/SJSU-DEV-Linux/firmware/default/lib/L3_Utils/stop_watch.hpp