Lines Matching refs:ctr
430 CounterState &ctr(counters[i]);
432 if (ctr.enabled != enable) {
433 ctr.enabled = enable;
434 updateCounter(ctr);
573 PMU::updateCounter(CounterState &ctr)
575 if (!ctr.enabled) {
577 ctr.getCounterId());
578 ctr.detach();
582 ctr.getCounterId(), ctr.eventId);
584 auto sourceEvent = eventMap.find(ctr.eventId);
587 "No such event type.\n", ctr.eventId);
589 ctr.attach(sourceEvent->second);
598 for (CounterState &ctr : counters)
599 ctr.setValue(0);
611 CounterState &ctr(getCounter(id));
612 ctr.setValue(val);
639 CounterState &ctr(getCounter(id));
640 const EventTypeId old_event_id(ctr.eventId);
642 ctr.filter = val;
648 ctr.eventId = val.evtCount;
649 updateCounter(ctr);