1 2 3 4 5 6 7 8 9 10
#ifndef UTIL_LINUX_MONOTONIC_H #define UTIL_LINUX_MONOTONIC_H #include <sys/time.h> extern int get_boot_time(struct timeval *boot_time); extern int gettime_monotonic(struct timeval *tv); #endif /* UTIL_LINUX_MONOTONIC_H */