CN102129392B - Method and associated electronic device for performing adaptive frequency adjustment - Google Patents
Method and associated electronic device for performing adaptive frequency adjustment Download PDFInfo
- Publication number
- CN102129392B CN102129392B CN2010100028210A CN201010002821A CN102129392B CN 102129392 B CN102129392 B CN 102129392B CN 2010100028210 A CN2010100028210 A CN 2010100028210A CN 201010002821 A CN201010002821 A CN 201010002821A CN 102129392 B CN102129392 B CN 102129392B
- Authority
- CN
- China
- Prior art keywords
- frequency
- value
- calculation result
- target frequency
- interrupt
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000003044 adaptive effect Effects 0.000 title claims abstract description 20
- 238000012545 processing Methods 0.000 claims abstract description 67
- 230000004044 response Effects 0.000 claims abstract description 14
- 238000012544 monitoring process Methods 0.000 claims description 29
- 230000001186 cumulative effect Effects 0.000 claims description 15
- 230000008901 benefit Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001934 delay Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Power Sources (AREA)
Abstract
Description
技术领域 technical field
本发明涉及中断服务请求(Interrupt Service Request,ISR)控制,尤其涉及一种用来进行适应性(Adaptive)频率调整的方法以及相关的电子装置。The present invention relates to Interrupt Service Request (Interrupt Service Request, ISR) control, in particular to a method for performing adaptive (Adaptive) frequency adjustment and related electronic devices.
背景技术 Background technique
为了达到省电的目的,依据相关技术所实现的可携式电子装置通常具有被刻意降低的运作频率。然而,一旦有中断(Interrupt)发生,可携式电子装置必须进行必要的判定与处理程序,而上述被刻意降低的运作频率就会造成可携式电子装置对即时性事件处理的延迟。于是,可携式电子装置针对中断的处理的整体系统负担就随着运作频率的降低而大幅地增加。In order to achieve the purpose of saving power, the portable electronic devices implemented according to the related art usually have a deliberately lowered operating frequency. However, once an interrupt occurs, the portable electronic device must perform necessary determination and processing procedures, and the above-mentioned deliberately reduced operating frequency will cause delays in the portable electronic device's processing of immediate events. As a result, the overall system load of the portable electronic device for interrupt processing increases significantly as the operating frequency decreases.
为了解决上述的问题,相关技术提供了维持高速运作的方案,以期减少可携式电子装置针对中断的处理的整体系统负担,但此方案会相对地产生耗电问题。相关技术另提供了减少中断发生次数的方案,例如:针对音频处理可以增加数字模拟转换器(Digital-to-Analog Converter,DAC)之前的先进先出(First In First Out,FIFO)缓冲器的深度,即增加先进先出缓冲器的缓冲空间,以期减少中断发生次数。请注意,此方案会相对地造成硬件成本增加的问题。另外,并非任何类型的中断的发生次数都可以予以减少;计时器中断(Timer Interrupt)即为中断发生次数在实作上无法减少的典型的例子。In order to solve the above problems, the related art provides a solution for maintaining high-speed operation in order to reduce the overall system load of the portable electronic device for interrupt processing, but this solution will relatively generate power consumption. Related technologies also provide a solution to reduce the number of interrupts, for example: for audio processing, the depth of the First In First Out (FIFO) buffer before the Digital-to-Analog Converter (Digital-to-Analog Converter, DAC) can be increased , that is to increase the buffer space of the first-in first-out buffer in order to reduce the number of interrupts. Please note that this solution will relatively cause the problem of increased hardware cost. In addition, not all types of interrupts can reduce the number of occurrences; timer interrupt (Timer Interrupt) is a typical example that the number of interrupts cannot be reduced in practice.
由上述可知,相关技术面临这诸多问题却没有妥善且全面的解决方案。相关技术实在有待改进。It can be seen from the above that the relevant technologies face many problems but have no proper and comprehensive solutions. Related technologies really need to be improved.
发明内容Contents of the invention
因此本发明的目的之一在于提供一种用来进行适应性(Adaptive)频率调整的方法以及相关的电子装置,以解决上述问题。Therefore, one object of the present invention is to provide a method for adaptive frequency adjustment and related electronic devices to solve the above problems.
本发明的较佳实施例中提供一种用来进行适应性频率调整的方法,该方法用来控制一电子装置的中央处理单元(Central Processing Unit,CPU)的运作频率,该方法包含有:取得至少一中断服务请求(Interrupt Service Request,ISR)时间,且计算该中断服务请求时间占一期望中断发生时间的比例;动态地决定该中央处理单元的运作频率的一目标频率,以在该中央处理单元因应下一次中断的发生进行处理时,依据该目标频率设定该运作频率,以进行适应性频率调整。A preferred embodiment of the present invention provides a method for adaptive frequency adjustment, the method is used to control the operating frequency of a central processing unit (Central Processing Unit, CPU) of an electronic device, the method includes: obtaining At least one interrupt service request (Interrupt Service Request, ISR) time, and calculate the ratio of the interrupt service request time to an expected interrupt occurrence time; dynamically determine a target frequency of the operating frequency of the central processing unit to process in the central processing unit When processing the next interrupt, the unit sets the operating frequency according to the target frequency to perform adaptive frequency adjustment.
本发明在提供上述方法的同时,亦对应地提供一种电子装置,该电子装置包含有:一中央处理单元、一中断服务请求监测单元、以及一动态调整单元。该中央处理单元用来控制该电子装置的运作。另外,该中断服务请求监测单元用来取得至少一中断服务请求时间并据以计算该中断服务请求时间占一期望中断发生时间的比例。此外,该动态调整单元用来动态地决定该中央处理单元的运作频率的一目标频率;其中当该中央处理单元因应下一次中断的发生进行处理时,该动态调整单元依据该目标频率设定该运作频率,以进行适应性频率调整。While providing the above method, the present invention also provides an electronic device correspondingly, the electronic device includes: a central processing unit, an interrupt service request monitoring unit, and a dynamic adjustment unit. The central processing unit is used to control the operation of the electronic device. In addition, the interrupt service request monitoring unit is used to obtain at least one interrupt service request time and calculate a ratio of the interrupt service request time to an expected interrupt occurrence time. In addition, the dynamic adjustment unit is used to dynamically determine a target frequency of the operating frequency of the central processing unit; wherein when the central processing unit performs processing in response to the occurrence of the next interrupt, the dynamic adjustment unit sets the target frequency according to the target frequency operating frequency for adaptive frequency adjustment.
本发明的好处之一是,针对多媒体装置的应用,利用本发明的方法来进行动态调整可让该中央处理单元的运作频率大致上维持在较低频率,不会产生耗电问题。另外,一旦有中断(Interrupt)发生时,本发明的方法可动态地依据目标频率设定该运作频率,就不至于因低速进行中断处理而造成系统负担。因此,本发明的方法以及相关的电子装置可达到最佳的整体效能。One of the advantages of the present invention is that, for the application of multimedia devices, using the method of the present invention to dynamically adjust the operating frequency of the central processing unit can be maintained at a relatively low frequency without causing power consumption problems. In addition, once an interrupt occurs, the method of the present invention can dynamically set the operating frequency according to the target frequency, so that the system will not be burdened by low-speed interrupt processing. Therefore, the method of the present invention and the related electronic device can achieve the best overall performance.
本发明的另一好处是,该动态调整单元可依据至少一计算结果动态地决定该运作频率的目标频率;尤其是,在该预定范围具有一高标值与一低标值的状况下,该动态调整单元可依据计算结果小于该低标值/大于该高标值的比较结果的累计次数是否达到一预定次数,来选择性地调整该目标频率,故本发明可以妥当地决定该目标频率。因此,针对该电子装置可能有各种不同取样频率的声音档案或不同显示率(Frame Rate)的影音档案,本发明可在不过度耗电的条件下,提供分别满足各种档案的不同需求的最佳处理效能。Another benefit of the present invention is that the dynamic adjustment unit can dynamically determine the target frequency of the operating frequency according to at least one calculation result; especially, when the predetermined range has a high standard value and a low standard value, the The dynamic adjustment unit can selectively adjust the target frequency according to whether the cumulative number of comparison results of calculation results smaller than the low standard value/greater than the high standard value reaches a predetermined number of times, so the present invention can properly determine the target frequency. Therefore, the electronic device may have various sound files with different sampling frequencies or audio-visual files with different display rates (Frame Rate). Optimum processing performance.
附图说明 Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,并不构成对本发明的限定。在附图中:The drawings described here are used to provide further understanding of the present invention, constitute a part of the application, and do not limit the present invention. In the attached picture:
图1为依据本发明一第一实施例的一种电子装置的时脉系统的示意图;1 is a schematic diagram of a clock system of an electronic device according to a first embodiment of the present invention;
图2A为依据本发明一实施例的一种用来进行适应性(Adaptive)频率调整的方法的流程图;FIG. 2A is a flowchart of a method for adaptive (Adaptive) frequency adjustment according to an embodiment of the present invention;
图2B为图2A所示的方法在一变化例中的流程图;FIG. 2B is a flow chart of a variation example of the method shown in FIG. 2A;
图3与图4为图2A所示的方法在一实施例中的实施细节;3 and 4 are implementation details of the method shown in FIG. 2A in an embodiment;
图5为图2A所示的方法在另一实施例中的实施细节,其中本实施例为图4所示实施例的变化例。FIG. 5 is the implementation details of the method shown in FIG. 2A in another embodiment, where this embodiment is a modification example of the embodiment shown in FIG. 4 .
附图标号:Figure number:
具体实施方式 Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,下面结合附图对本发明实施例做进一步详细说明。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.
请参考图1,图1为依据本发明一第一实施例的一种电子装置100的时脉系统的示意图。例如:电子装置100可代表可携式多媒体播放器诸如MP3播放器或影音播放器。又例如:电子装置100可代表可携式电子装置诸如行动电话或个人数字助理(Personal Digital Assistant,PDA)。然而,这仅为了说明的目的而已,并非对本发明的限制。依据本实施例的某些变化例,电子装置100可代表个人电脑(Personal Computer,PC),诸如桌上型电脑(DesktopComputer)或膝上型电脑(Laptop Computer)。依据本实施例的某些变化例,电子装置100可代表具备触控荧幕的个人电脑。Please refer to FIG. 1 , which is a schematic diagram of a clock system of an
如图1所示,电子装置100包含有:一中央处理单元(Central ProcessingUnit,CPU)110、一中断服务请求(Interrupt Service Request,ISR)监测单元120、一动态调整单元130、以及一时脉控制器140,其中本实施例的时脉控制器140包含一时脉产生器140K。然而,这仅为了说明的目的而已,并非对本发明的限制。依据本实施例的一变化例,时脉产生器140K可设置于时脉控制器140之外。依据本实施例的另一变化例,电子装置100中的至少一部分元件(例如:中央处理单元110、中断服务请求监测单元120、动态调整单元130及/或时脉控制器140)可以整合为同一个元件。此外,电子装置100另包含一中断(Interrupt)路径108,其中电子装置100中的一部分元件诸如中央处理单元110与中断服务请求监测单元120可透过中断路径108接收中断。As shown in FIG. 1 , the
依据本实施例,中央处理单元110用来控制电子装置100的运作。另外,中断服务请求监测单元120用来取得至少一中断服务请求时间tISR并据以计算以产生相对应的一计算结果。例如:中断服务请求监测单元120计算该中断服务请求时间占一期望中断发生时间的比例,以产生该计算结果。此外,动态调整单元130用来依据至少该计算结果与一预定范围的比较结果以动态地决定中央处理单元110的运作频率fCPU_CLK的一目标频率fTARGET。尤其是,当中央处理单元110因应下一次中断的发生进行处理时,动态调整单元130可依据目标频率fTARGET设定运作频率fCPU_CLK,以进行适应性频率调整。According to this embodiment, the
本实施例的中央处理单元时脉CPU_CLK由时脉产生器140K所产生,并输入至中央处理单元110以供其运作所需。实作上,依据动态调整单元130所进行的适应性频率调整,时脉控制器140可控制中央处理单元时脉CPU_CLK的频率;于是,动态调整单元130可透过时脉控制器140控制中央处理单元110的运作频率fCPU_CLK。相关细节请参考图2A来进一步说明。The central processing unit clock CPU_CLK in this embodiment is generated by the
请参考图2A,图2A为依据本发明一实施例的一种用来进行适应性(Adaptive)频率调整的方法910的流程图,其中方法910可应用于图1所示的电子装置100。该方法说明如下。Please refer to FIG. 2A . FIG. 2A is a flowchart of a
步骤912:当中断服务请求监测单元120检测到中断发生时,进入步骤914;否则,进入步骤950。Step 912: When the interrupt service
步骤914:中断服务请求监测单元120储存目前时间(例如:时间点t1),并储存上述的运作频率fCPU_CLK的目前值作为一正常频率fNORMAL。实作上,中断服务请求监测单元120可将时间点t1以及正常频率fNORMAL储存于电子装置100中的一储存器(未显示)。例如:该储存器可为设置于中断服务请求监测单元120之内的暂存器。又例如:该储存器可为设置于中断服务请求监测单元120之外的暂存器或存储器。Step 914: The
步骤916-1:动态调整单元130依据一目标频率诸如上述的目标频率fTARGET设定运作频率fCPU_CLK。依据本实施例,目标频率fTARGET的典型值大于或等于正常频率fNORMAL的典型值。Step 916-1: The
步骤918:中断服务请求监测单元120检查因应中断的发生所进行的处理是否结束。当检测到因应中断的发生所进行的处理已结束时,进入步骤920;否则,重新进入步骤918,等待该处理的结束。然而,这仅为了说明的目的而已,并非对本发明的限制。依据本实施例的一变化例,中断服务请求监测单元120不必一直检查该处理是否结束,而是由中央处理单元110在该处理结束之际主动通知中断服务请求监测单元120,以进入步骤920。Step 918: The interrupt service
步骤920:中断服务请求监测单元120取得中断服务请求时间tISR并据以计算以产生相对应的计算结果。尤其是,中断服务请求监测单元120先取得目前时间诸如时间点t2,然后计算时间差值(t2-t1)作为上述的中断服务请求时间tISR。然而,这仅为了说明的目的而已,并非对本发明的限制。依据本实施例的一变化例,中断服务请求监测单元120针对时间点t1所进行的储存运作可改在步骤916-1之后执行;如此,上述的时间差值(t2-t1)会更加精确。Step 920: The
步骤930:动态调整单元130依据上述的计算结果动态地决定运作频率fCPU_CLK的目标频率fTARGET。实作上,动态调整单元130可将其所决定的目标频率fTARGET储存于电子装置100中的一储存器(未显示)。例如:该储存器可为设置于动态调整单元130之内的暂存器。又例如:该储存器可为设置于动态调整单元130之外的暂存器或存储器。Step 930: The
步骤916-2:动态调整单元130依据正常频率fNORMAL设定运作频率fCPU_CLK。由于本实施例在执行步骤914时,已储存运作频率fCPU_CLK在当时的数值作为正常频率fNORMAL,故正常频率fNORMAL可视为运作频率fCPU_CLK在因应中断的发生所进行的处理之前的数值。请注意,本实施例的运作频率fCPU_CLK在每逢需要针对中断进行处理时是可以动态调整的。尤其是,每逢针对中断进行处理时,本实施例的架构将运作频率fCPU_CLK暂时地设定为可动态调整的目标频率fTARGET(此即运作频率fCPU_CLK在进行中断处理时的临时性的目标值),故在因应中断的发生所进行的处理结束后,就可以将运作频率fCPU_CLK调整回因应中断的发生所进行的处理之前的数值,也就是正常频率fNORMAL。Step 916-2: The
步骤950:中央处理单元110进行正常处理。Step 950: The
依据本实施例,由步骤912、914、916-1、918、920、930与916-2所形成的循环每逢中断发生就执行一次,其中任一次该循环执行时,动态调整单元130可依据当次的计算结果来动态地决定下一次的目标频率fTARGET。在本实施例中,该预定范围具有一高标值UB与一低标值LB;尤其是,该预定范围可表示为区间[LB,UB]。每一次该循环执行时,当次的计算结果可在步骤920产生,且当次的计算结果与该预定范围之间的比较结果可在步骤930产生。另外,当次的比较结果可在步骤930中列入统计,尤其是进行次数累计。According to this embodiment, the loop formed by
实作上,在步骤930中可统计某一类型的比较结果的累计次数有几次、又可统计另一类型的比较结果的累计次数有几次。于是,在步骤930中,动态调整单元130就可依据这些累计次数来选择性地决定调升或调降目标频率fTARGET、或维持目标频率fTARGET的值不予变动。例如:动态调整单元130可依据“计算结果小于低标值LB”的比较结果的累计次数是否达到一预定次数NLB,来选择性地调整目标频率fTARGET。又例如:动态调整单元130可依据“计算结果大于高标值UB”的比较结果的累计次数是否达到一预定次数NUB,来选择性地调整目标频率fTARGET。In practice, in
请注意,在中央处理单元110因应该中断的发生进行处理之初(例如执行步骤914之际),中断服务请求监测单元120储存运作频率fCPU_CLK的目前值,作为正常频率fNORMAL,以供后续利用。因此,在中央处理单元110因应该中断的发生进行处理之后(例如执行步骤916-2之际),动态调整单元130即可依据预先储存的正常频率fNORMAL来设定运作频率fCPU_CLK。另外,步骤916-2在步骤930之后执行。这仅为了说明的目的而已,并非对本发明的限制。依据本实施例的某些变化例,步骤916-2可在步骤918或步骤920之后执行。依据本实施例的其它变化例,步骤916-2的运作可并入步骤918之后的任何步骤诸如步骤920或步骤930之内。Please note that at the beginning when the
图2B为图2A所示的方法910在一变化例中的流程图。上述的方法910在本变化例中改标示为910-1,其中新增了步骤925。本变化例与图2A所示实施例之间的差异说明如下:FIG. 2B is a flowchart of a variation of the
步骤920:中断服务请求监测单元120取得中断服务请求时间tISR并据以计算以产生相对应的计算结果。尤其是,中断服务请求监测单元120先取得目前时间诸如时间点t2,然后计算时间差值(t2-t1)作为上述的中断服务请求时间tISR。然而,这仅为了说明的目的而已,并非对本发明的限制。依据本实施例的一变化例,中断服务请求监测单元120针对时间点t1所进行的储存运作可改在步骤916-1之后执行;如此,上述的时间差值(t2-t1)会更加精确。Step 920: The
步骤925:中断服务请求监测单元120检查是否已符合进入一频率调整流程的条件。在此,该频率调整流程代表由步骤930至步骤916-2的工作流程;该频率调整流程用来动态地调整目标频率fTARGET及/或将运作频率fCPU_CLK暂时地设定为可动态调整的目标频率fTARGET,以进行该适应性频率调整。当检测到已符合进入频率调整流程的条件时,进入步骤930;否则,进入步骤950。Step 925: The
由于本变化例中新增了步骤925,故可以利用进入频率调整流程的条件来控制电子装置100在时脉控制上的运作方式及其效能。例如:进入频率调整流程的条件可预先设定而不再改变。又例如:进入频率调整流程的条件可动态地调整。Since
举例而言,进入频率调整流程的条件可设定为:连续N次中断发生时均预估目标频率fTARGET应予调升、或连续N次中断发生时均预估目标频率fTARGET应予调降时,应进入该频率调整流程。例如:在N=3的状况下,起初两次中断发生只要一遇到步骤925就进入步骤950;在第三次中断发生时,已经连续两次(在此即第一、二次)中断发生时均应予调升目标频率fTARGET;到了第三次中断发生时却应予调降目标频率fTARGET,由于无法连续累计“目标频率fTARGET应予调升”达三次,故将“目标频率fTARGET应予调升”的累计次数重设为零;在第五次中断发生时,已经连续三次(在此即第三、四、五次)中断发生时均应予调降目标频率fTARGET,由于已经连续累计“目标频率fTARGET应予调降”达三次,故判断应进入该频率调整流程。For example, the condition for entering the frequency adjustment process can be set as: when N consecutive interruptions occur, the estimated target frequency f TARGET should be increased, or when N consecutive interruptions occur, the estimated target frequency f TARGET should be adjusted When it drops, it should enter the frequency adjustment process. For example: under the situation of N=3, just enter
图3与图4为图2A所示的方法910在一实施例中的实施细节,尤其是步骤920与步骤930的实施细节。这些实施细节说明如下。FIG. 3 and FIG. 4 are implementation details of the
步骤920可以包括下列步骤:Step 920 may include the following steps:
步骤922:中断服务请求监测单元120计算上述的时间差值(t2-t1),以取得中断服务请求时间tISR。Step 922: The
步骤924:中断服务请求监测单元120计算上述的中断服务请求时间tISR占一期望中断发生时间tEXP的比例FISR2EXP,作为步骤920所述的计算结果。实作上,期望中断发生时间tEXP可为一预定参数,其可使该计算结果易于比较或适于评估之用。尤其是,期望中断发生时间tEXP可设定为一常数。Step 924: The
步骤930可以包括下列步骤:Step 930 may include the following steps:
步骤932:动态调整单元130检查该计算结果(在本实施例即比例FISR2EXP)是否大于高标值UB。当该计算结果大于高标值UB时,进入步骤934;否则,进入步骤942。Step 932: The
步骤934:动态调整单元130检查“计算结果大于高标值UB”的比较结果的累计次数是否达到预定次数NUB。当累计次数达到预定次数NUB时,进入步骤936;否则,进入步骤916-2。Step 934: The
步骤936:动态调整单元130选择性地将目标频率fTARGET调升一等级的预定值,除非目标频率fTARGET已达最高等级的预定值。例如:本实施例中的不同等级的预定值包含预定值fT,1、fT,2、…、与fT,X,而动态调整单元130可择一设定为目标频率fTARGET,其中fT,1<fT,2<…<fT,X,且该最高等级的预定值即为fT,X。实作上,一旦由步骤934进入步骤936,动态调整单元130可将步骤934所述的累计次数清除为零。在执行步骤936之后,进入步骤916-2。Step 936 : The
步骤942:动态调整单元130检查该计算结果(在本实施例即比例FISR2EXP)是否小于低标值LB。当该计算结果小于低标值LB时,进入步骤944;否则,进入步骤916-2。Step 942: The
步骤944:动态调整单元130检查“计算结果小于低标值LB”的比较结果的累计次数是否达到预定次数NLB。当累计次数达到预定次数NLB时,进入步骤946;否则,进入步骤916-2。Step 944: The
步骤946:动态调整单元130选择性地将目标频率fTARGET调降一等级的预定值,除非目标频率fTARGET已达最低等级的预定值。例如:本实施例中的不同等级的预定值包含预定值fT,1、fT,2、…、与fT,X,而动态调整单元130可择一设定为目标频率fTARGET,其中fT,1<fT,2<…<fT,X,且该最低等级的预定值即为fT,1。实作上,一旦由步骤944进入步骤946,动态调整单元130可将步骤944所述的累计次数清除为零。在执行步骤946之后,进入步骤916-2。Step 946 : The
依据本实施例,低标值LB不等于高标值UB;尤其是,低标值LB小于高标值UB。这仅为了说明的目的而已,并非对本发明的限制。依据本实施例的一变化例,低标值LB可等于高标值UB。另外,在本实施例中,预定次数NLB可等于预定次数NUB。这仅为了说明的目的而已,并非对本发明的限制。依据本实施例的一变化例,预定次数NLB可不等于预定次数NUB。According to this embodiment, the low standard value LB is not equal to the high standard value UB; especially, the low standard value LB is smaller than the high standard value UB. This is for illustrative purposes only, not limitation of the invention. According to a variation of this embodiment, the low mark value LB may be equal to the high mark value UB. In addition, in this embodiment, the predetermined number of times N LB may be equal to the predetermined number of times N UB . This is for illustrative purposes only, not limitation of the invention. According to a variation of this embodiment, the predetermined number N LB may not be equal to the predetermined number N UB .
请注意,本实施例的动态调整单元130在步骤932先进行该计算结果与高标值UB的比较,一旦进入步骤942才进行该计算结果与低标值LB的比较。这仅为了说明的目的而已,并非对本发明的限制。依据本实施例的某些变化例诸如图5所示实施例,动态调整单元130可在步骤942先进行该计算结果与低标值LB的比较,一旦进入步骤932才进行该计算结果与高标值UB的比较。本实施例与前述各个实施例/变化例相仿之处不再重复赘述。Please note that the
以上所述仅为本发明的较佳实施例,凡依本发明权利要求范围所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010100028210A CN102129392B (en) | 2010-01-18 | 2010-01-18 | Method and associated electronic device for performing adaptive frequency adjustment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010100028210A CN102129392B (en) | 2010-01-18 | 2010-01-18 | Method and associated electronic device for performing adaptive frequency adjustment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102129392A CN102129392A (en) | 2011-07-20 |
CN102129392B true CN102129392B (en) | 2013-09-04 |
Family
ID=44267481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010100028210A Expired - Fee Related CN102129392B (en) | 2010-01-18 | 2010-01-18 | Method and associated electronic device for performing adaptive frequency adjustment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102129392B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103116418B (en) * | 2013-02-04 | 2016-04-13 | Tcl通讯(宁波)有限公司 | A kind of method of dynamic conditioning touch-screen input detection rates and mobile terminal |
CN104424031B (en) * | 2013-08-23 | 2021-01-26 | 中兴通讯股份有限公司 | Method and device for controlling working frequency of processor |
CN104965885B (en) * | 2015-06-15 | 2018-03-23 | 北京京东尚科信息技术有限公司 | Information processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1168501A (en) * | 1996-01-17 | 1997-12-24 | 德克萨斯仪器股份有限公司 | Method and system for controlling computer operation in response to central processing unit operating characteristics |
CN1338067A (en) * | 1998-12-21 | 2002-02-27 | 西门子信息及通讯网络公司 | Apparatus and method for automatic CPU speed control |
CN1359041A (en) * | 2000-12-18 | 2002-07-17 | 联想(北京)有限公司 | Method for adjusting CPU frequency according to CPU availability |
-
2010
- 2010-01-18 CN CN2010100028210A patent/CN102129392B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1168501A (en) * | 1996-01-17 | 1997-12-24 | 德克萨斯仪器股份有限公司 | Method and system for controlling computer operation in response to central processing unit operating characteristics |
CN1338067A (en) * | 1998-12-21 | 2002-02-27 | 西门子信息及通讯网络公司 | Apparatus and method for automatic CPU speed control |
CN1359041A (en) * | 2000-12-18 | 2002-07-17 | 联想(北京)有限公司 | Method for adjusting CPU frequency according to CPU availability |
Also Published As
Publication number | Publication date |
---|---|
CN102129392A (en) | 2011-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11709534B2 (en) | Method and apparatus for managing global chip power on a multicore system on chip | |
US20180157315A1 (en) | System and method for proactive power and performance management of a workload in a portable computing device | |
US20140317427A1 (en) | Dynamic clock voltage scaling (dcvs) based on application performance in a system-on-a-chip (soc), and related methods and processor-based systems | |
US8909961B2 (en) | Method and apparatus for adjusting power consumption level of an integrated circuit | |
US8364996B2 (en) | Power control device and power control method applied to computer system | |
US9852714B2 (en) | Energy conservation in a controller using dynamic frequency selection | |
CN104571990A (en) | A method and device for adjusting the operating state of a display screen | |
CN110206747B (en) | A server fan control method and system based on component power consumption | |
CN111816178A (en) | Voice equipment control method, device and equipment | |
CN102129392B (en) | Method and associated electronic device for performing adaptive frequency adjustment | |
US9489031B2 (en) | Method to reduce acoustic noise induced by processor performance state changes in response to periodic application workloads | |
CN102157133A (en) | Backlight control device and control method thereof | |
JP6009689B2 (en) | Adaptive voltage scaling system and method | |
TWI497371B (en) | Touch device and measuring voltage dynamic adjustment method thereof | |
US8908719B2 (en) | Clock rate controller and method thereof and electronic device thereof | |
WO2020103027A1 (en) | Network power consumption adjustment method, network power consumption adjustment device, and mobile terminal | |
US11715402B2 (en) | Electronic device with display panel and control method for updating brightness limit of display panel based on temperature | |
TW201419848A (en) | Motion detection circuit and method for detecting motion images thereof | |
JP2011205283A (en) | Signal processor | |
CN116030748A (en) | Method and device for dynamically adjusting chip clock frequency | |
CN114662252B (en) | A method for improving the performance index of complex networked stochastic systems | |
CN103853307A (en) | Electronic device and method for reducing power consumption of processor system | |
CN108736082B (en) | Method, device, equipment and storage medium for improving endurance capacity of terminal battery | |
CN113721755B (en) | Screen power saving method and device | |
CN114816288B (en) | Dynamic frequency adjustment method and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130904 Termination date: 20190118 |