Method for Measuring Quantity of Usage of CPU
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
exact text as granted — not AI-modified1 . A method for measuring a quantity of usage of a CPU, comprising:
executing first and second types of threads over a time interval; adding execution times of the first type threads over the time interval to get a first total; calculating a CPU usage based on a calculation using the first total and the time interval; and storing the CPU usage in memory.
2 . The method of claim 2 , wherein the second type of threads include a system thread.Join the waitlist — get patent alerts
Track US2009192762A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.