F´ Flight Software - C/C++ Documentation
NASA-v2.0.0
A framework for building embedded system applications to NASA flight quality standards.
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
g
h
i
m
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
a
b
f
h
i
n
o
p
s
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
b
d
e
f
g
h
i
l
m
n
p
q
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
l
m
n
o
p
q
r
s
t
w
Related Functions
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
Functions
f
i
m
s
u
Variables
Typedefs
Enumerations
Enumerator
c
d
f
m
p
r
s
t
Macros
a
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
•
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 <string.h>
16
17
namespace
Os
{
18
19
IntervalTimer::IntervalTimer
() {
20
memset(&this->m_startTime,0,
sizeof
(this->m_startTime));
21
memset(&this->m_stopTime,0,
sizeof
(this->m_stopTime));
22
}
23
24
IntervalTimer::~IntervalTimer
() {}
25
26
void
IntervalTimer::start
() {
27
getRawTime
(this->m_startTime);
28
}
29
30
void
IntervalTimer::stop
() {
31
getRawTime
(this->m_stopTime);
32
}
33
34
U32
IntervalTimer::getDiffUsec
(
void
) {
35
return
getDiffUsec
(this->m_stopTime, this->m_startTime);
36
}
37
}
Os
Definition:
File.cpp:7
IntervalTimer.hpp
Os::IntervalTimer::getDiffUsec
U32 getDiffUsec(void)
Definition:
IntervalTimerCommon.cpp:34
Os::IntervalTimer::stop
void stop(void)
Definition:
IntervalTimerCommon.cpp:30
Os::IntervalTimer::getRawTime
static void getRawTime(RawTime &time)
Definition:
IntervalTimer.cpp:9
Os::IntervalTimer::~IntervalTimer
virtual ~IntervalTimer()
Destructor.
Definition:
IntervalTimer.cpp:7
Os::IntervalTimer::start
void start(void)
Definition:
IntervalTimerCommon.cpp:26
Os::IntervalTimer::IntervalTimer
IntervalTimer()
Constructor.
Definition:
IntervalTimer.cpp:5
Os
IntervalTimerCommon.cpp
Generated by
1.8.17