| /xsrc/external/mit/MesaLib/dist/src/panfrost/ds/ |
| H A D | pan_pps_driver.cc | 55 auto &[groups, counters] = ret; 71 counter.name = category.counters[id_within_group].name; 77 const auto counter = &perf->cfg->categories[c.group].counters[id_within_group]; 81 group.counters.push_back(cid); 83 counters.emplace_back(counter); 100 if (groups.empty() && counters.empty()) { 101 std::tie(groups, counters) = create_available_counters(*perf); 108 enabled_counters.push_back(counters[counter_id]); 113 enabled_counters.resize(counters.size()); 114 for (size_t i = 0; i < counters [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_perfcntr.h | 34 * groups of performance counters where each group has N counters, which can 46 /* Optional, most counters don't have enable/clear registers: */ 66 const struct fd_perfcntr_counter *counters; member in struct:fd_perfcntr_group
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_cb_perfmon.h | 62 struct st_perf_monitor_counter *counters; member in struct:st_perf_monitor_group
|
| H A D | st_cb_perfmon.c | 25 * Performance monitoring counters interface to gallium. 54 /* Determine the number of active counters. */ 60 /* Maximum number of counters reached. Cannot start the session. */ 62 debug_printf("Maximum number of counters reached. " 94 const struct st_perf_monitor_counter *stc = &stg->counters[cid]; 279 * active counter. The API allows counters to appear in any order. 371 struct gl_perf_monitor_counter *counters = NULL; local in function:st_InitPerfMonitorGroups 381 counters = CALLOC(group_info.num_queries, sizeof(*counters)); 382 if (!counters) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| H A D | st_cb_perfmon.h | 62 struct st_perf_monitor_counter *counters; member in struct:st_perf_monitor_group
|
| H A D | st_cb_perfmon.c | 25 * Performance monitoring counters interface to gallium. 54 /* Determine the number of active counters. */ 60 /* Maximum number of counters reached. Cannot start the session. */ 62 debug_printf("Maximum number of counters reached. " 93 const struct st_perf_monitor_counter *stc = &stg->counters[cid]; 278 * active counter. The API allows counters to appear in any order. 370 struct gl_perf_monitor_counter *counters = NULL; local in function:st_InitPerfMonitorGroups 380 counters = CALLOC(group_info.num_queries, sizeof(*counters)); 381 if (!counters) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/computerator/ |
| H A D | main.c | 116 " -p, --perfcntr=LIST sample specified performance counters " 126 /* Track enabled counters per group: */ 145 errx(-1, "Too many counters selected in group: %s", group->name); 149 const struct fd_perfcntr_counter *counter = &group->counters[idx]; 173 struct perfcntr *counters = NULL; local in function:parse_perfcntrs 186 counters = realloc(counters, ++cnt * sizeof(counters[0])); 187 setup_counter(name, &counters[cnt - 1]); 191 counters [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/ |
| H A D | aco_insert_waitcnt.cpp | 50 * - or erase gprs with counters higher than to be waited for. 111 uint8_t counters; /* use counter_type notion */ member in struct:aco::__anondaf24d380110::wait_entry 118 : imm(imm_), events(event_), counters(get_counters_for_event(event_)), 125 bool changed = (other.events & ~events) || (other.counters & ~counters) || 130 counters |= other.counters; 141 counters &= ~counter; 166 if (!(counters & counter_lgkm) && !(counters 472 update_barrier_imm(wait_ctx & ctx,uint8_t counters,wait_event event,memory_sync_info sync) argument 503 uint8_t counters = get_counters_for_event(event); local in function:aco::__anondaf24d380110::update_counters 573 uint16_t counters = get_counters_for_event(event); local in function:aco::__anondaf24d380110::insert_wait_entry [all...] |
| /xsrc/external/mit/MesaLib/src/intel/perf/ |
| H A D | intel_perf_metrics.c | [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| H A D | crocus_monitor.h | 38 struct crocus_monitor_counter *counters; member in struct:crocus_monitor_config
|
| H A D | crocus_monitor.c | 61 const int group = monitor_cfg->counters[index].group; 62 const int counter_index = monitor_cfg->counters[index].counter; 64 &perf_cfg->queries[group].counters[counter_index]; 219 monitor_cfg->counters = rzalloc_size(monitor_cfg, 222 if (unlikely(!monitor_cfg->counters)) 242 perf_cfg->queries[group].counters[counter].name; 244 perf_cfg->queries[existing_group].counters[existing_counter].name; 252 monitor_cfg->counters[crocus_monitor_id].group = group; 253 monitor_cfg->counters[crocus_monitor_id].counter = counter; 262 free(monitor_cfg->counters); [all...] |
| /xsrc/external/mit/MesaLib.old/src/intel/perf/ |
| H A D | gen_perf_metrics.c | [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| H A D | r600_gpu_load.c | 33 * Then, the user can sample the counters twice and calculate the average 77 p_atomic_inc(&counters->named.field.busy); \ 79 p_atomic_inc(&counters->named.field.idle); \ 83 union r600_mmio_counters *counters) 138 /* Update the counters. */ 183 * If no counters were incremented, return the current counter status. 185 * the counters are updated. 190 union r600_mmio_counters counters; local in function:r600_end_mmio_counter 192 memset(&counters, 0, sizeof(counters)); 82 r600_update_mmio_counters(struct r600_common_screen * rscreen,union r600_mmio_counters * counters) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_gpu_load.c | 31 * Then, the user can sample the counters twice and calculate the average 75 p_atomic_inc(&counters->named.field.busy); \ 77 p_atomic_inc(&counters->named.field.idle); \ 81 union si_mmio_counters *counters) 156 /* Update the counters. */ 201 * If no counters were incremented, return the current counter status. 203 * the counters are updated. 208 union si_mmio_counters counters; local in function:si_end_mmio_counter 210 memset(&counters, 0, sizeof(counters)); 80 si_update_mmio_counters(struct si_screen * sscreen,union si_mmio_counters * counters) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/perf/ |
| H A D | intel_perf_private.h | 48 counter = &query->counters[query->n_counters]; 83 query->counters =
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/ |
| H A D | r600_gpu_load.c | 33 * Then, the user can sample the counters twice and calculate the average 77 p_atomic_inc(&counters->named.field.busy); \ 79 p_atomic_inc(&counters->named.field.idle); \ 83 union r600_mmio_counters *counters) 138 /* Update the counters. */ 183 * If no counters were incremented, return the current counter status. 185 * the counters are updated. 190 union r600_mmio_counters counters; local in function:r600_end_mmio_counter 192 memset(&counters, 0, sizeof(counters)); 82 r600_update_mmio_counters(struct r600_common_screen * rscreen,union r600_mmio_counters * counters) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_gpu_load.c | 31 * Then, the user can sample the counters twice and calculate the average 75 p_atomic_inc(&counters->named.field.busy); \ 77 p_atomic_inc(&counters->named.field.idle); \ 80 static void si_update_mmio_counters(struct si_screen *sscreen, union si_mmio_counters *counters) argument 153 /* Update the counters. */ 195 * If no counters were incremented, return the current counter status. 197 * the counters are updated. 202 union si_mmio_counters counters; local in function:si_end_mmio_counter 204 memset(&counters, 0, sizeof(counters)); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/perfcntrs/ |
| H A D | freedreno_perfcntr.h | 40 * groups of performance counters where each group has N counters, which can 52 /* Optional, most counters don't have enable/clear registers: */ 95 const struct fd_perfcntr_counter *counters; member in struct:fd_perfcntr_group 120 .counters = _counters, .num_countables = ARRAY_SIZE(_countables), \
|
| /xsrc/external/mit/MesaLib/dist/src/intel/ds/ |
| H A D | intel_pps_driver.cc | 36 auto &counter = counters[counter_id]; 61 for (uint32_t counter_id : group.counters) { 62 auto &counter = counters[counter_id]; 150 intel_perf_query_counter &counter = query->counters[i]; 154 counter_desc.id = counters.size(); 175 group.counters.emplace_back(counter_desc.id); 178 counters.emplace_back(std::move(counter_desc)); 186 assert(counters.size() && "Failed to query counters"); 237 counters [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/perf/ |
| H A D | pan_perf.h | 63 // Offset of this counter's value within the counters memory block 72 struct panfrost_perf_counter counters[PAN_PERF_MAX_COUNTERS]; member in struct:panfrost_perf_category
|
| H A D | pan_gen_perf.py | 70 self.counters = [] 72 self.counters.append(Counter(self, xml_counter)) 163 category_counters_count = len(category.counters) 188 c.write(".n_counters = %u," % (len(category.counters))) 189 c.write(".counters = {") 192 for j in range(0, len(category.counters)): 193 counter = category.counters[j] 212 c.write("}, // counters")
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/perf/ |
| H A D | gen_perf.h | 71 * 1 timestamp, 45 A counters, 8 B counters and 8 C counters. 73 * 1 timestamp, 1 clock, 36 A counters, 8 B counters and 8 C counters 79 * Storage for the final accumulated OA counters. 138 struct gen_perf_query_counter *counters; member in struct:gen_perf_query_info 170 * counters, e.g in the normalization equations. 231 query->counters [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ds/ |
| H A D | fd_pps_driver.cc | 34 group.name = "counters"; 36 counters.clear(); 54 * And then setup the derived counters that we are exporting to 85 // TODO add more.. see https://gpuinspector.dev/docs/gpu-counters/qualcomm 154 PERFETTO_FATAL("No hw counters available"); 192 enabled_counters.push_back(counters[counter_id]); 198 enabled_counters.reserve(counters.size()); 199 for (auto &counter : counters) { 266 * get muxed to which counters 348 d->state[id].counter = &g->counters[ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/tool/pps/ |
| H A D | pps_datasource.cc | 62 // Get enabled counters 63 PPS_LOG_IMPORTANT("Selecting counters"); 69 // Enable all counters 144 dsd.set_name("gpu.counters." + driver_name); 153 if (!group.counters.empty()) { 154 // Define a block for each group containing counters 159 // Associate counters to blocks 160 for (auto id : group.counters) { 174 std::vector<Counter> const &counters, 185 // Add the counters 172 add_descriptors(perfetto::protos::pbzero::GpuCounterEvent * event,std::vector<CounterGroup> const & groups,std::vector<Counter> const & counters,Driver & driver) argument 255 auto &counters = driver->enabled_counters; local in function:pps::GpuDataSource::trace [all...] |
| /xsrc/external/mit/MesaLib/dist/docs/ |
| H A D | perfetto.rst | 18 GPU performance (frequency, utilization, performance counters, etc) on the 22 counters. 35 - ``gpu.counters.msm`` 38 - ``gpu.counters.msm`` 41 - ``gpu.counters.i915`` 44 - ``gpu.counters.panfrost`` 92 performance counters, so you can simply run it with sudo: 103 performance counters, so you can simply run it with sudo: 157 If the trace viewer shows a list of counters with a description like
|