Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Processor detection method, processor detection device, and computer device

A detection device and detection method technology, applied in the computer field, can solve problems such as not being able to truly reflect the working status of the CPU, and achieve an effect that is conducive to reasonable scheduling

Inactive Publication Date: 2018-12-14
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF9 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Even when no interface data comes in, the CPU observation result is still 100% occupancy due to the continuous detection of the interface data by the storage device. It can be seen that this detection method cannot truly reflect the working status of the CPU.

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Processor detection method, processor detection device, and computer device
  • Processor detection method, processor detection device, and computer device
  • Processor detection method, processor detection device, and computer device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The embodiment of the present application provides a processor detection method. First, the processor estimates the first execution time required to execute the target task; if the first execution time is greater than the preset value, the target task is executed Split to obtain a plurality of subtasks; then obtain the execution time of each subtask and accumulate to obtain the second execution time; then judge the state of the CPU according to the ratio of the second execution time to the total running time of the CPU, so The total running time of the CPU is the sum of the second execution time and the idle time of the CPU. The time required to execute each subtask is obtained by recording the time stamp, and the execution time of each subtask is accumulated, and the ratio of the second execution time obtained according to the accumulation to the total CPU running time can truly reflect the CPU usage. So as to accurately describe the working state of the CPU.

[0044]...

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

PUM

No PUM Login to View More

Abstract

A processor detection method is disclosed in an embodiment of the present application, the processor first estimates a first execution time required to execute the target task; if the first executiontime is greater than the preset value, the target task is split into a plurality of sub-tasks; then, the execution time of each of the sub-tasks is obtained and accumulated to obtain a second execution time, and the state of the processor is judged according to the ratio of the second execution time and the total processor running time, wherein the total processor running time is the sum of the second execution time and the processor idle time. By using the method, the working state of the processor can be truly and accurately reflected, the tasks of the processor can be reasonably distributed, and the working efficiency of the processor can be improved.

Description

technical field [0001] The present application relates to the field of computers, in particular to a processor detection method, a processor detection device and computer equipment. Background technique [0002] The central processing unit (Central Processing Unit, CPU) is a hardware structure that centrally processes computer information. It is responsible for reading instructions in the computer, decoding the instructions, and then executing various instructions. Another important device in a computer is a storage device, which is used to store program codes and various data, and save or retrieve data according to the location specified by the controller. [0003] The storage device is characterized by real-time and high efficiency. One of the working modes is to process the traffic data of each port in a polling manner. Specifically, it will always detect the arrival of interface data packets, so that when received The data packet can be processed in the first time. [...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/22G06F11/34
CPCG06F11/2236G06F11/3419
Inventor 孙昊赵帅范会杨亓浩肖占慧姜洪正
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products