JWM Source Documentation
timing.h
Go to the documentation of this file.
1 
10 #ifndef TIMING_H
11 #define TIMING_H
12 
14 #define ZERO_TIME { 0, 0 }
15 
17 typedef struct TimeType {
18 
19  unsigned long seconds;
20  int ms;
22 } TimeType;
23 
27 void GetCurrentTime(TimeType *t);
28 
35 unsigned long GetTimeDifference(const TimeType *t1, const TimeType *t2);
36 
44 const char *GetTimeString(const char *format, const char *zone);
45 
46 #endif /* TIMING_H */
47 

joewing.net / Projects / JWM