diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-05-17 08:33:29 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-05-24 07:37:34 -0400 |
commit | d914e662aef07cc2c3c58971ad21a9cc5fa0ce4d (patch) | |
tree | 278da21d3c562b837a6d01a8c85f90ee2b8e72a9 /include | |
parent | a4d1a4830e13caecf5f39f15a716f3bd63f37c34 (diff) |
gpu: nvgpu: use nvgpu_current_time_ns in submit profiling
Replace Linux-specific and dubious sched_clock() with common
nvgpu_current_time_ns(). sched_clock() used also nanoseconds.
Jira NVGPU-708
Change-Id: I70f992fe42cc9c3ffed374fdebd582867475e84f
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1723202
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions