F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IntervalTimerCommon.cpp
Go to the documentation of this file.
1
13#include <Os/IntervalTimer.hpp>
14
15#include <cstring>
16
17namespace Os {
18
20 memset(&this->m_startTime,0,sizeof(this->m_startTime));
21 memset(&this->m_stopTime,0,sizeof(this->m_stopTime));
22 }
23
25
27 getRawTime(this->m_startTime);
28 }
29
31 getRawTime(this->m_stopTime);
32 }
33
35 return getDiffUsec(this->m_stopTime, this->m_startTime);
36 }
37}
static void getRawTime(RawTime &time)
virtual ~IntervalTimer()
Destructor.
Definition File.cpp:6