From deac3a055c29f06b9e516620c4416274800cf419 Mon Sep 17 00:00:00 2001 From: Harish Kasiviswanathan Date: Tue, 4 May 2021 21:55:52 -0400 Subject: [PATCH] Add timestamp resolution info in comments Specify that timestamp resolution is in ns in header file. Signed-off-by: Harish Kasiviswanathan Change-Id: I4db00a07c0b5c43ae23c98213f2fbbcf93110234 [ROCm/rocm_smi_lib commit: 14201290a2c6330c801a77043e3b288a5a033525] --- projects/rocm-smi-lib/include/rocm_smi/rocm_smi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocm-smi-lib/include/rocm_smi/rocm_smi.h b/projects/rocm-smi-lib/include/rocm_smi/rocm_smi.h index aecc4c776e..b7addfe521 100755 --- a/projects/rocm-smi-lib/include/rocm_smi/rocm_smi.h +++ b/projects/rocm-smi-lib/include/rocm_smi/rocm_smi.h @@ -1615,7 +1615,7 @@ rsmi_dev_power_ave_get(uint32_t dv_ind, uint32_t sensor_ind, uint64_t *power); * provided arguments. * * @param[inout] timestamp a pointer to uint64_t to which the timestamp - * will be written. + * will be written. Resolution: 1 ns. * * @retval ::RSMI_STATUS_SUCCESS call was successful * @retval ::RSMI_STATUS_NOT_SUPPORTED installed software or hardware does not @@ -2163,7 +2163,7 @@ rsmi_dev_busy_percent_get(uint32_t dv_ind, uint32_t *busy_percent); * * @param[in] count The size of @utilization_counters array. * - * @param[inout] timestamp The timestamp when the counter is retreived. + * @param[inout] timestamp The timestamp when the counter is retreived. Resolution: 1 ns. * @retval ::RSMI_STATUS_SUCCESS call was successful * @retval ::RSMI_STATUS_NOT_SUPPORTED installed software or hardware does not * support this function with the given arguments