Lines Matching defs:id
102 void addEventProbe(unsigned int id, SimObject *obj, const char *name);
103 void addSoftwareIncrementEvent(unsigned int id);
105 void registerEvent(uint32_t id);
236 uint64_t getCounterValue(CounterId id) const {
237 return isValidCounter(id) ? getCounter(id).getValue() : 0;
247 void setCounterValue(CounterId id, uint64_t val);
257 * @param id Counter ID within the PMU.
260 PMEVTYPER_t getCounterTypeRegister(CounterId id) const;
272 * @param id Counter ID within the PMU.
275 void setCounterTypeRegister(CounterId id, PMEVTYPER_t type);
404 * Obtain the event of a given id
406 * @param the id of the event to obtain
407 * @return a pointer to the event with id eventId
445 * Obtain the counter id
447 * @return the pysical counter id
484 /** id of the counter instance **/
509 * @param id ID of counter within the PMU.
514 bool isValidCounter(CounterId id) const {
515 return id < counters.size() || id == PMCCNTR;
521 * @param id ID of counter within the PMU.
525 CounterState &getCounter(CounterId id) {
526 assert(isValidCounter(id));
527 return id == PMCCNTR ? cycleCounter : counters[id];
533 * @param id ID of counter within the PMU.
537 const CounterState &getCounter(CounterId id) const {
538 assert(isValidCounter(id));
539 return id == PMCCNTR ? cycleCounter : counters[id];
550 * @param id ID of counter within the PMU.
608 /** The id of the counter hardwired to the cpu cycle counter **/