Operating system-independent method and system of determining CPU utilization
First Claim
Patent Images
1. A central processing unit comprising:
- a processor core; and
a time stamp counter to measure a total number of cycles of a central processing unit clock signal that are applied to said processor core during a sampling time interval, said processor core determines a utilization of said central processing unit utilizing said total number of cycles of said central processing unit clock signal, said processor core calculates a time quantum within said sampling time interval during which said central processing unit clock signal is active within said processor core utilizing said total number of cycles of said central processing unit clock signal and a period of said central processing unit clock signal.
1 Assignment
0 Petitions
Accused Products
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.
46 Citations
4 Claims
-
1. A central processing unit comprising:
-
a processor core; and
a time stamp counter to measure a total number of cycles of a central processing unit clock signal that are applied to said processor core during a sampling time interval, said processor core determines a utilization of said central processing unit utilizing said total number of cycles of said central processing unit clock signal, said processor core calculates a time quantum within said sampling time interval during which said central processing unit clock signal is active within said processor core utilizing said total number of cycles of said central processing unit clock signal and a period of said central processing unit clock signal. - View Dependent Claims (2)
a processor core to calculate a ratio of said time quantum to said sampling time interval.
-
-
3. A data processing system comprising:
-
an independent timer to define a sampling time interval;
a clock generator circuit to generate a system clock signal;
a phase lock loop to receive said system clock signal and to generate a central processing unit clock signal utilizing said system clock signal; and
a central processing unit comprising;
a processor core; and
a time stamp counter to measure a total number of cycles of said central processing unit clock signal that are applied to said processor core during said sampling time interval, wherein said processor core determines a utilization of said central processing unit utilizing said total number of cycles of said central processing unit clock signal, said processor core calculates a time quantum within said sampling time interval during which said central processing unit clock signal is active within said processor core utilizing said total number of cycles of said central processing unit clock signal and a period of said central processing unit clock signal. - View Dependent Claims (4)
a processor core to calculate a ratio of said time quantum to said sampling time interval.
-
Specification