Previous - Up - Next

16.3   Observing Instruction Fetches

For performance reasons, instruction fetches are not sent to the memory hierarchy interface by default. You can activate instruction fetches for each processor by using the command <cpu>.instruction-fetch-mode. It can take several values:

no-instruction-fetch
No instruction fetches are sent to the memory hierarchy interface.

instruction-cache-access-trace
An instruction fetch is sent every time a different cache line is accessed by the processor. The size of the cache line is set by the processor attribute instruction-fetch-line-size. This option is available for UltraSPARC processors.

This option is meant to be used for cache simulation where successive accesses to the same cache line do not modify the cache state.

instruction-fetch-trace
All instruction fetches are sent to the memory hierarchy interface. This option is often implemented as instruction-cache-access-trace with a line size equal to the size of one instruction. This option is available for UltraSPARC and x86 processors.

This option is meant to provide a complete trace of fetch transactions.

Previous - Up - Next