TDMS
Time Domain Maxwell Solver
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
y
z
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
Variables
a
c
d
f
i
j
k
m
n
r
s
x
y
z
Files
File List
File Members
All
a
b
c
d
f
i
m
n
p
s
t
v
Functions
Variables
Typedefs
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Macros
Pages
Loading...
Searching...
No Matches
timer.h
Go to the documentation of this file.
1
/**
2
* @file timer.h
3
* @brief Class wrapper for timing with OpenMP's wall timing.
4
*/
5
6
/**
7
* @brief Stopwatch class.
8
*/
9
class
Timer
{
10
11
double
start_time;
//< start time in seconds
12
double
end_time;
//< end time in seconds
13
14
public
:
15
/** Starts the stopwatch */
16
void
start
();
17
/** Stops the stopwatch */
18
void
end
();
19
/** Log the difference in time and reset the timer */
20
void
click
();
21
/** Time difference */
22
double
delta_seconds
()
const
;
23
};
9
class
Timer
{
…
};
Timer
Stopwatch class.
Definition
timer.h:9
Timer::start
void start()
Definition
timer.cpp:8
Timer::delta_seconds
double delta_seconds() const
Definition
timer.cpp:12
Timer::click
void click()
Definition
timer.cpp:14
Timer::end
void end()
Definition
timer.cpp:10
tdms
include
timer.h
Generated by
1.9.8