library/utility/time.cc

Defines

SCARAB_API_EXPORTS
namespace scarab

The standard scarab namespace.

Functions

SCARAB_API int get_time_monotonic(struct timespec * time)
SCARAB_API int get_time_current(struct timespec * time)
SCARAB_API time_nsec_type time_to_nsec(struct timespec time)
SCARAB_API double time_to_sec(struct timespec time)
SCARAB_API void time_diff(struct timespec start, struct timespec end, struct timespec * diff)
SCARAB_API size_t get_time_absolute_str(char * ptr)
SCARAB_API std::string get_absolute_time_string()

Variables

SCARAB_API char date_time_format = “%Y-%m-%dT%H:%M:%SZ”