summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/therm/thrmpmu.c
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2017-06-15 03:58:32 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-19 11:35:04 -0400
commit571c7c2fb37176671d55f004df4ed1055f7e8cb1 (patch)
treeea249cf7e46a86bb5b70f6478886b8b45ccc6e01 /drivers/gpu/nvgpu/therm/thrmpmu.c
parentd84d7f8694562628e1ab41fd09d08b68f59e0b30 (diff)
gpu: nvgpu: add a simple time API
Add nvgpu_current_time_ms() to return a time from a monotonic clock source in milliseconds. The start time is unspecified; this API is meant to be used for duration measurements. Jira NVGPU-83 Change-Id: I135c8ee88283149422a68d5fa859241eebbd6459 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/1503001 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmpmu.c')
0 files changed, 0 insertions, 0 deletions