diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-22 20:05:10 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-23 07:25:59 +0000 |
commit | 374216eecdf05cfe0aa04b58cf54e675b4b8b795 (patch) | |
tree | ac0d8a1641928887e47d1b92aff50640838ef83d /tools | |
parent | fe9cf277f0975c9b5dceb83190a21535eb381903 (diff) |
igt/perf_pmu: Avoid underflow in measured_sleep()
Be careful not to underflow into a very large positive usec value and so
sleep forever^W until boredom kicks in.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions