×

Method for counting instructions for logging and replay of a deterministic sequence of events

  • US 7,774,647 B2
  • Filed: 01/24/2006
  • Issued: 08/10/2010
  • Est. Priority Date: 01/28/2005
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for managing a computer task, termed target, during a given execution period, termed activity period, within a computer system, in a computer processor provided with means of monitoring or estimating performance and including a counter with a given possible error in plus or minus, termed relative error, this process comprising:

  • an evaluation of a number of executed instructions up to at least one given point of said activity period, using said counter; and

    a generation of data, termed signature, determined from the state of the computer system and corresponding to at least one given point of said activity period;

    wherein the method logs the use of a processor by storing in an ordered fashion, in at least one file termed processor log, logging data representing the logging of a succession of activity periods of a plurality of tasks executed in said processor, said logging data comprising for each of the activity periods a datum identifying the executed task; and

    wherein the method carries out, from the logging data, a replay of the logged period by managing a task, termed replayed task, executed by a processor, termed replay processor, within a replay computer system, starting from a state corresponding to a state of a logged system at the start of the logged period, the method also comprising;

    from the start of the replay period, a monitored execution phase executing a number of instructions, evaluated by the counter, less than or equal to the supposed value of the number of instructions of the logged period, reduced by the relative error of said counter;

    a confirmation phase comprising an iteration of the following steps;

    interruption of the execution of the replay task at a given point in the replay; and

    comparative test between the logged signature and the signature corresponding to the replay interruption point.

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