×

System and method for measuring latch contention

  • US 7,318,220 B2
  • Filed: 03/11/2004
  • Issued: 01/08/2008
  • Est. Priority Date: 03/11/2004
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer implemented method comprising:

  • receiving requests for a shared resource, wherein access to the shared resource is controlled with a software lock;

    detecting that the software lock is unavailable;

    executing an operating system trace hook in response to the detecting, wherein the operating system trace hook records lock usage data, wherein the lock usage data includes a timestamp corresponding to each request, a lock address corresponding to an address of the software lock, a stack call chain for each process making one of the requests at the time the corresponding request was made, and a request count; and

    analyzing the recorded lock usage data to identify contended locks and processes that may not be efficiently using software locks.

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