Home
last modified time | relevance | path

Searched refs:num_counters (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_query_hw_sm.c608 uint8_t num_counters; member
622 .num_counters = 1,
631 .num_counters = 1,
640 .num_counters = 1,
649 .num_counters = 1,
658 .num_counters = 1,
667 .num_counters = 1,
676 .num_counters = 1,
685 .num_counters = 1,
694 .num_counters = 1,
[all …]
/third_party/mesa3d/src/amd/common/
Dac_perfcounter.c44 .num_counters = 4,
71 .num_counters = 2,
97 .num_counters = 2,
123 .num_counters = 2,
148 .num_counters = 4,
173 .num_counters = 4,
196 .num_counters = 2,
212 .num_counters = 4,
231 .num_counters = 4,
259 .num_counters = 8,
[all …]
Dac_spm.c57 new_block_sel->num_counters = block->b->b->num_spm_counters; in ac_spm_get_block_select()
113 for (unsigned i = 0; i < block_sel->num_counters; i++) { in ac_spm_map_counter()
184 counter = &spm_trace->counters[spm_trace->num_counters]; in ac_spm_add_counter()
185 spm_trace->num_counters++; in ac_spm_add_counter()
217 unsigned num_counters, in ac_init_spm() argument
221 spm_trace->counters = CALLOC(num_counters, sizeof(*spm_trace->counters)); in ac_init_spm()
225 for (unsigned i = 0; i < num_counters; i++) { in ac_init_spm()
242 for (unsigned c = 0; c < spm_trace->num_counters; c++) { in ac_init_spm()
305 for (unsigned i = 0; i < spm_trace->num_counters; i++) { in ac_init_spm()
Dac_spm.h89 uint32_t num_counters; member
101 unsigned num_counters; member
117 unsigned num_counters,
Dac_perfcounter.h115 unsigned num_counters; member
Dac_rgp.c930 chunk->num_spm_counter_info = spm_trace->num_counters; in ac_sqtt_fill_spm_db()
965 spm_trace->num_counters * sizeof(struct sqtt_spm_counter_info); in ac_sqtt_dump_spm()
967 for (uint32_t c = 0; c < spm_trace->num_counters; c++) { in ac_sqtt_dump_spm()
985 for (uint32_t c = 0; c < spm_trace->num_counters; c++) { in ac_sqtt_dump_spm()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_perfcounter.c81 unsigned num_counters; member
97 unsigned num_counters; member
148 pc->emit_select(ctx, block, group->num_counters, group->selectors); in r600_pc_query_emit_start()
181 group->num_counters, group->selectors, in r600_pc_query_emit_stop()
183 va += sizeof(uint64_t) * group->num_counters; in r600_pc_query_emit_stop()
196 memset(result, 0, sizeof(result->batch[0]) * query->num_counters); in r600_pc_query_clear_result()
208 for (i = 0; i < query->num_counters; ++i) { in r600_pc_query_add_result()
323 query->num_counters = num_queries; in r600_create_batch_query()
344 if (group->num_counters >= block->num_counters) { in r600_create_batch_query()
350 group->selectors[group->num_counters] = sub_index; in r600_create_batch_query()
[all …]
Dr600_query.h241 unsigned num_counters; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_perfcounter.c38 unsigned num_counters; member
56 unsigned num_counters; member
104 assert(count <= regs->num_counters); in si_pc_emit_select()
321 si_pc_emit_select(sctx, block, group->num_counters, group->selectors); in si_pc_query_resume()
356 si_pc_emit_read(sctx, block, group->num_counters, va); in si_pc_query_suspend()
357 va += sizeof(uint64_t) * group->num_counters; in si_pc_query_suspend()
399 for (i = 0; i < query->num_counters; ++i) { in si_pc_query_add_result()
414 memset(result, 0, sizeof(result->batch[0]) * query->num_counters); in si_pc_query_get_result()
534 query->num_counters = num_queries; in si_create_batch_query()
555 if (group->num_counters >= block->b->b->num_counters) { in si_create_batch_query()
[all …]
/third_party/mesa3d/src/freedreno/perfcntrs/
Dfdperf.c216 assert(ctr < group->group->num_counters); in select_counter()
322 for (unsigned j = 0; j < group->group->num_counters; j++) { in resample()
483 if (j < group->group->num_counters) { in redraw()
489 for (; j < group->group->num_counters; j++) { in redraw()
526 if (j < group->group->num_counters) { in current_counter()
535 for (; j < group->group->num_counters; j++) { in current_counter()
729 for (unsigned j = 0; j < group->group->num_counters; j++) { in dump_counters()
764 for (; j < group->group->num_counters; j++) { in restore_counter_groups()
778 max_rows += group->group->num_counters + 1; in setup_counter_groups()
783 if (group->group->num_counters <= 1) in setup_counter_groups()
[all …]
Dfreedreno_perfcntr.h94 unsigned num_counters; member
119 .name = _name, .num_counters = ARRAY_SIZE(_counters), \
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_query_hw_sm.c111 uint8_t num_counters; member
174 if (screen->pm.num_hw_sm_active + cfg->num_counters > 4) { in nv50_hw_sm_begin_query()
179 assert(cfg->num_counters <= 4); in nv50_hw_sm_begin_query()
189 for (i = 0; i < cfg->num_counters; i++) { in nv50_hw_sm_begin_query()
291 for (i = 0; i < cfg->num_counters; i++) { in nv50_hw_sm_end_query()
320 for (c = 0; c < cfg->num_counters; ++c) { in nv50_hw_sm_query_read_data()
350 for (c = 0; c < cfg->num_counters; ++c) in nv50_hw_sm_get_query_result()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_monitor.c57 return monitor_cfg->num_counters; in crocus_get_monitor_info()
257 monitor_cfg->num_counters = crocus_monitor_id; in crocus_monitor_init_metrics()
258 return monitor_cfg->num_counters; in crocus_monitor_init_metrics()
344 assert(query_index <= monitor_cfg->num_counters); in crocus_create_monitor_object()
362 assert(current_query_index <= monitor_cfg->num_counters); in crocus_create_monitor_object()
Dcrocus_monitor.h37 int num_counters; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_perfcounter.c329 ASSERTED uint32_t num_counters = pdevice->num_perfcounters; in radv_get_counter_registers() local
340 assert(index < num_counters); in radv_get_counter_registers()
390 MAX2(passes_needed, DIV_ROUND_UP(block_reg_count, ac_block->b->b->num_counters)); in radv_get_num_counter_passes()
439 pool->num_counters = perf_info->counterIndexCount; in radv_pc_init_query_pool()
440 pool->counters = malloc(pool->num_counters * sizeof(struct radv_perfcounter_impl)); in radv_pc_init_query_pool()
446 for (unsigned i = 0; i < pool->num_counters; ++i) { in radv_pc_init_query_pool()
495 assert(count <= regs->num_counters); in radv_emit_select()
621 unsigned pass_reg_cnt = MIN2(cnt - offset, ac_block->b->b->num_counters); in radv_pc_stop_and_sample()
703 unsigned pass_reg_cnt = MIN2(cnt - offset, ac_block->b->b->num_counters); in radv_pc_begin_query()
834 for (unsigned i = 0; i < pc_pool->num_counters; ++i) { in radv_pc_get_results()
Dradv_spm.c83 for (unsigned c = 0; c < block_sel->num_counters; c++) { in radv_emit_spm_counters()
/third_party/node/src/crypto/
Dcrypto_aes.cc272 BignumPointer num_counters(BN_new()); in AES_CTR_Cipher() local
273 if (!BN_lshift(num_counters.get(), BN_value_one(), params.length)) in AES_CTR_Cipher()
285 if (BN_cmp(num_output.get(), num_counters.get()) > 0) in AES_CTR_Cipher()
290 num_counters.get(), in AES_CTR_Cipher()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_query.c92 assert(counter_idx < g->num_counters); in perfcntr_resume()
212 screen->perfcntr_groups[entry->gid].num_counters) { in fd2_create_batch_query()
/third_party/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt03.c67 p.repl.num_counters = 1; in run()
Dsetsockopt08.c131 ipt_replace->num_counters = 1; in run()
/third_party/benchmark/src/
Dperf_counters.h109 size_t num_counters() const { return counter_names_.size(); } in num_counters() function
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_query.c286 assert(counter_idx < g->num_counters); in perfcntr_resume()
420 screen->perfcntr_groups[entry->gid].num_counters) { in fd5_create_batch_query()
/third_party/mesa3d/src/mesa/main/
Dperformance_monitor.c358 int num_counters, num_groups; in init_groups() local
362 num_counters = screen->get_driver_query_info(screen, 0, NULL); in init_groups()
387 for (cid = 0; cid < num_counters; cid++) { in init_groups()
/third_party/mesa3d/src/freedreno/computerator/
Dmain.c144 if (enabled_counters[i] >= group->num_counters) { in setup_counter()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_query.c491 assert(counter_idx < g->num_counters); in perfcntr_resume()
625 screen->perfcntr_groups[entry->gid].num_counters) { in fd6_create_batch_query()

12