CPC G06F 12/128 (2013.01) [G06F 12/0895 (2013.01)] | 15 Claims |
1. A microprocessor that records an execution trace, comprising:
a processing unit;
a memory cache; and
control logic that configures the microprocessor to at least:
based on executing a first instruction at the processing unit, detect occurrence of a first cache event that initiates a lifetime of a cache line within the memory cache;
based on detecting the first cache event, initiate logging, into the execution trace, first trace information indicating a beginning of the lifetime of the cache line within the memory cache;
subsequent to initiating logging of the first trace information, and based on executing a second instruction at the processing unit, detect occurrence of a second cache event that ends the lifetime of the cache line within the memory cache; and
based on detecting the second cache event, initiate logging, into the execution trace, second trace information indicating an ending of the lifetime of the cache line within the memory cache.
|