Invention Grant
US08381011B2 Adjusting period of clock interruption that triggers processing of processes in run queue at plural threshold depth levels
有权
调整时钟中断的周期,触发在多个阈值深度级别处理运行队列中的进程
- Patent Title: Adjusting period of clock interruption that triggers processing of processes in run queue at plural threshold depth levels
- Patent Title (中): 调整时钟中断的周期,触发在多个阈值深度级别处理运行队列中的进程
-
Application No.: US13345042Application Date: 2012-01-06
-
Publication No.: US08381011B2Publication Date: 2013-02-19
- Inventor: Yanzhong Ye
- Applicant: Yanzhong Ye
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Agency: Brinks Hofer Gilson & Lione
- Priority: CN201110044965 20110224
- Main IPC: G06F1/08
- IPC: G06F1/08

Abstract:
The present application relates to a method and an apparatus for adjusting a period of clock interruption. The method comprises: determining a number of processes in a run-queue of a processor; and determining the period of clock interruption for use in a run state of the processor such that the period of clock interruption for use when the number of the processes is greater than a reference threshold is less than the period of clock interruption for use when the number of the processes is not greater than the reference threshold. The apparatus comprises a first determination block and a second determination block. With the method and apparatus according to the embodiment of the application, it is possible to dynamically adjust the period of clock interruption such that the period of clock interruption for use in the run state of the processor can be changed according to needs with flexibility.
Public/Granted literature
- US20120221756A1 METHOD AND APPARATUS FOR ADJUSTING PERIOD OF CLOCK INTERRUPTION Public/Granted day:2012-08-30
Information query