Search International and National Patent Collections

1. (WO2017016074) CPU OCCUPATION RATE DETECTION METHOD AND APPARATUS

Pub. No.:    WO/2017/016074    International Application No.:    PCT/CN2015/092222
Publication Date: Fri Feb 03 00:59:59 CET 2017 International Filing Date: Tue Oct 20 01:59:59 CEST 2015
IPC: G06F 11/34
Applicants: ZTE CORPORATION
中兴通讯股份有限公司
Inventors: LONG, Chun
隆春
TAN, Hu
谈虎
WEN, Yang
文洋
Title: CPU OCCUPATION RATE DETECTION METHOD AND APPARATUS
Abstract:
A CPU occupation rate detection method and apparatus. The CPU occupation rate detection method comprises: acquiring a first execution duration and a first interrupt duration of a pre-set task at a CPU within a current detection period (S10); when the first execution duration and the first interrupt duration are acquired, using a difference between the first execution duration and the first interrupt duration as a first actual execution duration of the pre-set task at the CPU within the current detection period (S20); and acquiring a second actual execution duration of the pre-set task at the CPU within a previous detection period, and calculating an execution occupation rate of the pre-set task at the CPU based on the first actual execution duration, the second actual execution duration and the detection period (S30). The method and apparatus can improve the accuracy of CPU occupation rate detection.