![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Os::IntervalTimer measures time intervals using start/stop functionality.The IntervalTimer class provides methods to capture the start and stop times of an interval and calculate the difference between these times. It is useful for measuring the duration of operations or events. Intervals can be returned in Fw::TimeInterval or as a microsecond U32.
IntervalTimer timer; timer.start(); // Perform some operations timer.stop(); Fw::TimeInterval interval = timer.getTimeInterval();