• Home
  • Raw
  • Download

Lines Matching full:perf

31 #include "perf/intel_perf.h"
32 #include "perf/intel_perf_mdapi.h"
39 struct intel_perf_config *perf = intel_perf_new(NULL); in anv_physical_device_init_perf() local
41 intel_perf_init_metrics(perf, &device->info, fd, in anv_physical_device_init_perf()
45 if (!perf->n_queries) in anv_physical_device_init_perf()
49 * perf revision 2. in anv_physical_device_init_perf()
52 if (!intel_perf_has_hold_preemption(perf)) in anv_physical_device_init_perf()
56 device->perf = perf; in anv_physical_device_init_perf()
61 const struct intel_perf_query_field_layout *layout = &perf->query_layout; in anv_physical_device_init_perf()
88 intel_perf_free(perf); in anv_physical_device_init_perf()
138 if (intel_perf_has_metric_sync(device->physical->perf)) { in anv_device_perf_open()
143 ret = intel_perf_stream_open(device->physical->perf, device->fd, in anv_device_perf_open()
162 if (!device->physical->perf) in anv_InitializePerformanceApiINTEL()
176 if (!device->physical->perf) in anv_GetPerformanceParameterINTEL()
225 intel_perf_load_configuration(device->physical->perf, device->fd, in anv_AcquirePerformanceConfigurationINTEL()
233 intel_perf_store_configuration(device->physical->perf, device->fd, in anv_AcquirePerformanceConfigurationINTEL()
257 intel_perf_remove_configuration(device->physical->perf, device->fd, config->config_id); in anv_ReleasePerformanceConfigurationINTEL()
298 int ret = intel_perf_stream_set_metrics_id(device->physical->perf, in anv_QueueSetPerformanceConfigurationINTEL()
305 return vk_device_set_lost(&device->vk, "i915-perf config failed: %m"); in anv_QueueSetPerformanceConfigurationINTEL()
359 struct intel_perf_config *perf = pdevice->perf; in anv_EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR() local
376 for (int c = 0; c < (perf ? perf->n_counters : 0); c++) { in anv_EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR()
377 const struct intel_perf_query_counter *intel_counter = perf->counter_infos[c].counter; in anv_EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR()
411 struct intel_perf_config *perf = pdevice->perf; in anv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR() local
413 if (!perf) { in anv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR()
418 *pNumPasses = intel_perf_get_n_passes(perf, in anv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR()
429 struct intel_perf_config *perf = device->physical->perf; in anv_AcquireProfilingLockKHR() local
430 struct intel_perf_query_info *first_metric_set = &perf->queries[0]; in anv_AcquireProfilingLockKHR()
458 anv_perf_write_pass_results(struct intel_perf_config *perf, in anv_perf_write_pass_results() argument
484 counter_pass->counter->oa_counter_read_uint64(perf, in anv_perf_write_pass_results()
490 counter_pass->counter->oa_counter_read_float(perf, in anv_perf_write_pass_results()