×

Instruction stream tracing of multi-threaded processors

  • US 9,996,354 B2
  • Filed: 01/09/2015
  • Issued: 06/12/2018
  • Est. Priority Date: 01/09/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for real-time tracing of instruction streams for a multi-threaded processor, the method comprising:

  • providing a multi-threaded processor comprising a tracing memory, a last thread register, and a tracing memory address counter configured to provide an address to the tracing memory;

    storing, within the last thread register for each dispatch cycle of the multi-threaded processor, a current thread index for use as a last executed thread index during a next dispatch cycle;

    storing, within a tracing memory at a location indicated by the tracing memory address counter for each dispatch cycle of the multi-threaded processor, state information corresponding to a current thread, wherein the current thread corresponds to one or more instructions that are dispatched for the current thread by a dispatch unit during that dispatch cycle of the multi-threaded processor;

    wherein the state information comprises the last executed thread index provided by the last thread register and instruction information corresponding to the one or more instructions that are dispatched for the current thread by the dispatch unit during that dispatch cycle; and

    wherein storing the state information including the last executed thread index occurs in real-time concurrent with instruction execution in the multi-threaded processor to enable reconstruction of thread sequencing.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×