mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
gallium/util: comments for time-related functions
This commit is contained in:
parent
99f1e32fad
commit
5460da5436
1 changed files with 9 additions and 0 deletions
|
|
@ -74,14 +74,23 @@ struct util_time
|
|||
void
|
||||
util_time_get(struct util_time *t);
|
||||
|
||||
/**
|
||||
* Return t2 = t1 + usecs
|
||||
*/
|
||||
void
|
||||
util_time_add(const struct util_time *t1,
|
||||
int64_t usecs,
|
||||
struct util_time *t2);
|
||||
|
||||
/**
|
||||
* Return current time in microseconds
|
||||
*/
|
||||
uint64_t
|
||||
util_time_micros( void );
|
||||
|
||||
/**
|
||||
* Return difference between times, in microseconds
|
||||
*/
|
||||
int64_t
|
||||
util_time_diff(const struct util_time *t1,
|
||||
const struct util_time *t2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue