diff options
Diffstat (limited to 'src/gallium/auxiliary/os/os_time.h')
-rw-r--r-- | src/gallium/auxiliary/os/os_time.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/os/os_time.h b/src/gallium/auxiliary/os/os_time.h index 7e0f67a76b0..54101a1f546 100644 --- a/src/gallium/auxiliary/os/os_time.h +++ b/src/gallium/auxiliary/os/os_time.h @@ -58,6 +58,13 @@ os_time_get(void); /* + * Get the current time in nanoseconds from an unknown base. + */ +uint64_t +os_time_get_nano(void); + + +/* * Sleep. */ #if defined(PIPE_OS_UNIX) |