Lines Matching refs:counter
82 /* Setup the performance counter ID registers */
87 // Setup the hard-coded cycle counter, which is equivalent to
88 // architected counter event type 0x11.
259 DPRINTF(PMUVerbose, "Setting counter type: "
412 DPRINTF(PMUVerbose, "PMU reset cycle counter to zero.\n");
458 for (auto& counter: userCounters) {
459 counter->add(val);
552 debugCounter("attempted to get value from a counter without"
567 debugCounter("attempted to set value from a counter without"
576 DPRINTF(PMUVerbose, "updateCounter(%i): Disabling counter\n",
586 warn("Can't enable PMU counter of type '0x%x': "
606 warn_once("Can't change counter value: Counter %i does not exist.\n",
634 warn_once("Can't change counter type: Counter %i does not exist.\n",
646 // need to update the probes the counter is using.
795 // for this counter.
807 for (auto& counter: userCounters) {
808 if (val & (0x1 << counter->getCounterId())) {
809 counter->add(1);