mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
tests/gem_wait_rendering_timeout: fix up the autotuner
duuh
This commit is contained in:
parent
95877ab9ce
commit
b711bfe54f
@ -47,7 +47,7 @@ static int64_t
|
||||
do_time_diff(struct timespec *end, struct timespec *start)
|
||||
{
|
||||
int64_t ret;
|
||||
ret = (NSEC_PER_MSEC * difftime(end->tv_sec, start->tv_sec)) +
|
||||
ret = (MSEC_PER_SEC * difftime(end->tv_sec, start->tv_sec)) +
|
||||
((end->tv_nsec/NSEC_PER_MSEC) - (start->tv_nsec/NSEC_PER_MSEC));
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user