WO2002054244A2 - Operating system-independent method and system of determining cpu utilization - Google Patents

Operating system-independent method and system of determining cpu utilization Download PDF

Info

Publication number
WO2002054244A2
WO2002054244A2 PCT/US2001/043639 US0143639W WO02054244A2 WO 2002054244 A2 WO2002054244 A2 WO 2002054244A2 US 0143639 W US0143639 W US 0143639W WO 02054244 A2 WO02054244 A2 WO 02054244A2
Authority
WO
WIPO (PCT)
Prior art keywords
processing unit
central processing
time interval
data processing
clock signal
Prior art date
Application number
PCT/US2001/043639
Other languages
French (fr)
Other versions
WO2002054244A3 (en
Inventor
Barnes Cooper
Original Assignee
Intel Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Intel Corporation filed Critical Intel Corporation
Priority to EP01995886A priority Critical patent/EP1358557B1/en
Priority to AU2002226936A priority patent/AU2002226936A1/en
Priority to BR0116651-4A priority patent/BR0116651A/en
Priority to DE60122780T priority patent/DE60122780T2/en
Publication of WO2002054244A2 publication Critical patent/WO2002054244A2/en
Publication of WO2002054244A3 publication Critical patent/WO2002054244A3/en
Priority to HK04100817A priority patent/HK1058088A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3419Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
    • G06F11/3423Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time where the assessed time is active or idle time

Definitions

  • the field of the invention relates generally to central processing units (CPUs).
  • the field invention relates to determining CPU utilization. Still more particularly, the field of the invention relates to an operating system-independent method and system of determining utilization of a CPU within a data processing system.
  • CPU central processing unit
  • Activity in even the most highly multi-tasking environment tends to be bursty, having periods of latency or inactivity followed by periods of intense processing activity. Accordingly, it is useful to analyze the utilization of CPUs and other similar data processing system devices for a variety of reasons. For example, high processor utilization during periods in which few or no user tasks are scheduled may be an indicia of a virus program or of some correctable fault in task scheduling resulting in thrashing or other inefficient system behavior. At present, several known mechanisms exist for determining CPU utilization within a data processing system.
  • CPU utilization is determined by accumulating CPU idle time across a sampling interval to determine the percentage of time the processor is inactive.
  • a list of tasks or threads is maintained by the OS which are ready-to-run, i.e., not waiting for some event to resume execution.
  • this ready-to-run list is empty, no tasks are being executed and the processor is idle.
  • a CPU-independent timer is read and the processor is essentially deactivated. This is accomplished by putting the processor in a predefined processor performance state such as the C2 or C3 states defined by the well known Advanced Configuration and Power Interface Specification, Revision 2.0, July 27, 2000 (ACPI).
  • clock signals are removed from the functional units of the processor while its memory subsystem remains active and “snoopable” by other devices.
  • the clock signal is also removed from this memory portion of the data processing system and a so-called "deep sleep" state is entered.
  • the processor is placed in an active state (such as the CO ACPI state) and the timer is read again.
  • the difference between the first and second timer reads (multiplied by the timer's period) then represents the CPU's idle time.
  • the accumulation of this time across a sampling interval is then used to determine the CPU utilization (what percentage of the CPU's time is spent idle).
  • API application programming interface
  • Figure la illustrates a conventional data processing system useable with the present invention
  • Figure lb illustrates a prior art architecture of the data processing system depicted in Figure la;
  • Figure 2 illustrates a portion of the architecture depicted in Figure lb in greater detail
  • Figure 3 illustrates an architectural system diagram depicting the operation of a data processing system according to the present invention
  • Figure 4 illustrates a first embodiment of an application program utilization sequence of the present invention
  • Figure 5 illustrates a second embodiment of an application program utilization sequence of the present invention
  • Figure 6 illustrates a third embodiment of an application program utilization sequence of the present invention
  • Figure 7 illustrates a high-level logic flowchart of one embodiment of the method of the present invention.
  • Data processing or computer system 100 is comprised of a system unit 102, output devices such as display 104 and printer 110, and input devices such as keyboard 108, and mouse 106.
  • Data processing system 100 receives data for processing by the manipulation of input devices 108 and 106 or directly from fixed or removable media storage devices such as disk 112 and network connection interfaces (not shown).
  • Data processing system 100 then processes data and presents resulting output data via output devices such as display 104, printer 110, fixed or removable media storage devices like disk 1 12 or network connection interfaces.
  • system unit 102 includes a processing device such as central processing unit (CPU) 120 connected to a level two (L2) cache 122 over a processor system bus (PSB) 114.
  • processor system bus 1 14 is in turn coupled to an expansion bus such as local bus 1 16 and a memory 126 via a north bridge circuit 124.
  • Local bus 116 may include a peripheral component interconnect (PCI), Video Electronics Standards Association (VESA) bus or the like, tightly coupled to the processor 120 and the processor system bus 114 to permit high-speed access to select devices such as display device 128.
  • PCI peripheral component interconnect
  • VESA Video Electronics Standards Association
  • Memory 126 may include read-only (ROM) and/or random access (RAM) memory devices such as a synchronous dynamic random access memory (SDRAM) module capable of storing data as well as instructions to be executed by CPU 120. Access to data and instructions stored within memory 126 is provided via a memory controller (not shown) within north bridge circuit 124. L2 cache 122 is similarly used, typically in a hierarchical manner, to store data and instructions for direct access by CPU 120.
  • Display device 128 may include a cathode ray tube (CRT) display such as display 104, liquid crystal display (LCD), or a similar device for displaying various kinds of data to a computer user. For example, image, graphical, or textual information may be presented to the user on display device 128.
  • CTR cathode ray tube
  • LCD liquid crystal display
  • System unit 102 of data processing system 100 also features an expansion or "compatibility" bus 118 such as the Industry Standard Architecture (ISA) bus, and a south bridge circuit 134 coupling it to local bus 116 to facilitate the attachment of other, relatively slower devices to the system 100.
  • South bridge circuit 134 includes a universal serial bus (USB) port 138 as well as other direct connections for devices such as a network interface card 130, a data storage device, such as a magnetic hard disk drive 132, and an audio device 140 such as a speaker or sound card.
  • USB universal serial bus
  • expansion bus 118 Other devices not directly coupled to south bridge 134 may be connected to the system 100 via the expansion bus 118 as illustrated.
  • a floppy disk drive (FDD) 144 providing additional data storage capacity on removable media storage devices such as disk 112, and input devices such as a keyboard 108 and a cursor control device 136 are each coupled to expansion bus 118 in this manner to communicate data, instructions, and/or command selections to central processing unit 120.
  • Cursor control device 136 may comprise a conventional mouse such as mouse 106 of Figure la, a trackball, or any other device capable of conveying desired cursor manipulation.
  • expansion bus 1 18 includes an input/output (I/O) controller having standard serial and parallel port functionality for connecting other I/O devices such as printer 110 to the system.
  • I/O input/output
  • the system of the present invention includes software, information processing hardware, and various processing steps, which will be described below.
  • the features and process steps of the present invention may be embodied in machine or computer executable instructions embodied within media such as disk 1 12.
  • the instructions can be used to cause a general purpose or special purpose processor such as CPU 120, which is programmed with the instructions to perform the described methods of the present invention.
  • the features or steps of the present invention may be performed by specific hardware components that contain hard-wired logic for performing the steps, or by any combination of programmed computer components and custom hardware components. Referring now to Figure 2, a portion of the architecture depicted in Figure lb is illustrated in greater detail.
  • Processor 120 is shown in communication with memory 126 over the processor system bus 114 utilizing a memory controller 226 of north bridge circuit 124.
  • a common system clock, (BClk) 216 is generated by a clock generator 208 and applied to a clock control phase lock loop (PLL) 218 of CPU 120 and to memory controller 226.
  • a core voltage 206 is similarly applied to CPU 120 in the illustrated embodiment, providing necessary operating power. While the BClk signal 216 is applied, accesses to and from memory 126 occur at its frequency of approximately 100 megahertz (MHz).
  • the central processing unit 120 is capable of performing tasks at much greater speeds than this and accordingly, a bus ratio or multiplier 212 is selected using a clock control signal, GHI# 202 and a higher frequency central processing unit clock signal is generated utilizing PLL 218. So for example, if the system or front side clock 216 has a frequency of 100 MHz, and a ratio 212 of 5 to 1 is selected using the GHI# signal 202, then the generated CPU clock will have a frequency of approximately 500 MHz. Alternatively, a higher multiplier or ratio 212 of say 7 to 1 could be selected, yielding a CPU clock frequency of approximately 700 MHz.
  • the generated central processing unit clock signal is then applied to clock throttling logic 220 before being passed to processor core 200.
  • Throttling is a technique by which the CPU clock is deasserted or “gated off from the processor core to prevent functional units within the core from operating.
  • Throttling logic 220 therefore acts as a switch, actuated by a stop clock (Stp_Clk) control signal 204, between the PLL 218 and the processor core 200.
  • a time stamp counter 224 is also included within the CPU 120 and incremented for each cycle (sometimes called ticks or pulses) of the CPU clock which is "gated through” or applied to the processor core as shown.
  • time stamp counter 224 tracks the number of clock ticks or cycles applied to the functional units of the processor core 200 such as instruction decoders, floating point and integer execution units, etc. it provides an extremely accurate representation of the actual work performed by CPU 120.
  • One additional chipset architecture component illustrated in Figure 2 is independent timer 210.
  • System independent timer 210 runs independently of CPU 120 and its associated system clock 216, unaffected by Stp_Clk signal 204 throttling or BClk signal 216 frequency modifications. Using the number of ticks of independent timer 210 elapsed between reads and its fixed frequency, an accurate measure of the passage of time may be obtained.
  • a WindowsTM high performance counter exported via the Win32 Application Programming Interface (API) as the QueryPerformanceCounterQ function can be used as independent timer 210.
  • API Application Programming Interface
  • QueryPerformanceCounterQ QueryPerformanceCounterQ
  • a power management timer may be utilized.
  • independent timer 210 is depicted as being integrated with clock generator circuit 208, in alternative embodiments the timer 210 may be generated in a separate device or integrated circuit.
  • a plurality of application programs 302 such as CPU utilization application 304 interact with various platform hardware devices 308 including a CPU 120 via an operating system 300 such as the WindowsTM operating system from Microsoft Corporation, one or more device drivers 306, and basic input/output system (BIOS) code 310.
  • the illustrated system is interrupt-driven both with respect to the multitasking of the various applications 302 and communication between applications 302 and platform hardware 308.
  • an application 302 request for a hardware resource from within platform hardware 308 can cause an interrupt, such as a System Control Interrupt (SCI) or a System Management Interrupt (SMI) to be generated and an interrupt handler routine to be responsively executed.
  • SCI System Control Interrupt
  • SI System Management Interrupt
  • BIOS 310 contains information such as physical device addresses of the various devices 308 attached to the data processing system 100 and is useful with respect to the actual transmission of data.
  • device driver 306 is typically specific to a particular hardware device and is usually concerned with the translation of data between various device formats.
  • FIG. 4 a first embodiment of an application program utilization sequence of the present invention is illustrated.
  • Various periods of work and sleep are depicted over a time interval 400 which correspond to the application or removal of a central processing unit clock signal to the processor core 200 of a CPU 120.
  • the illustrated work periods 402 may therefore represent the CO processor performance state of an ACPI-compliant data processing system.
  • the illustrated "sleep" state 404 would correspond to the C2 and greater states in that such a processor clock signal is removed from the processor core 200 for each of these states.
  • CPU utilization application comprises a periodically executing applet or application. Each time the applet is executed, a CPU utilization factor is calculated based upon data from the prior execution (or from default values for the first execution).
  • the executing applet retrieves a value from the performance counter previously described herein.
  • the performance counter will be read again during a second execution 408 of the applet and the elapsed time between reads will be computed as the difference between the counter values at the second 408 and first 406 reads multiplied by a predefined timer clock period.
  • a time stamp counter 224 is read during each execution 406, 408 of the utilization applet.
  • the total number of ticks or cycles of the CPU clock signal that have been applied to the CPU core 200 between the first execution 406 and the second execution 408 are calculated by subtracting the first value read (TSCountO) from the final value obtained from the time stamp counter 224, (TSCountl).
  • the applied tick count is then converted to a unit of time by multiplying the tick count value (TSCountl - TSCountO) by the current CPU clock signal period, which is also the clock period for the CPU time stamp counter 224.
  • This period is obtained in one embodiment of the present invention from the SMI interrupt handler which is responsible for transitioning a processor 120 from one performance state to another, and accordingly for transitioning CPU 120 clock signals from one value to another utilizing the GHI# and StpClk control signals described herein.
  • the CPU 120 utilization may then be expressed as a ratio or percentage of time during the sampling interval (between reads of the system independent counter) during which the CPU 120 clock signal is applied to the processor core 200, taking into consideration variations in the applied clock signal frequency as shown.
  • FIG. 5 a second embodiment of an application program utilization sequence of the present invention is illustrated.
  • Various periods of work and sleep are similarly depicted over a time interval 500 which correspond to the application or removal of a CPU clock signal to the processor core 200 of a CPU 120 and consequently to the CO and C2 and greater ACPI processor performance states respectively.
  • a periodically executing interrupt handler such as an
  • SMI handler 506, 508 is utilized to read the values necessary for calculating CPU utilization without actually performing the computation. Instead, the values are read, stored, and subsequently provided to a CPU utilization applet 510 which determines the actual percentage of active CPU time. Moreover, a power management timer rather than the performance counter is utilized in this embodiment to determine the passage of time. During a first execution of SMI handler 506 a value is read from both the time stamp counter 224 (TSCountO) and the power management timer (PMTimerO) of the data processing system. During a second execution 508 of the periodic handler values are read again from both of these timers and in both cases the obtained values are stored.
  • TCountO time stamp counter 224
  • PMTimerO power management timer
  • a CPU utilization applet is executed 510 and the idleness of CPU 120 is calculated as a ratio or percentage of active CPU time over the interval between SMI handler executions 506, 508 using the values stored by the SMI handler and the periods of both timers.
  • FIG. 6 a third embodiment of an application program utilization sequence of the present invention is illustrated.
  • Various periods of work and sleep are similarly depicted over a sampling time interval 600 which correspond to the application or removal of a CPU clock signal to the processor core 200 of a CPU 120 and consequently to the CO and C2 and greater ACPI processor performance states, respectively.
  • a system management interrupt is generated by a periodically executing utilization applet 606, 608 to determine the value of each required timer or counter.
  • an SMI is generated causing the associated SMI handler routine to read values from time stamp counter 224 and from a system independent timer 210 such as the power management timer as shown.
  • the applet 608 and SMI handler are executed again to obtain the values necessary for evaluating the utilization of the CPU 120.
  • Figure 7 depicts a technique by which a the utilization of a CPU may be determined independently of a data processing system's operating system.
  • the process illustrated by Figure 7 begins at block 700.
  • a system-independent timer such as the power management timer or WindowsTM performance counter discussed herein is read, (block 702).
  • a sampling time interval is defined using the independent timer's clock period, as well as currently and previously read system-independent timer values (block 704).
  • a value is then read from a time stamp counter (block 706) which is incremented for each cycle or "clock" of a CPU clock signal which is applied to the processor core 200 of central processing unit 120.
  • the total number of CPU clock signal ticks or cycles applied to the CPU's processor core 200 during the sampling time interval may be obtained (block 708). Thereafter, the total amount or "quantum" of time within the sampling time interval during which the CPU clock signal was active within the CPU's processor core 200 can be derived using the accumulated number of CPU clock cycles and the CPU clock signal's period (block 710). CPU utilization may then be expressed as a ratio of this active CPU clock signal time to the sampling time interval (block 712). Next, it is determined whether the CPU utilization application and analysis is to be terminated (block 714). If not, the process is repeated beginning at an entry point depicted by block 702. If so, the process is terminated (block 716).

Abstract

The utilization of a central processing unit during a sampling time interval is determined by measuring a time quantum within the sampling time interval during which a central processing unit clock signal is active within a processor core of the central processing unit. The total number of cycles of the central processing unit clock signal that are applied to the processor core and the period of the central processing unit clock signal are used to determine the time quantum. The utilization may then be expressed in terms of a ratio of the time quantum to the total time interval.

Description

OPERATING SYSTEM-INDEPENDENT METHOD AND SYSTEM OF DETERMINING CPU UTILIZATION
FIELD OF THE INVENTION
The field of the invention relates generally to central processing units (CPUs).
More particularly the field invention relates to determining CPU utilization. Still more particularly, the field of the invention relates to an operating system-independent method and system of determining utilization of a CPU within a data processing system.
BACKGROUND OF THE INVENTION In most modern multi-programmed data processing or computer systems, various tasks or user applications contend for processing time to execute on a central processing unit (CPU) or similar processing device. Activity in even the most highly multi-tasking environment tends to be bursty, having periods of latency or inactivity followed by periods of intense processing activity. Accordingly, it is useful to analyze the utilization of CPUs and other similar data processing system devices for a variety of reasons. For example, high processor utilization during periods in which few or no user tasks are scheduled may be an indicia of a virus program or of some correctable fault in task scheduling resulting in thrashing or other inefficient system behavior. At present, several known mechanisms exist for determining CPU utilization within a data processing system. As one example, in a conventional operating system (OS), CPU utilization is determined by accumulating CPU idle time across a sampling interval to determine the percentage of time the processor is inactive. To accomplish this, a list of tasks or threads is maintained by the OS which are ready-to-run, i.e., not waiting for some event to resume execution. When this ready-to-run list is empty, no tasks are being executed and the processor is idle. Accordingly, a CPU-independent timer is read and the processor is essentially deactivated. This is accomplished by putting the processor in a predefined processor performance state such as the C2 or C3 states defined by the well known Advanced Configuration and Power Interface Specification, Revision 2.0, July 27, 2000 (ACPI). In the C2 state clock signals are removed from the functional units of the processor while its memory subsystem remains active and "snoopable" by other devices. In a C3 state, the clock signal is also removed from this memory portion of the data processing system and a so-called "deep sleep" state is entered. When a new task is added to the ready-to-run list, the processor is placed in an active state (such as the CO ACPI state) and the timer is read again. The difference between the first and second timer reads (multiplied by the timer's period) then represents the CPU's idle time. The accumulation of this time across a sampling interval is then used to determine the CPU utilization (what percentage of the CPU's time is spent idle). Unfortunately, neither this measure of CPU utilization nor the state of the ready-to-run task list is available outside of the OS through a supported application programming interface (API).
BRIEF DESCRIPTION OF THE DRAWINGS
The present invention is illustrated by way of example and not limitation in the figures of the accompanying drawings, in which
Figure la illustrates a conventional data processing system useable with the present invention;
Figure lb illustrates a prior art architecture of the data processing system depicted in Figure la;
Figure 2 illustrates a portion of the architecture depicted in Figure lb in greater detail; Figure 3 illustrates an architectural system diagram depicting the operation of a data processing system according to the present invention;
Figure 4 illustrates a first embodiment of an application program utilization sequence of the present invention; Figure 5 illustrates a second embodiment of an application program utilization sequence of the present invention;
Figure 6 illustrates a third embodiment of an application program utilization sequence of the present invention;
Figure 7 illustrates a high-level logic flowchart of one embodiment of the method of the present invention.
DETAILED DESCRff TION OF THE INVENTION
An operating system-independent method and system of determining utilization of a CPU within a data processing system is disclosed. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that these specific details need not be used to practice the present invention. In other circumstances, well-known structures, materials, circuits, processes and interfaces have not been shown or described in detail in order not to unnecessarily obscure the present invention.
Referring now to Figure la, a conventional data processing system 100 useable with the present invention is illustrated. Data processing or computer system 100 is comprised of a system unit 102, output devices such as display 104 and printer 110, and input devices such as keyboard 108, and mouse 106. Data processing system 100 receives data for processing by the manipulation of input devices 108 and 106 or directly from fixed or removable media storage devices such as disk 112 and network connection interfaces (not shown). Data processing system 100 then processes data and presents resulting output data via output devices such as display 104, printer 110, fixed or removable media storage devices like disk 1 12 or network connection interfaces.
Referring now to Figure lb, there is depicted a high-level block diagram of the components of a data processing system 100 such as that illustrated by Figure la. In a conventional computer system, system unit 102 includes a processing device such as central processing unit (CPU) 120 connected to a level two (L2) cache 122 over a processor system bus (PSB) 114. Processor system bus 1 14 is in turn coupled to an expansion bus such as local bus 1 16 and a memory 126 via a north bridge circuit 124. Local bus 116 may include a peripheral component interconnect (PCI), Video Electronics Standards Association (VESA) bus or the like, tightly coupled to the processor 120 and the processor system bus 114 to permit high-speed access to select devices such as display device 128.
Memory 126 may include read-only (ROM) and/or random access (RAM) memory devices such as a synchronous dynamic random access memory (SDRAM) module capable of storing data as well as instructions to be executed by CPU 120. Access to data and instructions stored within memory 126 is provided via a memory controller (not shown) within north bridge circuit 124. L2 cache 122 is similarly used, typically in a hierarchical manner, to store data and instructions for direct access by CPU 120. Display device 128 may include a cathode ray tube (CRT) display such as display 104, liquid crystal display (LCD), or a similar device for displaying various kinds of data to a computer user. For example, image, graphical, or textual information may be presented to the user on display device 128. System unit 102 of data processing system 100 also features an expansion or "compatibility" bus 118 such as the Industry Standard Architecture (ISA) bus, and a south bridge circuit 134 coupling it to local bus 116 to facilitate the attachment of other, relatively slower devices to the system 100. South bridge circuit 134 includes a universal serial bus (USB) port 138 as well as other direct connections for devices such as a network interface card 130, a data storage device, such as a magnetic hard disk drive 132, and an audio device 140 such as a speaker or sound card.
Other devices not directly coupled to south bridge 134 may be connected to the system 100 via the expansion bus 118 as illustrated. A floppy disk drive (FDD) 144 providing additional data storage capacity on removable media storage devices such as disk 112, and input devices such as a keyboard 108 and a cursor control device 136 are each coupled to expansion bus 118 in this manner to communicate data, instructions, and/or command selections to central processing unit 120. Cursor control device 136 may comprise a conventional mouse such as mouse 106 of Figure la, a trackball, or any other device capable of conveying desired cursor manipulation. Similarly, expansion bus 1 18 includes an input/output (I/O) controller having standard serial and parallel port functionality for connecting other I/O devices such as printer 110 to the system.
The system of the present invention includes software, information processing hardware, and various processing steps, which will be described below. The features and process steps of the present invention may be embodied in machine or computer executable instructions embodied within media such as disk 1 12. The instructions can be used to cause a general purpose or special purpose processor such as CPU 120, which is programmed with the instructions to perform the described methods of the present invention. Alternatively, the features or steps of the present invention may be performed by specific hardware components that contain hard-wired logic for performing the steps, or by any combination of programmed computer components and custom hardware components. Referring now to Figure 2, a portion of the architecture depicted in Figure lb is illustrated in greater detail. Processor 120 is shown in communication with memory 126 over the processor system bus 114 utilizing a memory controller 226 of north bridge circuit 124. A common system clock, (BClk) 216 is generated by a clock generator 208 and applied to a clock control phase lock loop (PLL) 218 of CPU 120 and to memory controller 226. A core voltage 206 is similarly applied to CPU 120 in the illustrated embodiment, providing necessary operating power. While the BClk signal 216 is applied, accesses to and from memory 126 occur at its frequency of approximately 100 megahertz (MHz). The central processing unit 120 however, is capable of performing tasks at much greater speeds than this and accordingly, a bus ratio or multiplier 212 is selected using a clock control signal, GHI# 202 and a higher frequency central processing unit clock signal is generated utilizing PLL 218. So for example, if the system or front side clock 216 has a frequency of 100 MHz, and a ratio 212 of 5 to 1 is selected using the GHI# signal 202, then the generated CPU clock will have a frequency of approximately 500 MHz. Alternatively, a higher multiplier or ratio 212 of say 7 to 1 could be selected, yielding a CPU clock frequency of approximately 700 MHz.
The generated central processing unit clock signal is then applied to clock throttling logic 220 before being passed to processor core 200. Throttling is a technique by which the CPU clock is deasserted or "gated off from the processor core to prevent functional units within the core from operating. Throttling logic 220 therefore acts as a switch, actuated by a stop clock (Stp_Clk) control signal 204, between the PLL 218 and the processor core 200. A time stamp counter 224 is also included within the CPU 120 and incremented for each cycle (sometimes called ticks or pulses) of the CPU clock which is "gated through" or applied to the processor core as shown. Because time stamp counter 224 tracks the number of clock ticks or cycles applied to the functional units of the processor core 200 such as instruction decoders, floating point and integer execution units, etc. it provides an extremely accurate representation of the actual work performed by CPU 120. One additional chipset architecture component illustrated in Figure 2 is independent timer 210. System independent timer 210 runs independently of CPU 120 and its associated system clock 216, unaffected by Stp_Clk signal 204 throttling or BClk signal 216 frequency modifications. Using the number of ticks of independent timer 210 elapsed between reads and its fixed frequency, an accurate measure of the passage of time may be obtained. In one embodiment, a Windows™ high performance counter, exported via the Win32 Application Programming Interface (API) as the QueryPerformanceCounterQ function can be used as independent timer 210. In an alternative, Advanced Configuration and Power Interface (ACPI) compliant embodiment, a power management timer may be utilized. Although in the illustrated embodiment independent timer 210 is depicted as being integrated with clock generator circuit 208, in alternative embodiments the timer 210 may be generated in a separate device or integrated circuit. Referring now to Figure 3, an architectural system diagram depicting the operation of a data processing system according to the present invention is illustrated. In the illustrated embodiment, a plurality of application programs 302 such as CPU utilization application 304 interact with various platform hardware devices 308 including a CPU 120 via an operating system 300 such as the Windows™ operating system from Microsoft Corporation, one or more device drivers 306, and basic input/output system (BIOS) code 310. The illustrated system is interrupt-driven both with respect to the multitasking of the various applications 302 and communication between applications 302 and platform hardware 308. Accordingly, in one embodiment of the present invention, an application 302 request for a hardware resource from within platform hardware 308 can cause an interrupt, such as a System Control Interrupt (SCI) or a System Management Interrupt (SMI) to be generated and an interrupt handler routine to be responsively executed. Interaction between operating system 300 and platform hardware 308 is then facilitated by a device driver 306 and BIOS 310. In the illustrated embodiment, BIOS 310 contains information such as physical device addresses of the various devices 308 attached to the data processing system 100 and is useful with respect to the actual transmission of data. By contrast, device driver 306 is typically specific to a particular hardware device and is usually concerned with the translation of data between various device formats.
Referring now to Figure 4, a first embodiment of an application program utilization sequence of the present invention is illustrated. Various periods of work and sleep are depicted over a time interval 400 which correspond to the application or removal of a central processing unit clock signal to the processor core 200 of a CPU 120. The illustrated work periods 402 may therefore represent the CO processor performance state of an ACPI-compliant data processing system. Similarly, the illustrated "sleep" state 404 would correspond to the C2 and greater states in that such a processor clock signal is removed from the processor core 200 for each of these states. In the illustrated embodiment of Figure 4, CPU utilization application comprises a periodically executing applet or application. Each time the applet is executed, a CPU utilization factor is calculated based upon data from the prior execution (or from default values for the first execution). As illustrated, during a first execution 406 the executing applet retrieves a value from the performance counter previously described herein. The performance counter will be read again during a second execution 408 of the applet and the elapsed time between reads will be computed as the difference between the counter values at the second 408 and first 406 reads multiplied by a predefined timer clock period. In addition to the performance counter, during each execution 406, 408 of the utilization applet a time stamp counter 224 is read. In the illustrated embodiment, the total number of ticks or cycles of the CPU clock signal that have been applied to the CPU core 200 between the first execution 406 and the second execution 408 are calculated by subtracting the first value read (TSCountO) from the final value obtained from the time stamp counter 224, (TSCountl). Since the frequency of the clock signal applied to CPU 120 can be varied as previously described, the applied tick count is then converted to a unit of time by multiplying the tick count value (TSCountl - TSCountO) by the current CPU clock signal period, which is also the clock period for the CPU time stamp counter 224. This period is obtained in one embodiment of the present invention from the SMI interrupt handler which is responsible for transitioning a processor 120 from one performance state to another, and accordingly for transitioning CPU 120 clock signals from one value to another utilizing the GHI# and StpClk control signals described herein. The CPU 120 utilization may then be expressed as a ratio or percentage of time during the sampling interval (between reads of the system independent counter) during which the CPU 120 clock signal is applied to the processor core 200, taking into consideration variations in the applied clock signal frequency as shown.
Referring now to Figure 5, a second embodiment of an application program utilization sequence of the present invention is illustrated. Various periods of work and sleep are similarly depicted over a time interval 500 which correspond to the application or removal of a CPU clock signal to the processor core 200 of a CPU 120 and consequently to the CO and C2 and greater ACPI processor performance states respectively. By contrast to the utilization sequence shown in Figure 4 however, in the illustrated embodiment of Figure 5, a periodically executing interrupt handler such as an
SMI handler 506, 508 is utilized to read the values necessary for calculating CPU utilization without actually performing the computation. Instead, the values are read, stored, and subsequently provided to a CPU utilization applet 510 which determines the actual percentage of active CPU time. Moreover, a power management timer rather than the performance counter is utilized in this embodiment to determine the passage of time. During a first execution of SMI handler 506 a value is read from both the time stamp counter 224 (TSCountO) and the power management timer (PMTimerO) of the data processing system. During a second execution 508 of the periodic handler values are read again from both of these timers and in both cases the obtained values are stored. Subsequently, a CPU utilization applet is executed 510 and the idleness of CPU 120 is calculated as a ratio or percentage of active CPU time over the interval between SMI handler executions 506, 508 using the values stored by the SMI handler and the periods of both timers.
Referring now to Figure 6, a third embodiment of an application program utilization sequence of the present invention is illustrated. Various periods of work and sleep are similarly depicted over a sampling time interval 600 which correspond to the application or removal of a CPU clock signal to the processor core 200 of a CPU 120 and consequently to the CO and C2 and greater ACPI processor performance states, respectively. In the illustrated embodiment a system management interrupt is generated by a periodically executing utilization applet 606, 608 to determine the value of each required timer or counter. Accordingly, during a first execution 606 of a utilization applet an SMI is generated causing the associated SMI handler routine to read values from time stamp counter 224 and from a system independent timer 210 such as the power management timer as shown. After the expiration of the sampling time interval, the applet 608 and SMI handler are executed again to obtain the values necessary for evaluating the utilization of the CPU 120.
Referring now to Figure 7, a high-level logic flowchart of one embodiment of the method of the present invention is illustrated. Figure 7 depicts a technique by which a the utilization of a CPU may be determined independently of a data processing system's operating system. The process illustrated by Figure 7 begins at block 700. Thereafter, a system-independent timer such as the power management timer or Windows™ performance counter discussed herein is read, (block 702). Next, a sampling time interval is defined using the independent timer's clock period, as well as currently and previously read system-independent timer values (block 704). A value is then read from a time stamp counter (block 706) which is incremented for each cycle or "clock" of a CPU clock signal which is applied to the processor core 200 of central processing unit 120. Using a previously read time stamp counter value and the currently read value, the total number of CPU clock signal ticks or cycles applied to the CPU's processor core 200 during the sampling time interval may be obtained (block 708). Thereafter, the total amount or "quantum" of time within the sampling time interval during which the CPU clock signal was active within the CPU's processor core 200 can be derived using the accumulated number of CPU clock cycles and the CPU clock signal's period (block 710). CPU utilization may then be expressed as a ratio of this active CPU clock signal time to the sampling time interval (block 712). Next, it is determined whether the CPU utilization application and analysis is to be terminated (block 714). If not, the process is repeated beginning at an entry point depicted by block 702. If so, the process is terminated (block 716). Although the present invention is described herein with reference to a specific preferred embodiment, many modifications and variations therein will readily occur to those with ordinary skill in the art. Accordingly, all such variations and modifications are included within the intended scope of the present invention as defined by the following claims.

Claims

CLAIMSWhat is claimed is:
1. A method comprising: measuring a time quantum within a sampling time interval during which a central processing unit clock signal is active within a processor core of a central processing unit; and determining a utilization of said central processing unit during said sampling time interval utilizing said time quantum.
2. The method as set forth in claim 1, wherein measuring a time quantum within a sampling time interval during which a central processing unit clock signal is active within a processor core of a central processing unit comprises accumulating all time quanta within said sampling time interval during which said central processing unit clock signal is applied to said processor core.
3. The method as set forth in claim 1, wherein determining a utilization of said central processing unit during said sampling time interval utilizing said time quantum comprises calculating a ratio of said time quantum to said sampling time interval.
4. The method as set forth in claim 1, wherein measuring a time quantum within a sampling time interval during which a central processing unit clock signal is active within a processor core of a central processing unit comprises: determining a total number of cycles of said central processing unit clock signal that are applied to said processor core of said central processing unit during said sampling time interval; and calculating said time quantum utilizing said total number of cycles and a period of said central processing unit clock signal.
5. The method as set forth in claim 4, further comprising: periodically executing a utilization application, wherein said sampling time interval comprises a time interval between a first execution of said utilization application and a second execution of said utilization application.
6. The method as set forth in claim 4, further comprising: periodically executing a system management interrupt handler, wherein said sampling time interval comprises a time interval between a first execution of said system management interrupt handler and a second execution of said system management interrupt handler.
7. The method as set forth in claim 5, wherein determining a total number of cycles of said central processing unit clock signal that are applied to said processor core of said central processing unit during said sampling time interval comprises: incrementing a time-stamp counter for each cycle of said central processing unit clock signal that is applied to said processor core during said sampling time interval from an initial value to a final value; subtracting said initial value of said time-stamp counter from said final value of said time-stamp counter to determine a total number of cycles of said central processing unit clock signal that are applied to said processor core of said central processing unit during said sampling time interval.
8. The method as set forth in claim 7, further comprising: reading said initial value of said time-stamp counter in response to said first execution of said utilization application; and reading said final value of said time-stamp counter in response to said second execution of said utilization application.
9. A data processing system-readable medium having a plurality of instructions executable by a data processing system embodied therein, wherein said instructions when executed cause said data processing system to: measure a time quantum within a sampling time interval during which a central processing unit clock signal is active within a processor core of a central processing unit; and determine a utilization of said central processing unit during said sampling time interval utilizing said time quantum.
10. The data processing system-readable medium as set forth in claim 9, wherein said instructions causing said data processing system to measure a time quantum within a sampling time interval during which a central processing unit clock signal is active within a processor core of a central processing unit cause said data processing system to accumulate all time quanta within said sampling time interval during which said central processing unit clock signal is applied to said processor core.
11. The data processing system-readable medium as set forth in claim 9, wherein said instructions causing said data processing system to determine a utilization of said central processing unit during said sampling time interval utilizing said time quantum cause said data processing system to calculate a ratio of said time quantum to said sampling time interval.
12. The data processing system-readable medium as set forth in claim 9, wherein said instructions causing said data processing system to measure a time quantum within a sampling time interval during which a central processing unit clock signal is active within a processor core of a central processing unit cause said data processing system to: determine a total number of cycles of said central processing unit clock signal that are applied to said processor core of said central processing unit during said sampling time interval; and calculate said time quantum utilizing said total number of cycles and a period of said central processing unit clock signal.
13. The data processing system-readable medium as set forth in claim 12, further comprising a plurality of instructions which when executed cause said data processing system to: periodically execute a utilization application, wherein said sampling time interval comprises a time interval between a first execution of said utilization application and a second execution of said utilization application.
14. The data processing system-readable medium as set forth in claim 12, further comprising a plurality of instructions which when executed cause said data processing system to: periodically execute a system management interrupt handler, wherein said sampling time interval comprises a time interval between a first execution of said system management interrupt handler and a second execution of said system management interrupt handler.
15. The data processing system-readable medium as set forth in claim 13, wherein said instructions causing said data processing system to determine a total number of cycles of said central processing unit clock signal that are applied to said processor core of said central processing unit during said sampling time interval cause said data processing system to: increment a time-stamp counter for each cycle of said central processing unit clock signal that is applied to said processor core during said sampling time interval from an initial value to a final value; and subtract said initial value of said time-stamp counter from said final value of said time-stamp counter to determine a total number of cycles of said central processing unit clock signal that are applied to said processor core of said central processing unit during said sampling time interval.
16. The data processing system-readable medium as set forth in claim 15, further comprising a plurality of instructions which when executed cause said data processing system to: read said initial value of said time-stamp counter in response to said first execution of said utilization application; and read said final value of said time-stamp counter in response to said second execution of said utilization application.
17. A data processing system comprising: a central processing unit to process data and execute instructions, said central processing unit including a processor core; a clock generator to generate a central processing unit clock signal and to define a sampling time interval; a memory to store a plurality of instructions which when executed by said central processing unit cause said data processing system to: measure a time quantum within said sampling time interval during which said central processing unit clock signal is active within said processor core of said central processing unit; and determine a utilization of said central processing unit during said sampling time interval utilizing said time quantum.
18. The data processing system as set forth in claim 17, wherein said instructions causing said data processing system to determine a utilization of said central processing unit during said sampling time interval utilizing said time quantum cause said data processing system to calculate a ratio of said time quantum to said sampling time interval.
19. The data processing system as set forth in claim 17, wherein said instructions causing said data processing system to measure a time quantum within said sampling time interval during which said central processing unit clock signal is active within said processor core of said central processing unit cause said data processing system to: determine a total number of cycles of said central processing unit clock signal that are applied to said processor core of said central processing unit during said sampling time interval; and calculate said time quantum utilizing said total number of cycles and a period of said central processing unit clock signal.
20. The data processing system as set forth in claim 19, further comprising a time- stamp counter to increment for each cycle of said central processing unit clock signal that is applied to said processor core during said sampling time interval from an initial value to a final value, wherein: said instructions causing said data processing system to determine a total number of cycles of said central processing unit clock signal that are applied to said processor core of said central processing unit during said sampling time interval cause said data processing system to subtract said initial value of said time-stamp counter from said final value of said time-stamp counter to determine a total number of cycles of said central processing unit clock signal that are applied to said processor core of said central processing unit during said sampling time interval.
PCT/US2001/043639 2000-12-29 2001-11-13 Operating system-independent method and system of determining cpu utilization WO2002054244A2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP01995886A EP1358557B1 (en) 2000-12-29 2001-11-13 Operating system-independent method and system of determining cpu utilization
AU2002226936A AU2002226936A1 (en) 2000-12-29 2001-11-13 Operating system-independent method and system of determining cpu utilization
BR0116651-4A BR0116651A (en) 2000-12-29 2001-11-13 System-independent method of operation and system for determining cpu utilization
DE60122780T DE60122780T2 (en) 2000-12-29 2001-11-13 OPERATING SYSTEM INDEPENDENT METHOD AND SYSTEM FOR DETERMINING THE CPU APPLICATION
HK04100817A HK1058088A1 (en) 2000-12-29 2004-02-06 Operating system-independent method and system of determining cpu utilization

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/750,676 US6711526B2 (en) 2000-12-29 2000-12-29 Operating system-independent method and system of determining CPU utilization
US09/750,676 2000-12-29

Publications (2)

Publication Number Publication Date
WO2002054244A2 true WO2002054244A2 (en) 2002-07-11
WO2002054244A3 WO2002054244A3 (en) 2003-09-12

Family

ID=25018791

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2001/043639 WO2002054244A2 (en) 2000-12-29 2001-11-13 Operating system-independent method and system of determining cpu utilization

Country Status (10)

Country Link
US (1) US6711526B2 (en)
EP (1) EP1358557B1 (en)
CN (1) CN100338581C (en)
AT (1) ATE338304T1 (en)
AU (1) AU2002226936A1 (en)
BR (1) BR0116651A (en)
DE (1) DE60122780T2 (en)
HK (1) HK1058088A1 (en)
TW (1) TW552547B (en)
WO (1) WO2002054244A2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6711526B2 (en) 2000-12-29 2004-03-23 Intel Corporation Operating system-independent method and system of determining CPU utilization
CN1308785C (en) * 2002-09-20 2007-04-04 英特尔公司 Method for defining CPU operation factor regardless of operation system and system
US8321554B2 (en) 2004-12-17 2012-11-27 International Business Machines Corporation System and program to automatically identify a server on which to deploy an application

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3491617B2 (en) * 2001-03-01 2004-01-26 日本電気株式会社 Operation report creation method, operation report creation method, and operation report creation program
US6810361B1 (en) * 2002-06-19 2004-10-26 Hewlett-Packard Development Company, L.P. Estimating utilization of an electronic system component
DE10234469A1 (en) * 2002-07-29 2004-02-12 Siemens Ag Program run-time measurement method for processor-controlled data processing unit, monitors clock signal during execution of program commands
US20050071688A1 (en) * 2003-09-25 2005-03-31 International Business Machines Corporation Hardware CPU utilization meter for a microprocessor
US7783785B2 (en) * 2003-10-02 2010-08-24 Gateway, Inc. Method and apparatus for BIOS determination of network information and diagnostics
US7617488B2 (en) * 2003-12-30 2009-11-10 Intel Corporation Method and apparatus and determining processor utilization
US20050228927A1 (en) * 2004-04-05 2005-10-13 Philip Garcia Bus utilization based on data transfers on the bus
US20090182534A1 (en) * 2008-01-11 2009-07-16 Microsoft Corporation Accurate measurement and monitoring of computer systems
US8020020B2 (en) * 2008-02-28 2011-09-13 Globalfoundries Inc. Fast, automatically scaled processor time stamp counter
WO2009125257A1 (en) * 2008-04-11 2009-10-15 Freescale Semiconductor, Inc. Microprocessor having a low-power mode and a non-low power mode, data processing system and computer program product.
TWI447557B (en) * 2009-05-22 2014-08-01 Chi Mei Comm Systems Inc System and method for analyzing a cpu usage rate
US8527796B2 (en) 2009-08-24 2013-09-03 Intel Corporation Providing adaptive frequency control for a processor using utilization information
TW201117102A (en) * 2009-11-02 2011-05-16 Inventec Corp Method for self-diagnosing system management interrupt handler
US8713562B2 (en) * 2012-01-06 2014-04-29 International Business Machines Corporation Intelligent and automated code deployment
US9021499B2 (en) * 2012-01-10 2015-04-28 Hewlett-Packard Development Company, L.P. Moving a logical device between processor modules in response to identifying a varying load pattern
US9037840B2 (en) 2012-06-29 2015-05-19 Intel Corporation Mechanism to provide workload and configuration-aware deterministic performance for microprocessors
US9183022B2 (en) 2012-06-30 2015-11-10 International Business Machines Corporation Maintaining hardware resource bandwidth quality-of-service via hardware counter
US9128721B2 (en) 2012-12-11 2015-09-08 Apple Inc. Closed loop CPU performance control
US9494996B2 (en) 2013-03-15 2016-11-15 Intel Corporation Processor having frequency of operation information for guaranteed operation under high temperature events
US11057446B2 (en) 2015-05-14 2021-07-06 Bright Data Ltd. System and method for streaming content from multiple servers
CN107423206B (en) * 2017-07-31 2021-01-22 苏州浪潮智能科技有限公司 Method and device for measuring system management interruption time
CN112162820A (en) * 2020-09-23 2021-01-01 广州六环信息科技有限公司 Timing method and device of timer

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4438490A (en) * 1981-10-01 1984-03-20 Honeywell Information Systems Inc. Clock control of a central processing unit from a monitor interface unit
US5715467A (en) * 1996-04-04 1998-02-03 Vlsi Technology, Inc. Event driven power management control circuit and method therefor

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4485440A (en) 1981-09-24 1984-11-27 At&T Bell Laboratories Central processor utilization monitor
US5072376A (en) 1988-06-10 1991-12-10 Amdahl Corporation Measuring utilization of processor shared by multiple system control programs
US5475844A (en) * 1992-11-27 1995-12-12 Nec Corporation Heavily loaded resource evaluation system
US5706407A (en) * 1993-12-28 1998-01-06 Kabushiki Kaisha Toshiba System for reallocation of memory banks in memory sized order
AU2364095A (en) 1994-05-12 1995-12-05 Ast Research, Inc. Cpu activity monitoring through cache watching
US5623647A (en) 1995-03-07 1997-04-22 Intel Corporation Application specific clock throttling
US5719800A (en) 1995-06-30 1998-02-17 Intel Corporation Performance throttling to reduce IC power consumption
US5805909A (en) * 1995-08-03 1998-09-08 Texas Instruments Incorporated Microprocessors or microcontroller utilizing FLL clock having a reduced power state
US5745375A (en) 1995-09-29 1998-04-28 Intel Corporation Apparatus and method for controlling power usage
US5787294A (en) 1995-10-13 1998-07-28 Vlsi Technology, Inc. System for reducing the power consumption of a computer system and method therefor
US5815693A (en) 1995-12-15 1998-09-29 National Semiconductor Corporation Processor having a frequency modulated core clock based on the criticality of program activity
US5982814A (en) * 1996-08-01 1999-11-09 Pc-Tel, Inc. Dynamic control of processor utilization by a host signal processing modem
JP3798476B2 (en) * 1996-08-30 2006-07-19 株式会社東芝 Computer system and cache memory power-down control method in the system
US6018803A (en) * 1996-12-17 2000-01-25 Intel Corporation Method and apparatus for detecting bus utilization in a computer system based on a number of bus events per sample period
US6105142A (en) * 1997-02-11 2000-08-15 Vlsi Technology, Inc. Intelligent power management interface for computer system hardware
US6212644B1 (en) 1998-09-10 2001-04-03 Intel Corporation Controlling temperatures in computers
US6161188A (en) * 1998-11-17 2000-12-12 Ip-First, L.L.C. Microprocessor having fuse control and selection of clock multiplier
US6272642B2 (en) * 1998-12-03 2001-08-07 Intel Corporation Managing a system's performance state
US6118306A (en) 1998-12-03 2000-09-12 Intel Corporation Changing clock frequency
US7032119B2 (en) * 2000-09-27 2006-04-18 Amphus, Inc. Dynamic power and workload management for multi-server system
US6711526B2 (en) 2000-12-29 2004-03-23 Intel Corporation Operating system-independent method and system of determining CPU utilization

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4438490A (en) * 1981-10-01 1984-03-20 Honeywell Information Systems Inc. Clock control of a central processing unit from a monitor interface unit
US5715467A (en) * 1996-04-04 1998-02-03 Vlsi Technology, Inc. Event driven power management control circuit and method therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6711526B2 (en) 2000-12-29 2004-03-23 Intel Corporation Operating system-independent method and system of determining CPU utilization
CN1308785C (en) * 2002-09-20 2007-04-04 英特尔公司 Method for defining CPU operation factor regardless of operation system and system
US8321554B2 (en) 2004-12-17 2012-11-27 International Business Machines Corporation System and program to automatically identify a server on which to deploy an application

Also Published As

Publication number Publication date
DE60122780T2 (en) 2007-09-13
BR0116651A (en) 2004-07-13
CN100338581C (en) 2007-09-19
EP1358557B1 (en) 2006-08-30
AU2002226936A1 (en) 2002-07-16
TW552547B (en) 2003-09-11
HK1058088A1 (en) 2004-04-30
DE60122780D1 (en) 2006-10-12
US20020087291A1 (en) 2002-07-04
ATE338304T1 (en) 2006-09-15
US6711526B2 (en) 2004-03-23
EP1358557A2 (en) 2003-11-05
CN1633644A (en) 2005-06-29
WO2002054244A3 (en) 2003-09-12

Similar Documents

Publication Publication Date Title
EP1358557B1 (en) Operating system-independent method and system of determining cpu utilization
US6829713B2 (en) CPU power management based on utilization with lowest performance mode at the mid-utilization range
US7596709B2 (en) CPU power management based on utilization with lowest performance mode at the mid-utilization range
US7694164B2 (en) Operating system-independent method and system of determining CPU utilization
KR101496077B1 (en) Obtaining power profile information with low overhead
US6457135B1 (en) System and method for managing a plurality of processor performance states
US5355501A (en) Idle detection system
US6823516B1 (en) System and method for dynamically adjusting to CPU performance changes
US7519511B2 (en) Method for measuring quantity of usage of CPU
US6098169A (en) Thread performance analysis by monitoring processor performance event registers at thread switch
US6065121A (en) Control of computer system wake/sleep transitions
JP4249763B2 (en) Computer system and method for managing its performance and power consumption
US8015566B2 (en) Attributing energy consumption to individual code threads in a data processing system
JP2908739B2 (en) System and method for monitoring a CPU in a multiprocessor system
EP1555614B1 (en) Method and apparatus for determining processor utilization
US6122745A (en) Method and apparatus for managing power consumption in data processing systems
US6530031B1 (en) Method and apparatus for timing duration of initialization tasks during system initialization
US6112309A (en) Computer system, device and operation frequency control method
KR101196494B1 (en) Technique for promoting determinism among multiple clock domains
JPH076062A (en) Method for measuring operation rate of cpu
Confidential Fay Chang Keith Farkas Parthasarathy Ranganathan

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
WWE Wipo information: entry into national phase

Ref document number: 692/MUMNP/2003

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2001995886

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 018229522

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 2001995886

Country of ref document: EP

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Ref document number: JP

WWG Wipo information: grant in national office

Ref document number: 2001995886

Country of ref document: EP