摘要 |
PROBLEM TO BE SOLVED: To provide an information processing device, capable of enhancing program processing capacity. SOLUTION: A timer 9 is a circuit for interrupting a CPU 6 at fixed time intervals. When an interrupt is made by the timer 9, what part of a program 20 has been carried out can be known, by checking the value of an exception program counter 41 of the CPU 6 in an exception program. It is checked which block the value of the program counter 41 falls within the range of, and a value 1 is added to the frequency information of the relevant block. By carrying out this processing a certain number of times for a certain period of time, which blocks has been executed most frequently by the CPU 6 can be known. From the frequency information thus obtained, the block in a ROM(read only memory) proven to be most frequently executed by the CPU(central processing unit) 6 is reproduced in a RAM(random access memory) by copying. Then, a TLB(translation look-aside buffer) is reset, so as to convert the logical address of the CPU 6 into the physical address of the block copied in the RAM. |