US Patent Application 17921067. RECORDING A MEMORY VALUE TRACE FOR USE WITH A SEPARATE CACHE COHERENCY PROTOCOL TRACE simplified abstract

From WikiPatents
Jump to navigation Jump to search

RECORDING A MEMORY VALUE TRACE FOR USE WITH A SEPARATE CACHE COHERENCY PROTOCOL TRACE

Organization Name

MICROSOFT TECHNOLOGY LICENSING, LLC

Inventor(s)

Jordi Mola of Bellevue WA (US)

RECORDING A MEMORY VALUE TRACE FOR USE WITH A SEPARATE CACHE COHERENCY PROTOCOL TRACE - A simplified explanation of the abstract

This abstract first appeared for US patent application 17921067 titled 'RECORDING A MEMORY VALUE TRACE FOR USE WITH A SEPARATE CACHE COHERENCY PROTOCOL TRACE

Simplified Explanation

The patent application describes a computer system that records the execution of a program in a trace format that can be replayed later.

  • The system records cache coherency protocol (CCP) messages into a first trace and memory snapshots into a second trace.
  • When tracing of a specific execution context is enabled, the system logs memory snapshots of that context and enables a hardware tracing feature of the processor.
  • The hardware tracing feature logs CCP messages generated in response to memory access in the execution context.
  • The system also handles writes into the memory space of the execution context by other execution contexts.


Original Abstract Submitted

A computer system that records a replayable execution trace based on recording cache coherency protocol (CCP) messages into a first trace, and on recording memory snapshot(s) into a second trace. Based on determining that tracing of execution of a first execution context is to be enabled, the computer system initiates logging, into the second trace, of one or more memory snapshots of a memory space of the first execution context, and enables a hardware tracing feature of a processor. Enabling the tracing feature causes the processor to log, into the first trace, CCP message(s) generated in response to one or more memory access into the memory space of the first execution context. After enabling the hardware tracing feature of the processor, the computer system also logs or otherwise handles a write into the memory space of the first execution context by a second execution context.