blob: 6ae550af2c4b15a0cd1819146b16982c30635537 [file] [log] [blame]
akmhoque59980a52012-08-09 12:36:09 -05001#ifndef _UTILITY_H_
2#define _UTILITY_H_
3
4char * getLocalTimeStamp(void);
akmhoquec9286692012-08-16 09:57:58 -05005char * getGmTimeStamp(void);
akmhoquef71d9082012-08-22 12:51:53 -04006long int get_current_time_sec(void);
akmhoque03004e62012-09-06 01:12:28 -05007void get_current_timestamp_micro(char * microSec);
akmhoqueda5b6832012-09-13 22:33:55 -05008long int get_time_diff(const char *time1, const char *time2);
akmhoque53f64222012-09-05 13:57:51 -05009
akmhoquebfefef22012-09-26 10:09:34 -050010void startLogging(char *loggingDir);
11void writeLogg(const char *source_file, const char *function, const int line, const char *format, ...);
akmhoque59980a52012-08-09 12:36:09 -050012#endif