diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-09-12 19:32:07 +0200 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2015-10-29 18:22:19 +0000 |
commit | 39b7e55ec7a348055bc7673f7cf1086f1cb9813d (patch) | |
tree | 08011295d5ea992fc5d9fef0e61640d1211e6e5e /server/utils.h | |
parent | 93414b23fa5d87ad94f1bd198dc3be0132d75a15 (diff) | |
download | spice-39b7e55ec7a348055bc7673f7cf1086f1cb9813d.tar.gz spice-39b7e55ec7a348055bc7673f7cf1086f1cb9813d.tar.xz spice-39b7e55ec7a348055bc7673f7cf1086f1cb9813d.zip |
Replace now() with get_mononotonic_time()
Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server/utils.h')
-rw-r--r-- | server/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/utils.h b/server/utils.h index ca8b7f1d..1ebc32fc 100644 --- a/server/utils.h +++ b/server/utils.h @@ -20,6 +20,8 @@ #include <time.h> +typedef int64_t red_time_t; + /* FIXME: consider g_get_monotonic_time (), but in microseconds */ static inline red_time_t red_get_monotonic_time(void) { |