PURPOSE: To quickly measure delicate data of the instruction frequency distribution or the like for each user application in actual circumstances by queuing the code of an instruction whose number of clocks is beyond a prescribed number of clocks is beyond a prescribed number of clocks, and providing a means which counts the total sum of instructions whose processing requires clocks the number of which is smaller than the prescribed number
CONSTITUTION: The number of clocks which is counted by a clock counting means 4 and is required for the processing of an instruction is compared with contents of a clock number setting means 5 by a comparing means 6. When the number of clocks required for the executed instruction is equal to or larger than the prescribed value, the code of the executed instruction is queued in a queuing mechanism 2; but when it is smaller than the prescribed value, an instruction number counting means 7, for example, a counter is counted up. Instruction codes queued in the queuing mechanism 2 are classfied and summed up by a recording mechanism 3. Thus, fine data like the instruction frequency distribution or the like of each user application is quickly measured in actual circumstances.
TONE HIROSADA