CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
12 
13 double seconds();
14 
16 
22 double Stopwatch_read(Stopwatch Q);
23 
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