TRACE MANAGEMENT DURING ABORTED SPECULATIVE OPERATIONS

A method for tracing software code executing on a core of a processor is described. The method includes generating a set of packets for a trace packet stream based on a main cycle counter, which maintains a count of cycles elapsing in the core since a packet was emitted into the trace packet stream,...

Full description

Saved in:
Bibliographic Details
Main Authors STRONG, Beeman, MERTEN, Matthew C, AGRON, Jason
Format Patent
LanguageEnglish
Published 02.07.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A method for tracing software code executing on a core of a processor is described. The method includes generating a set of packets for a trace packet stream based on a main cycle counter, which maintains a count of cycles elapsing in the core since a packet was emitted into the trace packet stream, and a commit cycle counter, which maintains a cycle count in the core since the last commit operation, wherein the generating comprises (1) storing a value of the main cycle counter in the commit cycle counter in response to detecting a commit operation and (2) storing a value of the commit cycle counter in the main cycle counter in response to detecting an abort in the core; and emitting the set of packets from the processor into the trace packet stream for tracing execution of the software code.
Bibliography:Application Number: US201816235489