aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-06-17 14:09:16 +0100
committerChris Wilson <[email protected]>2020-06-18 09:26:54 +0100
commit810b7ee3008ab2ac94791f75857815484c2f9cce (patch)
tree85ff11b677567a5670ccd63e5ba00a1d22994c81 /lib/mpi/mpi-cmp.c
parent1b90e4a43b7444fc4159c6dd338a44e8808e8718 (diff)
drm/i915/gt: Always report the sample time for busy-stats
Return the monotonic timestamp (ktime_get()) at the time of sampling the busy-time. This is used in preference to taking ktime_get() separately before or after the read seqlock as there can be some large variance in reported timestamps. For selftests trying to ascertain that we are reporting accurate to within a few microseconds, even a small delay leads to the test failing. Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions