摘要 |
Disclosed is monitoring circuitry for data processing apparatus. The circuitry monitors accesses to addressable locations within the data processing apparatus that occur between start and end events. The circuitry has an address location store that stores the address to be monitored and a monitoring data store. When it detects the start event, the circuitry detects the accesses to the locations and stores monitoring data relating to the accesses in the data store. When the end event is detected the monitoring circuitry stops. When a flush event is detected the circuitry outputs the stored monitoring data and flushes the data store. The same event may comprise one or more of a start event, an end event and a flush event. The start, end and flush events may be the start of a task, an end of the task, a memory barrier instruction, a preset time interval, a counter overflowing, a counter reaching a threshold value, writing to a control register, accessing a particular region, an interrupt, a breakpoint, a send event, a wait for event, a load exclusive instruction, a store exclusive instruction or an atomic memory operation.
|