CMS 3D CMS Logo

Stopwatch.h
Go to the documentation of this file.
1 
2 #include <time.h>
3 
4 typedef struct {
5  int running; /* boolean */
6  double last_time;
7  double total;
8 
10 
11 double seconds();
12 
14 
20 double Stopwatch_read(Stopwatch Q);
Stopwatch::running
int running
Definition: Stopwatch.h:5
Stopwatch
Definition: Stopwatch.h:4
Stopwatch_delete
void Stopwatch_delete(Stopwatch S)
class-composition.Q
Q
Definition: class-composition.py:82
seconds
double seconds()
Stopwatch::last_time
double last_time
Definition: Stopwatch.h:6
Stopwatch_start
void Stopwatch_start(Stopwatch Q)
Stopwatch_stop
void Stopwatch_stop(Stopwatch Q)
Stopwtach_reset
void Stopwtach_reset(Stopwatch Q)
Stopwatch::total
double total
Definition: Stopwatch.h:7
Stopwatch_resume
void Stopwatch_resume(Stopwatch Q)
Stopwatch_read
double Stopwatch_read(Stopwatch Q)
S
Definition: CSCDBL1TPParametersExtended.h:16
Stopwatch_struct
struct Stopwatch Stopwatch_struct
new_Stopwatch
Stopwatch new_Stopwatch(void)