aboutsummaryrefslogtreecommitdiff
path: root/timer/include
diff options
context:
space:
mode:
Diffstat (limited to 'timer/include')
-rw-r--r--timer/include/timer.h3
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.
45time_delta sec_to_time_delta(double seconds); 45time_delta sec_to_time_delta(double seconds);
46 46
47/// Convert the time point to nanoseconds.
48uint64_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.
48void time_sleep(time_delta dt); 51void time_sleep(time_delta dt);
49 52