[AFAR VII] rocprofiler_sample_device_counting_service return data as part of API call (#57)
--------- Co-authored-by: Benjamin Welton <bewelton@amd.com> Co-authored-by: Benjamin Welton <ben@amd.com>
这个提交包含在:
8 个文件已更改
+140
-54
没有与搜索条件相匹配的文件
@@ -289,8 +289,11 @@ tool_init(rocprofiler_client_finalize_t, void* user_data)
|
||||
rocprofiler_start_context(get_client_ctx());
|
||||
while(exit_toggle().load() == false)
|
||||
{
|
||||
rocprofiler_sample_device_counting_service(
|
||||
get_client_ctx(), {.value = count}, ROCPROFILER_COUNTER_FLAG_NONE);
|
||||
rocprofiler_sample_device_counting_service(get_client_ctx(),
|
||||
{.value = count},
|
||||
ROCPROFILER_COUNTER_FLAG_NONE,
|
||||
nullptr,
|
||||
nullptr);
|
||||
count++;
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户