Lines Matching refs:counter
58 counter("GPU Frequency", Counter::Units::Hertz, [=]() { in setup_a6xx_counters()
63 counter("GPU % Utilization", Counter::Units::Percent, [=]() { in setup_a6xx_counters()
69 counter("ALU / Fragment", Counter::Units::None, [=]() { in setup_a6xx_counters()
75 counter("TP L1 Cache Misses", Counter::Units::None, [=]() { in setup_a6xx_counters()
80 counter("Shader Core Utilization", Counter::Units::Percent, [=]() { in setup_a6xx_counters()
199 for (auto &counter : counters) { in enable_all_counters() local
200 enabled_counters.push_back(counter); in enable_all_counters()
292 const struct fd_perfcntr_counter *counter = d->state[id].counter; in configure() local
296 if (counter->enable && reset) { in configure()
297 OUT_PKT4(ring, counter->enable, 1); in configure()
301 if (counter->clear && reset) { in configure()
302 OUT_PKT4(ring, counter->clear, 1); in configure()
305 OUT_PKT4(ring, counter->clear, 1); in configure()
309 OUT_PKT4(ring, counter->select_reg, 1); in configure()
312 if (counter->enable && reset) { in configure()
313 OUT_PKT4(ring, counter->enable, 1); in configure()
322 const struct fd_perfcntr_counter *counter = d->state[id].counter; in collect() local
326 uint32_t *reg_lo = (uint32_t *)d->io + counter->counter_reg_lo; in collect()
327 uint32_t *reg_hi = (uint32_t *)d->io + counter->counter_reg_hi; in collect()
348 d->state[id].counter = &g->counters[d->assigned_counters[i]++]; in resolve()
384 FreedrenoDriver::counter(std::string name, Counter::Units units, in counter() function in pps::FreedrenoDriver
387 auto counter = DerivedCounter(this, name, units, derive); in counter() local
388 counters.emplace_back(counter); in counter()
389 return counter; in counter()