| /xsrc/external/mit/MesaLib/dist/src/tool/pps/ |
| pps_driver.h | 56 /// @brief Initialize performance counters data such as groups and counters 60 /// @brief Enables performance counters, meaning that from now on they can be sampled 63 /// @brief Disables performance counters on the device 66 /// @brief Asking the GPU to dump performance counters could have different meanings 67 /// depending on the concrete driver. Some could just ask the GPU to dump counters to a 73 /// @brief After dumping performance counters, with this function you can iterate 83 /// List of counters exposed by the GPU 84 std::vector<Counter> counters; member in class:pps::Driver 86 /// List of counters that are actually enable [all...] |
| pps_counter.h | 24 /// List of counters ID belonging to this group 25 std::vector<int32_t> counters; member in struct:pps::CounterGroup 47 /// @param d Driver used to sample performance counters 64 /// @brief d Driver used to sample performance counters 78 /// For derived counters it is negative and remains unused 97 /// @brief d Driver used to sample performance counters
|
| 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 255 auto &counters = driver->enabled_counters; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| crocus_monitor.h | 38 struct crocus_monitor_counter *counters; member in struct:crocus_monitor_config
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_cb_perfmon.h | 62 struct st_perf_monitor_counter *counters; member in struct:st_perf_monitor_group
|
| 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. 296 type = ctx->PerfMonitor.Groups[gid].Counters[cid].Type; 370 struct gl_perf_monitor_counter *counters = NULL; local 380 counters = CALLOC(group_info.num_queries, sizeof(*counters)); [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| 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/ |
| st_cb_perfmon.h | 62 struct st_perf_monitor_counter *counters; member in struct:st_perf_monitor_group
|
| 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. 297 type = ctx->PerfMonitor.Groups[gid].Counters[cid].Type; 371 struct gl_perf_monitor_counter *counters = NULL; local 381 counters = CALLOC(group_info.num_queries, sizeof(*counters)); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/perfcntrs/ |
| 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/panfrost/perf/ |
| 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
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/computerator/ |
| 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 186 counters = realloc(counters, ++cnt * sizeof(counters[0])); 187 setup_counter(name, &counters[cnt - 1]); 191 counters = realloc(counters, ++cnt * sizeof(counters[0])) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/ |
| 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 192 memset(&counters, 0, sizeof(counters)); [all...] |
| r600_perfcounter.c | 33 /* Max counters per HW block */ 98 struct r600_pc_counter *counters; member in struct:r600_query_pc 113 FREE(query->counters); 209 struct r600_pc_counter *counter = &query->counters[i]; 391 query->counters = CALLOC(num_queries, sizeof(*query->counters)); 393 struct r600_pc_counter *counter = &query->counters[i]; 605 unsigned counters, unsigned selectors, 610 assert(counters <= R600_QUERY_MAX_COUNTERS); 614 block->num_counters = counters; [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| 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) 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 204 memset(&counters, 0, sizeof(counters)); [all...] |
| si_perfcounter.c | 57 struct si_query_counter *counters; member in struct:si_query_pc 73 /* TODO: Expose counters from each shader array separately if needed. */ 108 /* Fake counters. */ 178 if (regs->counters) 179 reg = regs->counters[idx]; 192 /* Fake counters. */ 217 FREE(query->counters); 343 struct si_query_counter *counter = &query->counters[i]; 536 query->counters = CALLOC(num_queries, sizeof(*query->counters)); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/ |
| wsi_common.c | 409 struct wsi_surface_supported_counters counters = { local 417 .pNext = &counters, 436 ext_caps->supportedSurfaceCounters = counters.supported_surface_counters;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| 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 192 memset(&counters, 0, sizeof(counters)); [all...] |
| r600_perfcounter.c | 33 /* Max counters per HW block */ 98 struct r600_pc_counter *counters; member in struct:r600_query_pc 113 FREE(query->counters); 209 struct r600_pc_counter *counter = &query->counters[i]; 391 query->counters = CALLOC(num_queries, sizeof(*query->counters)); 393 struct r600_pc_counter *counter = &query->counters[i]; 605 unsigned counters, unsigned selectors, 610 assert(counters <= R600_QUERY_MAX_COUNTERS); 614 block->num_counters = counters; [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| 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 210 memset(&counters, 0, sizeof(counters)); [all...] |
| /xsrc/external/mit/freetype/dist/src/pshinter/ |
| pshrec.h | 103 /* masks and counters table descriptor */ 118 PS_Mask_TableRec counters; member in struct:PS_DimensionRec_
|
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/ |
| 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::__anon466::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 & counter_vm) 503 uint8_t counters = get_counters_for_event(event); local 573 uint16_t counters = get_counters_for_event(event); local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/vulkan/wsi/ |
| wsi_common.c | 850 struct wsi_surface_supported_counters counters = { local 858 .pNext = &counters, 877 ext_caps->supportedSurfaceCounters = counters.supported_surface_counters;
|
| /xsrc/external/mit/MesaLib/dist/src/amd/common/ |
| ac_perfcounter.h | 34 /* Max counters per HW block */ 121 unsigned *counters; member in struct:ac_pc_block_base
|
| /xsrc/external/mit/MesaLib/dist/src/broadcom/simulator/ |
| v3d_simulator.c | 134 uint8_t counters[DRM_V3D_MAX_PERF_COUNTERS]; member in struct:v3d_simulator_perfmon 425 perfmon->counters); 634 if (args->counters[i] >= V3D_PERFCNT_NUM) { 638 perfmon->counters[i] = args->counters[i];
|