×

Methods and systems for testing parallel queues

  • US 6,510,531 B1
  • Filed: 09/23/1999
  • Issued: 01/21/2003
  • Est. Priority Date: 09/23/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer processing system comprising a linearizable queue and a plurality of processors, a method for verifying correct function of the queue with respect to a program executed by the processors, given a trace comprising events on the queue and an identifier associated with each of the events, wherein each event is associated with two timestamps respectively corresponding to a start time and an end time of the event, the method comprising the steps of:

  • matching the events to generate corresponding event pairs, based on the identifiers; and

    identifying the function of the queue as correct, when, for any event pair comprising an enqueue event e and a corresponding dequeue event e′

    , there does not exist another event pair comprising an enqueue event d and a corresponding dequeue event d′

    such that an end time of the enqueue event e precedes a start time of the enqueue event d and an end of the dequeue event d′

    precedes a start time of the dequeue event e′

    .

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×