11 #ifndef MERCURY_TIME_H
12 #define MERCURY_TIME_H
14 #include "mercury_util_config.h"
102 HG_UTIL_EXPORT
char *
HG_UTIL_EXPORT int hg_time_less(hg_time_t in1, hg_time_t in2)
Compare time values.
HG_UTIL_EXPORT int hg_time_sleep(const hg_time_t rqt, hg_time_t *rmt)
Sleep until the time specified in rqt has elapsed.
HG_UTIL_EXPORT hg_time_t hg_time_subtract(hg_time_t in1, hg_time_t in2)
Subtract time values.
HG_UTIL_EXPORT char * hg_time_stamp(void)
Get a string containing current time/date stamp.
HG_UTIL_EXPORT double hg_time_to_double(hg_time_t tv)
Convert hg_time_t to double.
HG_UTIL_EXPORT hg_time_t hg_time_from_double(double d)
Convert double to hg_time_t.
HG_UTIL_EXPORT hg_time_t hg_time_add(hg_time_t in1, hg_time_t in2)
Add time values.
HG_UTIL_EXPORT int hg_time_get_current(hg_time_t *tv)
Get an elapsed time on the calling processor.