diff options
Diffstat (limited to 'timer/include/timer.h')
-rw-r--r-- | timer/include/timer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/timer/include/timer.h b/timer/include/timer.h index 0274c69..a8a3f8b 100644 --- a/timer/include/timer.h +++ b/timer/include/timer.h | |||
@@ -44,6 +44,9 @@ double time_delta_to_sec(time_delta dt); | |||
44 | /// Convert the time elapsed in seconds to a time delta. | 44 | /// Convert the time elapsed in seconds to a time delta. |
45 | time_delta sec_to_time_delta(double seconds); | 45 | time_delta sec_to_time_delta(double seconds); |
46 | 46 | ||
47 | /// Convert the time point to nanoseconds. | ||
48 | uint64_t time_point_to_ns(time_point); | ||
49 | |||
47 | /// Put the caller thread to sleep for the given amount of time. | 50 | /// Put the caller thread to sleep for the given amount of time. |
48 | void time_sleep(time_delta dt); | 51 | void time_sleep(time_delta dt); |
49 | 52 | ||