File indexing completed on 2024-04-06 12:32:56
0001
0002 #include <time.h>
0003
0004 typedef struct {
0005 int running;
0006 double last_time;
0007 double total;
0008
0009 } *Stopwatch, Stopwatch_struct;
0010
0011 double seconds();
0012
0013 void Stopwtach_reset(Stopwatch Q);
0014
0015 Stopwatch new_Stopwatch(void);
0016 void Stopwatch_delete(Stopwatch S);
0017 void Stopwatch_start(Stopwatch Q);
0018 void Stopwatch_resume(Stopwatch Q);
0019 void Stopwatch_stop(Stopwatch Q);
0020 double Stopwatch_read(Stopwatch Q);