JWM Source Documentation

timing.h
Go to the documentation of this file.
00001 
00010 #ifndef TIMING_H
00011 #define TIMING_H
00012 
00014 #define ZERO_TIME { 0, 0 }
00015 
00017 typedef struct TimeType {
00018 
00019    unsigned long seconds;  
00020    int ms;                 
00022 } TimeType;
00023 
00027 void GetCurrentTime(TimeType *t);
00028 
00035 unsigned long GetTimeDifference(const TimeType *t1, const TimeType *t2);
00036 
00044 const char *GetTimeString(const char *format, const char *zone);
00045 
00046 #endif /* TIMING_H */
00047