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);
double seconds()
void Stopwatch_delete(Stopwatch S)
void Stopwtach_reset(Stopwatch Q)
Stopwatch new_Stopwatch(void)
double last_time
Definition: Stopwatch.h:6
void Stopwatch_stop(Stopwatch Q)
void Stopwatch_start(Stopwatch Q)
double total
Definition: Stopwatch.h:7
struct Stopwatch Stopwatch_struct
void Stopwatch_resume(Stopwatch Q)
double Stopwatch_read(Stopwatch Q)
int running
Definition: Stopwatch.h:5