Make performance counter have the ability to generate an interrupt when a specific event has occurred some number of times. This allows statistically sampling which routines cause more of that type of event.
There would be a register for the event type, and perhaps one for the interrupt threshold. It would also need a way to reset the counter when the interrupt handler occurred, which could be automatic or driven by software.
Make performance counter have the ability to generate an interrupt when a specific event has occurred some number of times. This allows statistically sampling which routines cause more of that type of event.
There would be a register for the event type, and perhaps one for the interrupt threshold. It would also need a way to reset the counter when the interrupt handler occurred, which could be automatic or driven by software.