Home
last modified time | relevance | path

Searched refs:n_counters (Results 1 – 20 of 20) 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.c482 qsort(q->counters, q->n_counters, sizeof(q->counters[0]), in sort_query()
569 query->data_size = sizeof(uint64_t) * query->n_counters; in load_pipeline_statistic_metrics()
638 max_counters += perf->queries[q].n_counters; in build_unique_counter_list()
648 perf->n_counters = 0; in build_unique_counter_list()
658 for (int c = 0; c < query->n_counters; c++) { in build_unique_counter_list()
670 assert(perf->n_counters < max_counters); in build_unique_counter_list()
672 counter_info = &counter_infos[perf->n_counters++]; in build_unique_counter_list()
687 sizeof(counter_infos[0]), perf->n_counters); in build_unique_counter_list()
689 qsort(perf->counter_infos, perf->n_counters, sizeof(perf->counter_infos[0]), in build_unique_counter_list()
878 assert(counter_indices[i] < perf->n_counters); in get_passes_mask()
[all …]
Dintel_perf_query.c716 const int n_counters = query->n_counters; in snapshot_statistics_registers() local
718 for (int i = 0; i < n_counters; i++) { in snapshot_statistics_registers()
1490 int n_counters = queryinfo->n_counters; in get_oa_counter_data() local
1493 for (int i = 0; i < n_counters; i++) { in get_oa_counter_data()
1535 int n_counters = queryinfo->n_counters; in get_pipeline_stats_data() local
1541 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.h228 int n_counters; member
322 int n_counters; member
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_monitor.c53 return perf_cfg->n_counters; in iris_get_monitor_info()
108 return perf_cfg->n_counters > 0; in iris_monitor_init_metrics()
137 info->max_active_queries = query->n_counters; in iris_get_monitor_group_info()
138 info->num_queries = query->n_counters; in iris_get_monitor_group_info()
184 assert(query_index <= perf_cfg->n_counters); in iris_create_monitor_object()
202 assert(current_query_index <= perf_cfg->n_counters); in iris_create_monitor_object()
Diris_performance_query.c145 uint32_t *n_counters, in iris_get_perf_query_info() argument
155 *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.py161 n_counters = 0
165 n_counters += category_counters_count
195 assert counter_id < n_counters
Dpan_perf.h73 uint32_t n_counters; member
Dquick.c37 for (unsigned j = 0; j < cat->n_counters; ++j) { in main()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_perfquery.c65 GLuint *n_counters, in st_GetPerfQueryInfo() argument
71 n_counters, n_active); in st_GetPerfQueryInfo()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_performance_query.c145 GLuint *n_counters, in brw_get_perf_query_info() argument
155 *n_counters = query->n_counters; in brw_get_perf_query_info()
/third_party/mesa3d/src/intel/vulkan/
Danv_perf.c352 for (int c = 0; c < (perf ? perf->n_counters : 0); c++) { in anv_EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR()
436 for (uint32_t c = 0; c < pool->n_counters; c++) { in anv_perf_write_pass_results()
DgenX_query.c182 pool->n_counters = perf_query_info->counterIndexCount; in genX()
Danv_private.h4640 uint32_t n_counters; member
/third_party/mesa3d/src/intel/ds/
Dintel_pps_driver.cc149 for (int i = 0; i < 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.c3967 uint32_t *n_counters, in tc_get_intel_perf_query_info() argument
3975 n_counters, n_active); in tc_get_intel_perf_query_info()