Home
last modified time | relevance | path

Searched refs:counter_idx (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_query.c91 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_resume() local
93 debug_assert(counter_idx < g->num_counters); in perfcntr_resume()
95 OUT_PKT0(ring, g->counters[counter_idx].select_reg, 1); in perfcntr_resume()
105 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_resume() local
106 const struct fd_perfcntr_counter *counter = &g->counters[counter_idx]; in perfcntr_resume()
132 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_pause() local
133 const struct fd_perfcntr_counter *counter = &g->counters[counter_idx]; in perfcntr_pause()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_query.c288 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_resume() local
290 debug_assert(counter_idx < g->num_counters); in perfcntr_resume()
292 OUT_PKT4(ring, g->counters[counter_idx].select_reg, 1); in perfcntr_resume()
302 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_resume() local
303 const struct fd_perfcntr_counter *counter = &g->counters[counter_idx]; in perfcntr_resume()
330 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_pause() local
331 const struct fd_perfcntr_counter *counter = &g->counters[counter_idx]; in perfcntr_pause()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_query.c481 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_resume() local
483 debug_assert(counter_idx < g->num_counters); in perfcntr_resume()
485 OUT_PKT4(ring, g->counters[counter_idx].select_reg, 1); in perfcntr_resume()
495 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_resume() local
496 const struct fd_perfcntr_counter *counter = &g->counters[counter_idx]; in perfcntr_resume()
523 unsigned counter_idx = counters_per_group[entry->gid]++; in perfcntr_pause() local
524 const struct fd_perfcntr_counter *counter = &g->counters[counter_idx]; in perfcntr_pause()
/external/mesa3d/src/amd/compiler/
Daco_insert_waitcnt.cpp358 unsigned counter_idx = ffs(counter) - 1; in wait_and_remove_from_entry() local
359 for (Instruction *instr : reg_instrs[counter_idx][reg]) { in wait_and_remove_from_entry()
360 auto pos = unwaited_instrs[counter_idx].find(instr); in wait_and_remove_from_entry()
361 if (pos == unwaited_instrs[counter_idx].end()) in wait_and_remove_from_entry()
371 unwaited_instrs[counter_idx].erase(pos); in wait_and_remove_from_entry()
373 reg_instrs[counter_idx][reg].clear(); in wait_and_remove_from_entry()
/external/crosvm/devices/src/
Dpit.rs962 fn write_counter(pit: &mut Pit, counter_idx: usize, data: u16, access_mode: CommandAccess) { in write_counter()
963 let port = match counter_idx { in write_counter()
967 _ => panic!("Invalid counter_idx: {}", counter_idx), in write_counter()
983 fn read_counter(pit: &mut Pit, counter_idx: usize, expected: u16, access_mode: CommandAccess) { in read_counter()
984 let port = match counter_idx { in read_counter()
988 _ => panic!("Invalid counter_idx: {}", counter_idx), in read_counter()
/external/mesa3d/src/intel/perf/
Dgen_perf.h242 int counter_idx; /* index inside of query/group */ member
Dgen_perf.c684 counter_info->location.counter_idx = c; in build_unique_counter_list()
/external/mesa3d/src/gallium/drivers/iris/
Diris_monitor.c203 perf_cfg->counter_infos[current_query_index].location.counter_idx; in iris_create_monitor_object()