Home
last modified time | relevance | path

Searched refs:n_counters (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/intel/perf/
Dintel_perf_private.h46 assert(query->n_counters < query->max_counters); in intel_perf_query_add_stat_reg()
48 counter = &query->counters[query->n_counters]; in intel_perf_query_add_stat_reg()
53 counter->offset = sizeof(uint64_t) * query->n_counters; in intel_perf_query_add_stat_reg()
58 query->n_counters++; in intel_perf_query_add_stat_reg()
Dintel_perf.c493 qsort(q->counters, q->n_counters, sizeof(q->counters[0]), in sort_query()
580 query->data_size = sizeof(uint64_t) * query->n_counters; in load_pipeline_statistic_metrics()
649 max_counters += perf->queries[q].n_counters; in build_unique_counter_list()
659 perf->n_counters = 0; in build_unique_counter_list()
669 for (int c = 0; c < query->n_counters; c++) { in build_unique_counter_list()
681 assert(perf->n_counters < max_counters); in build_unique_counter_list()
683 counter_info = &counter_infos[perf->n_counters++]; in build_unique_counter_list()
698 sizeof(counter_infos[0]), perf->n_counters); in build_unique_counter_list()
700 qsort(perf->counter_infos, perf->n_counters, sizeof(perf->counter_infos[0]), in build_unique_counter_list()
897 assert(counter_indices[i] < perf->n_counters); in get_passes_mask()
[all …]
Dintel_perf_query.c711 const int n_counters = query->n_counters; in snapshot_statistics_registers() local
713 for (int i = 0; i < n_counters; i++) { in snapshot_statistics_registers()
1485 int n_counters = queryinfo->n_counters; in get_oa_counter_data() local
1488 for (int i = 0; i < n_counters; i++) { in get_oa_counter_data()
1530 int n_counters = queryinfo->n_counters; in get_pipeline_stats_data() local
1536 for (int i = 0; i < n_counters; i++) { in get_pipeline_stats_data()
Dintel_perf_mdapi.c192 query->data_size = sizeof(uint64_t) * query->n_counters; in intel_perf_register_mdapi_statistic_query()
202 struct intel_perf_query_counter *counter = &query->counters[query->n_counters]; in fill_mdapi_perf_query_counter()
204 assert(query->n_counters <= query->max_counters); in fill_mdapi_perf_query_counter()
212 query->n_counters++; in fill_mdapi_perf_query_counter()
Dintel_perf.h241 int n_counters; member
348 int n_counters; member
Dintel_perf_setup.h38 query->n_counters = 0; in intel_query_alloc()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_monitor.c53 return perf_cfg->n_counters; in iris_get_monitor_info()
121 return perf_cfg->n_counters > 0; in iris_monitor_init_metrics()
150 info->max_active_queries = query->n_counters; in iris_get_monitor_group_info()
151 info->num_queries = query->n_counters; in iris_get_monitor_group_info()
197 assert(query_index <= perf_cfg->n_counters); in iris_create_monitor_object()
215 assert(current_query_index <= perf_cfg->n_counters); in iris_create_monitor_object()
Diris_performance_query.c147 uint32_t *n_counters, in iris_get_perf_query_info() argument
157 *n_counters = info->n_counters; in iris_get_perf_query_info()
/third_party/mesa3d/src/panfrost/ds/
Dpan_pps_driver.cc42 if (counter_id < cat->n_counters) { in find_id_within_group()
45 counter_id -= cat->n_counters; in find_id_within_group()
65 for (; cid < category.n_counters; ++cid) { in create_available_counters()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_monitor.c216 gen_query_counters_count += perf_cfg->queries[gen_query_id].n_counters; in crocus_monitor_init_metrics()
228 counter < perf_cfg->queries[group].n_counters; in crocus_monitor_init_metrics()
239 existing_counter < perf_cfg->queries[existing_group].n_counters && !duplicate; in crocus_monitor_init_metrics()
295 info->max_active_queries = query->n_counters; in crocus_get_monitor_group_info()
296 info->num_queries = query->n_counters; in crocus_get_monitor_group_info()
/third_party/mesa3d/src/panfrost/perf/
Dpan_gen_perf.py159 n_counters = 0
163 n_counters += category_counters_count
194 assert counter_id < n_counters
Dpan_perf.h72 uint32_t n_counters; member
Dquick.c37 for (unsigned j = 0; j < cat->n_counters; ++j) { in main()
/third_party/mesa3d/src/intel/vulkan/
Danv_perf.c359 for (int c = 0; c < (perf ? perf->n_counters : 0); c++) { in anv_EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR()
443 for (uint32_t c = 0; c < pool->n_counters; c++) { in anv_perf_write_pass_results()
DgenX_query.c188 pool->n_counters = perf_query_info->counterIndexCount; in genX()
Danv_private.h4106 uint32_t n_counters; member
/third_party/mesa3d/src/intel/ds/
Dintel_pps_driver.cc113 for (int i = 0; i < selected_query->n_counters; ++i) { in init_perfcnt()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_context.h291 uint32_t *n_counters,
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_threaded_context.c4169 uint32_t *n_counters, in tc_get_intel_perf_query_info() argument
4177 n_counters, n_active); in tc_get_intel_perf_query_info()