摘要 |
In order to get empirical data on memory behaviour to guide system optimisation, a system and method for profiling computer systems is presented. By augmenting a cache miss counter with a compare register and an interrupt line, the processor is interrupted when the counter matches the compare value, and the state of the processor is sampled. This can happen at a predetermined number of cache misses or cache stall cycles. Using these sampled data, a cache miss profile can be developed that associates cache misses with specific processes, procedures, procedure call stacks, or even user defined aspects of the system. Also, the system is able to provide assistance in isolating performance bottlenecks and guiding optimisation of architectures, operating systems, compilers and applications. <IMAGE> |