Method and device for detecting CPU utilization ratio

A detection method and a technology of a detection device, which are applied in hardware monitoring and other directions, and can solve problems such as inaccurate detection of CPU utilization
CN101727379BInactive Publication Date: 2011-11-23RAISECOM TECH

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Patents(China)
Current Assignee / Owner
RAISECOM TECH
Publication Date
2011-11-23
Estimated Expiration
Not applicable Β· inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a method and device for detecting CPU utilization ratio, which relates to an embedded system and solves the problem of inaccurate detection of the CPU utilization ratio. The method comprises the steps of: when a triggering condition is detected, determining a discrete time part and a sliding time part; respectively acquiring the CPU holding times of the discrete time part and the sliding time part; and computing to acquire the current CPU utilization ratio according to the CPU holding times of discrete time part and the sliding time part. The technical scheme provided by the invention is suitable for embedded systems.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to an embedded system, in particular to a CPU utilization rate detection method and device. Background technique

[0002] At present, there are more and more tasks running in the embedded system, the amount of data processed by the system is also increasing, and the requirements for system performance are getting higher and higher, so it is very important to monitor the operating status of the system in real time. The change of CPU utilization can reflect the current running status of the system and the running status of each task, which is an important criterion for system monitoring. The CPU utilization rate can explain the working status of the CPU. The higher the utilization rate, the higher the CPU is in the high-speed operation (busy) state. At this time, the heat is high. If the utilization rate exceeds 90%, it will easily crash after a long time. If the heat dissipation is not good, It can also cause the CPU to burn out, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More