摘要 |
PURPOSE: A speculative processor is manufactured to count a non-speculative event by counting the occurrence of a designated event, designating the event to be monitored, monitoring the designated event, generating the occurrence time value of the designated event and generating the number of times of occurrence of the designated event. CONSTITUTION: A system (200) is provided with a hierarchical memory (210) and a processor (250). Further, the hierarchical memory (210) is provided with a level (2) cache (212), a random access memory(RAM) (214) and a disk (216). Thus, a speculative processor is provided with plural counters for counting the occurrence of a designated event in a data processing system inside a performance monitor. The event to be monitored is designated. The designated event is monitored during the execution of an instruction due to the speculative processor. The number of times of occurrence of the designated event related to all the instructions to be executed by the speculative processor is generated and the number of times of occurrence related to the completely executed instruction is generated. |