IP Library Granted Patent US 7,412,354
Granted Patent B2
US 7,412,354 · App. 11/410,834 · Granted Aug 12, 2008

Method for measuring quantity of usage of CPU

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,412,354
App. No.
11/410,834
Granted
Aug 12, 2008
Kind
B2
Abstract

The present invention relates to a method for measuring a quantity of usage of a CPU, in particular to a method for measuring a quantity of usage of a CPU which is capable of getting a credible quantity of usage of a CPU without amending an algorithm in order to adapt it to the an operating system, e.g., MS-Windows System, or requiring a complicated code. The method uses various algorithms provided by the operating system on the behalf of a registry storing a quantity of usage of a CPU inside a system. Accordingly the present invention can measure a quantity of usage of a CPU easily without lowering a performance of the operating system.

Claims (39)

1. A method for measuring processing resource utilization in a personal computer, comprising:

providing an operating system registry containing a processor usage information of a processor in a computer system;

reading execution times of threads during a predetermined timer time interval using one or more manager functions, wherein the threads are executed by the processor;

adding execution time values for each thread that is not a system thread to get a first total;

determining a quantity of usage of the processor using the first total; and

updating the processor usage information in the operating system registry.

2. A method for measuring processing resource utilization in a personal computer, comprising:

providing a personal computer executable process algorithm for monitoring the usage of a processor;

reading execution times of threads during a predetermined timer time interval using one or more manager functions, wherein the threads are executed by the processor;

adding execution time values for each thread that is not a system thread to get a first total; and

determining a quantity of usage of the processor using the first total, wherein the quantity of usage is used by the personal computer.

3. A method for measuring CPU usage, the CPU executing threads, comprising:

reading the execution times of all threads except for a system thread during a prescribed timer time interval;

adding the values of the execution times to obtain a first sum;

subtracting a second sum of previously executed and stored thread execution times from the first sum to obtain a result; and

calculating a CPU usage by dividing the result by the prescribed timer time interval, wherein the CPU usage is stored in a memory.

4. A method for updating a resource utilization value in an updatable usage value register contained in a processing resource circuit, comprising:

reading execution times of a first subset of threads executing during a time interval, the first subset excluding system threads;

adding the read execution times of the first subset of threads to obtain a first total;

calculating a current resource utilization information based on a calculation involving the first total and the time interval; and

updating the updatable usage value register with the current resource utilization information.

5. An article including a machine-readable storage medium containing instructions, said instructions, when executed, cause a personal computer to:

provide an operating system registry containing a processor usage information of a processor;

read execution times of threads during a predetermined timer time interval using one or more manager functions when the threads are executed by the processor;

add execution time values for each thread that is not a system thread to get a first total;

determine a quantity of usage of the processor using the first total; and

update the processor usage information in the operating system registry.

6. An article including a machine-readable storage medium containing instructions, said instructions, when executed, cause a personal computer to:

provide a personal computer executable process algorithm to monitor the usage of a processor;

read execution times of threads during a predetermined timer time interval using one or more manager functions when the threads are executed by the processor;

add execution time values for each thread that is not a system thread to get a first total;

determine a quantity of usage of the processor using the first total; and

store the quantity of usage of the processor in the personal computer.

7. An article including a machine-readable storage medium containing instructions, said instructions, when executed, cause a computer system to:

read the execution times of all threads except for a system thread during a prescribed timer time interval;

add the values of the execution times to obtain a first sum;

subtract a second sum of previously executed and stored thread execution times from the first sum to obtain a result; and

calculate a CPU usage by dividing the result by the prescribed timer time interval; and

use the CPU usage in the computer system.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 1, 2014
From: ANPA INC.
To: LG ELECTRONICS INC.
Reel/Frame 033861/0468 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 30, 2008
From: PROTIMUS TECHNOLOGIES LLC
To: ANPA INC.
Reel/Frame 021316/0029 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 12, 2007
From: MICROCONNECT LLC
To: PROTIMUS TECHNOLOGIES LLC
Reel/Frame 020227/0772 →