minor cosmetic changes

Change-Id: If148618105092923c869b99b8fabd9ce721c50dc


[ROCm/rocprofiler commit: b534d4513a]
This commit is contained in:
Evgeny
2019-12-31 20:56:53 -06:00
والد 423fec7691
کامیت ad2ba3a0cc
2فایلهای تغییر یافته به همراه16 افزوده شده و 16 حذف شده
@@ -199,6 +199,18 @@ hsa_status_t rocprofiler_close(rocprofiler_t* context); // [in] profiling conte
hsa_status_t rocprofiler_reset(rocprofiler_t* context, // [in] profiling context
uint32_t group_index); // group index
// Supported time value ID
typedef enum {
ROCPROFILER_TIME_ID_CLOCK_REALTIME = 0, // Linux realtime clock time
ROCPROFILER_TIME_ID_CLOCK_MONOTONIC = 1, // Linux monotonic clock time
} rocprofiler_time_id_t;
// Return time value for a given time ID and profiling timestamp
hsa_status_t rocprofiler_get_time(
rocprofiler_time_id_t time_id, // identifier of the particular time to convert the timesatmp
uint64_t timestamp, // profiling timestamp
uint64_t* value_ns); // [out] returned time 'ns' value
////////////////////////////////////////////////////////////////////////////////
// Queue callbacks
//
@@ -383,18 +395,6 @@ hsa_status_t rocprofiler_queue_create_profiled(
void* data, uint32_t private_segment_size, uint32_t group_segment_size,
hsa_queue_t** queue);
// Convert profiler time
typedef enum {
ROCPROFILER_TIME_ID_CLOCK_REALTIME = 0,
ROCPROFILER_TIME_ID_CLOCK_MONOTONIC = 1,
} rocprofiler_time_id_t;
// Return time for a given time ID and profiling timetsamp value
hsa_status_t rocprofiler_get_time(
rocprofiler_time_id_t time_id, // identifier of the particular time to convert the timesatmp
uint64_t value, // profiling timestamp value
uint64_t* time); // returned time
////////////////////////////////////////////////////////////////////////////////
// Profiling pool
//