F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Os/IntervalTimer.hpp>
Classes | |
struct | RawTime |
Public Member Functions | |
IntervalTimer () | |
Constructor. | |
virtual | ~IntervalTimer () |
Destructor. | |
void | start () |
void | stop () |
U32 | getDiffUsec () |
Static Public Member Functions | |
static U32 | getDiffUsec (const RawTime &t1, const RawTime &t2) |
static void | getRawTime (RawTime &time) |
Definition at line 13 of file IntervalTimer.hpp.
Os::IntervalTimer::IntervalTimer | ( | ) |
Constructor.
Definition at line 5 of file IntervalTimer.cpp.
|
virtual |
Destructor.
Definition at line 7 of file IntervalTimer.cpp.
U32 Os::IntervalTimer::getDiffUsec | ( | ) |
Returns the difference in usecond difference between start and stop times. The caller must have called start and stop previously.
Definition at line 34 of file IntervalTimerCommon.cpp.
Returns the difference in microseconds between the supplied times t1, and t2. This calculation is done with respect to the semantic meaning of the times, and thus is dependent on the platform's representation of the RawTime object.
Definition at line 14 of file IntervalTimer.cpp.
|
static |
Fills the RawTime object supplied with the current raw time in a platform dependent way.
Definition at line 9 of file IntervalTimer.cpp.
void Os::IntervalTimer::start | ( | ) |
Capture a start time of the interval timed by the interval timer. This fills the start RawTime of the interval.
Definition at line 26 of file IntervalTimerCommon.cpp.
void Os::IntervalTimer::stop | ( | ) |
Capture a stop time of the interval timed by the interval timer. This fills the stop RawTime of the interval.
Definition at line 30 of file IntervalTimerCommon.cpp.