Lines Matching refs:perf
31 #include "perf/intel_perf.h"
32 #include "perf/intel_perf_mdapi.h"
41 device->perf = NULL;
49 struct intel_perf_config *perf = intel_perf_new(NULL);
51 intel_perf_init_metrics(perf, &device->info, fd,
55 if (!perf->n_queries)
59 * perf revision 2.
62 if (!intel_perf_has_hold_preemption(perf))
66 device->perf = perf;
71 const struct intel_perf_query_field_layout *layout = &perf->query_layout;
97 ralloc_free(perf);
134 * Gfx11 for instance we use the full EU array. Initially when perf was
141 if (intel_perf_has_global_sseu(device->physical->perf) &&
144 properties[p++] = (uintptr_t) &device->physical->perf->sseu;
164 if (!device->physical->perf)
178 if (!device->physical->perf)
227 intel_perf_load_configuration(device->physical->perf, device->fd,
235 intel_perf_store_configuration(device->physical->perf, device->fd,
285 return vk_device_set_lost(&device->vk, "i915-perf config failed: %m");
342 struct intel_perf_config *perf = pdevice->perf;
359 for (int c = 0; c < (perf ? perf->n_counters : 0); c++) {
360 const struct intel_perf_query_counter *intel_counter = perf->counter_infos[c].counter;
391 struct intel_perf_config *perf = pdevice->perf;
393 if (!perf) {
398 *pNumPasses = intel_perf_get_n_passes(perf,
409 struct intel_perf_config *perf = device->physical->perf;
410 struct intel_perf_query_info *first_metric_set = &perf->queries[0];
438 anv_perf_write_pass_results(struct intel_perf_config *perf,
462 counter_pass->counter->oa_counter_read_uint64(perf,
468 counter_pass->counter->oa_counter_read_float(perf,