CPU occupancy rate measuring method and apparatus
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZTE CORP
- Publication Date
- 2009-01-14
- Estimated Expiration
- Not applicable Β· inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of computer operating systems, in particular to a method and device for measuring CPU occupancy rate. Background technique
[0002] In computer operating systems, CPU usage is an important indicator to measure system performance. The traditional CPU occupancy rate is at the process (also called task in the embedded operating system field) level, and the statistics are the CPU usage of a process in a recent period of time. In this statistical method, the occupancy rate of all tasks is and should be 100% regardless of the overhead of the operating system itself. By observing the CPU usage of each process, you can have a general grasp of the current operating status of the system. For example, if a task enters an infinite loop state, this failure will be directly reflected in the CPU usage of the process. Programmers can easily locate which process has a problem by checking the CPU usage rate, and use operating system-...