11 #ifndef __SYS_TIME_H_INCLUDED__
12 #define __SYS_TIME_H_INCLUDED__
25 #define timegm _mkgmtime
60 return fpreal64(end.tv_sec - start.tv_sec) +
61 1.0e-6 * (end.tv_usec - start.tv_usec);
64 #endif // __SYS_TIME_H_INCLUDED__
struct timeval SYS_TimeVal
fpreal64 SYStimeDiff(const SYS_TimeVal &end, const SYS_TimeVal &start)
SYS_API int SYSgettimeofday(SYS_TimeVal *tval)
SYS_API time_t SYSclock()
SYS_API void SYSrusage(SYS_TimeVal &user, SYS_TimeVal &sys)