mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 07:08:05 +02:00
intel/perf: Show type, data type and units in intel_perf_query_layout
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41623>
This commit is contained in:
parent
3628d6e532
commit
3f8a083f28
1 changed files with 5 additions and 2 deletions
|
|
@ -42,8 +42,11 @@ print_metric_set(const struct intel_perf_query_info *metric_set)
|
|||
{
|
||||
for (uint32_t c = 0; c < metric_set->n_counters; c++) {
|
||||
const struct intel_perf_query_counter *counter = &metric_set->counters[c];
|
||||
fprintf(stdout, " %s: offset=%zx/0x%zx name=%s\n",
|
||||
counter->symbol_name, counter->offset, counter->offset, counter->name);
|
||||
fprintf(stdout, " %s: offset=%zx/0x%zx name=%s [%s, %s, %s]\n",
|
||||
counter->symbol_name, counter->offset, counter->offset, counter->name,
|
||||
intel_perf_counter_type_name(counter->type),
|
||||
intel_perf_counter_data_type_name(counter->data_type),
|
||||
intel_perf_counter_units_name(counter->units));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue