EP1555614A2

Method and apparatus for determining processor utilization

Abstract

A method and an apparatus for determining processor utilization have been disclosed. In one embodiment, the method includes determining processor utilization in a data processing system and synchronizing execution of a number of threads in the data processing system to prevent interrupting the determining of the processor utilization. Other embodiments have been claimed and described.

EP1555614A2, drawing sheet 1
Sheet 1 of 12

Term

Term ended

Projected expiry passed 30 December 2024, 1.7 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

27 claims: 7 independent, 20 dependent

  1. 1
    A method comprising:determining processor utilization in a data processing system;and synchronizing execution of a plurality of threads in the data processing system to prevent interrupting the determining of the processor utilization.
  2. 10
    A method comprising:determining processor utilization in a system executing at least a first thread and a second thread;and pausing execution of the second thread during the determining of the processor utilization.
  3. 13
    An apparatus comprising:a plurality of processors, one of the plurality of processors to determine processor utilization and the remaining processors to execute a predetermined unit of code to prevent interrupting the one determining the processor utilization;and a bus coupling the plurality of processors to each other.
  4. 14
    The apparatus of 13, further comprising a performance monitor counter coupled to each of the plurality of processors to keep track of when the processor is active.
  5. 15
    The apparatus of 14, the performance monitor counter to provide a count for determining the processor utilization.
  6. 18
    A machine-accessible medium that provides instructions that, if executed by a processor, will cause the processor to perform operations comprising:determining processor utilization;and synchronizing execution of a plurality of threads to prevent interrupting the determining of the processor utilization.
  7. 21
    A system comprising:a plurality of dynamic random access memory (DRAM) devices;and a processing device, coupled to the plurality of DRAM devices, operable to perform operations comprising: determining processor utilization;and synchronizing execution of a plurality of threads to prevent interrupting the determining of the processor utilization.