Patent ID: 9626313
Date: 2017-04-18
CPC Classifications: G06F,G06T

Claim:
1. A method for replaying a command stream, comprising: processing, by a command processor, a command stream for execution by at least one processor, including storing, by the command processor, data associated with a first set of one or more operations in the command stream in a trace buffer, wherein the first set of one or more operations in the command stream accesses one or more memory locations in memory, and wherein the data associated with the first set of one or more operations include an indication of contents of the one or more memory locations associated with the first set of one or more operations; interrupting, by the command processor, the processing of the command stream; and in response to resuming, by the command processor, processing of the command stream subsequent to the interrupting of the processing of the command stream, replaying, by the command processor, at least a portion of the command stream, including processing, by the command processor, a second set of one or more operations of the command stream based at least in part on the data stored in the trace buffer that is associated with the first set of one or more operations.