SWDEV-391596: Moved counters output to the same line as dispatch info
Change-Id: I08076b4d4fd20cbb4632cf5cc18c4651caafe87c
[ROCm/rocprofiler commit: e078d3704c]
This commit is contained in:
کامیت شده توسط
Giovanni Baraldi
والد
0c2a2d4eff
کامیت
443b2d8779
@@ -355,7 +355,6 @@ class file_plugin_t {
|
||||
<< std::to_string(profiler_record->timestamps.end.value) << ")";
|
||||
|
||||
// For Counters
|
||||
*output_file << '\n';
|
||||
if (profiler_record->counters) {
|
||||
for (uint64_t i = 0; i < profiler_record->counters_count.value; i++) {
|
||||
if (profiler_record->counters[i].counter_handler.handle > 0) {
|
||||
@@ -369,11 +368,12 @@ class file_plugin_t {
|
||||
session_id, ROCPROFILER_COUNTER_NAME, profiler_record->counters[i].counter_handler,
|
||||
&name_c));
|
||||
*output_file << ", " << name_c << " ("
|
||||
<< std::to_string(profiler_record->counters[i].value.value) << ")\n";
|
||||
<< std::to_string(profiler_record->counters[i].value.value) << ')';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
*output_file << '\n';
|
||||
if (kernel_name_c) {
|
||||
free(const_cast<char*>(kernel_name_c));
|
||||
}
|
||||
|
||||
مرجع در شماره جدید
Block a user