diff options
author | Keith Whitwell <[email protected]> | 2008-09-01 14:23:47 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-09-01 14:24:33 +0100 |
commit | c118c654fa238f983f1550149466727fa81e51ab (patch) | |
tree | 1a22d6dbc95ace7c09441513537881fa3a835667 /src/gallium/auxiliary/util/u_time.h | |
parent | a4d04d71a46c88c5cbe08336111267ae9d0b7f11 (diff) |
util: add func to return time as uint64 microseconds
Diffstat (limited to 'src/gallium/auxiliary/util/u_time.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_time.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_time.h b/src/gallium/auxiliary/util/u_time.h index f9963ce0e27..35d97d16c73 100644 --- a/src/gallium/auxiliary/util/u_time.h +++ b/src/gallium/auxiliary/util/u_time.h @@ -74,6 +74,9 @@ util_time_add(const struct util_time *t1, int64_t usecs, struct util_time *t2); +uint64_t +util_time_micros( void ); + int64_t util_time_diff(const struct util_time *t1, const struct util_time *t2); |