摘要 |
PURPOSE: To provide a system profiler for sampling a system state, without interrupting any operation. CONSTITUTION: A comparison register and a cache miss counter having an interruption line are increased, so that a processor can be interrupted when a counter matches with a compared value. Thus, a system state can be sampled, and a cache miss profile related with a specific process, procedure, call stack, address, or face decided by a user in the system state can be developed. This idea can be executed by an Mprof prototype for profiling a data stroll cycle on a sun Sparc 10/41, and a first level cache miss and a second level miss. A simple case study is provided, so that the characteristic of the Mprof can be indicated. |