Claims
- 1. An information processing system having a
- plurality of performance measurement modes, comprising:
- a plurality of performance measurement means, each executing a performance measurement of said information processing system, and executing processing which is other than said performance measurement;
- performance measurement instruction acceptance means for accepting a first instruction which indicates if said performance measurement is to be executed;
- performance measurement mode acceptance means for accepting a second instruction indicative of one of said performance measurement modes;
- control means for receiving the first and second instructions so as to select one of said plurality of performance measurement means to execute said performance measurement based on the second instruction indicative of the performance measurement mode and so as to select the other of said plurality of performance measurement means to execute the processing other than said performance measurement while said performance measurement is to be executed, the selected one of said performance measurement means obtaining performance information as a result of the execution of the performance measurement;
- a memory accepting and storing said performance information.
- 2. An information processing system in accordance with claim 1, said performance measurement means including at least one selector which receives a plurality of performance information items and selects one item therefrom in accordance with said second instruction.
- 3. An information processing system in accordance with claim 2, wherein said performance measurement modes include a first mode for measuring executed steps, a second mode for measuring a number of times of hits to a cache memory connected to the information processing system, and a third mode for measuring a number of times of modifications of cache data.
- 4. An information processing system in accordance with claim 2, wherein said plurality of performance information items includes at least two of a number of times which cache data have been written into a main memory, a number of times which the cache data have been modified, a number of times of cache access, a number of times of cache hits, and a number of times of modifications of cache data.
- 5. An information processing system in accordance with claim 4, said performance measurement means including at least one counter which receives one of said performance information items from said selector and counts the number of times, said counter being used as a timer when said performance measurement means is executing processing other than said performance measurement.
- 6. An information processing system in accordance with claim 2, wherein said counter functions as said memory means by maintaining a counted value.
- 7. A method for measuring performance measurement using an information processing system including a plurality of performance measurement facilities and having a plurality of performance measurement modes comprising steps of:
- accepting a first instruction which indicates if said performance measurement is to be executed;
- accepting a second instruction indicative of one of said performance measurement modes;
- in response to said first instruction, selecting one of said plurality of performance measurement facilities to cause it to execute said performance measurement based on the second instruction indicative of the performance measurement mode and causing the other of said plurality of performance measurement facilities to execute processing other than said performance measurement while said performance measurement is to be executed;
- obtaining performance information as a result of the execution of the performance measurement; and
- storing said performance information in a memory.
Priority Claims (1)
Number |
Date |
Country |
Kind |
5-072485 |
Mar 1993 |
JPX |
|
Parent Case Info
This application is a continuation of application Ser. No. 08/220,422, filed on Mar. 30, 1994, now abandoned.
US Referenced Citations (14)
Foreign Referenced Citations (2)
Number |
Date |
Country |
1123441 |
Jan 1989 |
JPX |
2287736 |
Nov 1990 |
JPX |
Continuations (1)
|
Number |
Date |
Country |
Parent |
220422 |
Mar 1994 |
|