×

IDENTIFYING CODE THAT WASTES TIME SWITCHING TASKS

  • US 20120084763A1
  • Filed: 12/11/2011
  • Published: 04/05/2012
  • Est. Priority Date: 10/12/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method of detecting portions of code of a computer program that protect resources of a computer system, comprising:

  • identifying a synchronization object engaged by a thread of the computer program;

    recording, while the synchronization object is engaged,each access of a resource, of the computer system, that is protected by the synchronization object anda thread associated with the access;

    determining, upon the synchronization object being disengaged, a number of threads that have accessed the resource while the resource was protected by the synchronization object during execution of the computer program; and

    indicating, according to the number of threads, whether the resource is suited for protection.

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