Method for measuring quantity of usage of CPU
AssigneeMicroconnect, Inc.
InventorsSang Lee, Jang Oh
Life of this patent
Estimating the term…
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.
Claims1
A method for measuring a quantity of usage of a CPU, comprising:
- reading execution time of a thread with a certain timer time interval and adding the values;
- subtracting a total of execution time of a former stored thread from the grand total;
- and
- measuring a quantity of usage of a CPU by dividing the subtracted execution time of the thread by the certain timer time.
Dependencies are inferred from the claim text.