F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
IntervalTimerCommon.cpp
Go to the documentation of this file.
1 
13 #include <Os/IntervalTimer.hpp>
14 
15 #include <cstring>
16 
17 namespace 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.
IntervalTimer()
Constructor.