JP4732195B2 - Control program, control device, and control method - Google Patents
Control program, control device, and control method Download PDFInfo
- Publication number
- JP4732195B2 JP4732195B2 JP2006057108A JP2006057108A JP4732195B2 JP 4732195 B2 JP4732195 B2 JP 4732195B2 JP 2006057108 A JP2006057108 A JP 2006057108A JP 2006057108 A JP2006057108 A JP 2006057108A JP 4732195 B2 JP4732195 B2 JP 4732195B2
- Authority
- JP
- Japan
- Prior art keywords
- operation speed
- buffer
- arithmetic circuit
- speed control
- control device
- 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
Images
Landscapes
- Information Transfer Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
本発明は、演算回路の動作速度を制御する動作速度制御プログラム、動作速度制御装置、動作速度制御方法に関するものである。 The present invention relates to an operation speed control program, an operation speed control device, and an operation speed control method for controlling the operation speed of an arithmetic circuit.
近年のLSI(Large Scale Integrated circuit)チップは、消費電力の増加とともに発熱量が大きくなり、LSIの性能の向上の妨げとなっている。そこで、消費電力を下げるために、チップの動作中に電源電圧と動作周波数を下げることにより動作速度を下げる機能を備えたハードウェアが実用化されている。 In recent years, LSI (Large Scale Integrated circuit) chips generate a large amount of heat as power consumption increases, which hinders improvement in LSI performance. Therefore, in order to reduce power consumption, hardware having a function of reducing the operation speed by reducing the power supply voltage and the operation frequency during the operation of the chip has been put into practical use.
なお、本発明の関連ある従来技術として、MPEG(Moving Picture Experts Group)ストリームの復号化において、MPEGストリームの特性に応じて、電源電圧や動作周波数を動的に増加させることにより、QoS(Quality of Service)を維持するためのものがある(例えば、特許文献1参照)。
しかしながら、上述した消費電力低減のための機能は、動作中のどのタイミングで電源電圧と動作周波数を変化させるかというスケジューリングの問題を抱えている。また、アプリケーションを特定すれば、最適なスケジューリングが求められるケースもあるが、汎用的なスケジューリング方法は存在していない。 However, the above-described function for reducing power consumption has a scheduling problem as to which power supply voltage and operating frequency are changed during operation. In addition, there are cases where optimum scheduling is required if an application is specified, but there is no general-purpose scheduling method.
また、上述したMPEGストリームの復号化において適切な電源電圧や動作周波数の制御を行うためには、MPEGの専門知識を持つ設計者がMPEGのパラメータを用いた専用の制御方法を設計する必要がある。 In addition, in order to perform appropriate power supply voltage and operating frequency control in the above-described MPEG stream decoding, a designer having MPEG expertise needs to design a dedicated control method using MPEG parameters. .
本発明は上述した問題点を解決するためになされたものであり、演算回路に対する汎用的な動作速度の制御を行うことができる動作速度制御プログラム、動作速度制御装置、動作速度制御方法を提供することを目的とする。 The present invention has been made to solve the above-described problems, and provides an operation speed control program, an operation speed control apparatus, and an operation speed control method capable of performing general-purpose operation speed control for an arithmetic circuit. For the purpose.
上述した課題を解決するため、本発明は、少なくとも一つの演算回路であって、その入出力側の少なくともいずれか一方側に設けられた少なくとも一つのバッファを有する演算回路の動作速度の制御をコンピュータに実行させる動作速度制御プログラムであって、前記演算回路の処理状態による影響を受けるバッファの状態をバッファ状態値として取得するバッファ状態取得ステップと、前記バッファ状態取得ステップにより取得されたバッファ状態値に基づいて、前記演算回路の動作速度に影響を与えるパラメータである動作速度パラメータの設定を行う動作速度パラメータ設定ステップとをコンピュータに実行させるものである。 In order to solve the above-described problems, the present invention provides a computer for controlling the operation speed of an arithmetic circuit which is at least one arithmetic circuit and has at least one buffer provided on at least one of its input / output sides. An operation speed control program to be executed, wherein a buffer status acquisition step for acquiring a buffer status affected by a processing status of the arithmetic circuit as a buffer status value; and a buffer status value acquired by the buffer status acquisition step. Based on this, the computer is caused to execute an operation speed parameter setting step for setting an operation speed parameter that is a parameter that affects the operation speed of the arithmetic circuit.
また、本発明に係る動作速度制御プログラムにおいて、前記動作速度パラメータ設定ステップは、予め設定された閾値と前記バッファ状態値との比較を行い、前記バッファ状態値が前記閾値を上回った場合、もしくは下回った場合に前記動作速度パラメータの切り替えを行うことを特徴とするものである。 In the operating speed control program according to the present invention, the operating speed parameter setting step compares a preset threshold value with the buffer status value, and when the buffer status value exceeds or falls below the threshold value. In this case, the operation speed parameter is switched.
また、本発明に係る動作速度制御プログラムにおいて、前記動作速度パラメータ設定ステップは、前記演算回路において割り込み処理が入る可能性に基づいて、前記閾値を変化させることを特徴とするものである。 In the operating speed control program according to the present invention, the operating speed parameter setting step is characterized in that the threshold value is changed based on a possibility that an interrupt process is entered in the arithmetic circuit.
また、本発明に係る動作速度制御プログラムにおいて、前記動作速度パラメータ設定ステップは、前記バッファ状態値と所定の関数を用いて前記動作速度パラメータを算出することを特徴とするものである。 In the operating speed control program according to the present invention, the operating speed parameter setting step calculates the operating speed parameter using the buffer state value and a predetermined function.
また、本発明に係る動作速度制御プログラムにおいて、前記演算回路の影響を受けるバッファは、前記演算回路の入力に接続されたバッファ、前記演算回路の出力に接続されたバッファ、前記演算回路に他の回路を介して接続されたバッファのいずれかを含むことを特徴とするものである。 In the operation speed control program according to the present invention, the buffer affected by the arithmetic circuit includes a buffer connected to the input of the arithmetic circuit, a buffer connected to the output of the arithmetic circuit, One of the buffers connected through the circuit is included.
また、本発明に係る動作速度制御プログラムにおいて、前記バッファ状態取得ステップは、複数のバッファから取得したバッファ状態値に基づいて新たなバッファ状態値を算出し、前記動作速度パラメータ設定ステップは、前記新たなバッファ状態値に基づいて動作速度パラメータの設定を行うことを特徴とするものである。 In the operation speed control program according to the present invention, the buffer state acquisition step calculates a new buffer state value based on buffer state values acquired from a plurality of buffers, and the operation speed parameter setting step includes the new operation state parameter setting step. The operation speed parameter is set based on the buffer state value.
また、本発明に係る動作速度制御プログラムにおいて、前記動作速度パラメータ設定ステップは、複数の演算回路に対して動作速度パラメータの設定を行うことを特徴とするものである。 In the operating speed control program according to the present invention, the operating speed parameter setting step sets operating speed parameters for a plurality of arithmetic circuits.
また、本発明に係る動作速度制御プログラムにおいて、前記バッファ状態値は、前記バッファに溜まっているデータ量であることを特徴とするものである。 In the operation speed control program according to the present invention, the buffer state value is an amount of data accumulated in the buffer.
また、本発明に係る動作速度制御プログラムにおいて、前記動作速度パラメータは、前記演算回路の電源電圧または動作周波数を含むことを特徴とするものである。 In the operating speed control program according to the present invention, the operating speed parameter includes a power supply voltage or an operating frequency of the arithmetic circuit.
また、本発明は、少なくとも一つの演算回路であって、その入出力側の少なくともいずれか一方側に設けられた少なくとも一つのバッファを有する演算回路の動作速度の制御を行う動作速度制御装置であって、前記演算回路の処理状態による影響を受けるバッファの状態をバッファ状態値として取得するバッファ状態取得部と、前記バッファ状態取得部により取得されたバッファ状態値に基づいて、前記演算回路の動作速度に影響を与えるパラメータである動作速度パラメータの設定を行う動作速度パラメータ設定部とを備えたものである。 The present invention also relates to an operation speed control device that controls the operation speed of an operation circuit that includes at least one operation circuit that includes at least one buffer provided on at least one of its input and output sides. A buffer state acquisition unit for acquiring a buffer state affected by the processing state of the arithmetic circuit as a buffer state value; and an operation speed of the arithmetic circuit based on the buffer state value acquired by the buffer state acquisition unit. And an operation speed parameter setting unit for setting an operation speed parameter that is a parameter that affects the operation.
また、本発明に係る動作速度制御装置において、前記動作速度パラメータ設定部は、予め設定された閾値と前記バッファ状態値との比較を行い、前記バッファ状態値が前記閾値を上回った場合、もしくは下回った場合に前記動作速度パラメータの切り替えを行うことを特徴とするものである。 In the operation speed control device according to the present invention, the operation speed parameter setting unit compares a preset threshold value with the buffer status value, and when the buffer status value exceeds or falls below the threshold value. In this case, the operation speed parameter is switched.
また、本発明に係る動作速度制御装置において、前記動作速度パラメータ設定部は、前記演算回路において割り込み処理が入る可能性に基づいて、前記閾値を変化させることを特徴とするものである。 In the operation speed control device according to the present invention, the operation speed parameter setting unit changes the threshold based on a possibility that an interrupt process is entered in the arithmetic circuit.
また、本発明に係る動作速度制御装置において、前記動作速度パラメータ設定部は、前記バッファ状態値と所定の関数を用いて前記動作速度パラメータを算出することを特徴とするものである。 In the operation speed control device according to the present invention, the operation speed parameter setting unit calculates the operation speed parameter using the buffer state value and a predetermined function.
また、本発明に係る動作速度制御装置において、前記演算回路の影響を受けるバッファは、前記演算回路の入力に接続されたバッファ、前記演算回路の出力に接続されたバッファ、前記演算回路に他の回路を介して接続されたバッファのいずれかを含むことを特徴とするものである。 In the operation speed control device according to the present invention, the buffer affected by the arithmetic circuit may include a buffer connected to the input of the arithmetic circuit, a buffer connected to the output of the arithmetic circuit, One of the buffers connected through the circuit is included.
また、本発明に係る動作速度制御装置において、前記バッファ状態取得部は、複数のバッファから取得したバッファ状態値に基づいて新たなバッファ状態値を算出し、前記動作速度パラメータ設定部は、前記新たなバッファ状態値に基づいて動作速度パラメータの設定を行うことを特徴とするものである。 In the operation speed control device according to the present invention, the buffer state acquisition unit calculates a new buffer state value based on buffer state values acquired from a plurality of buffers, and the operation speed parameter setting unit The operation speed parameter is set based on the buffer state value.
また、本発明に係る動作速度制御装置において、前記動作速度パラメータ設定部は、複数の演算回路に対して動作速度パラメータの設定を行うことを特徴とするものである。 In the operation speed control device according to the present invention, the operation speed parameter setting unit sets operation speed parameters for a plurality of arithmetic circuits.
また、本発明に係る動作速度制御装置において、前記バッファ状態値は、前記バッファに溜まっているデータ量であることを特徴とするものである。 In the operation speed control device according to the present invention, the buffer state value is an amount of data accumulated in the buffer.
また、本発明に係る動作速度制御装置において、前記動作速度パラメータは、前記演算回路の電源電圧または動作周波数を含むことを特徴とするものである。 In the operation speed control device according to the present invention, the operation speed parameter includes a power supply voltage or an operation frequency of the arithmetic circuit.
また、本発明は、少なくとも一つの演算回路であって、その入出力側の少なくともいずれか一方側に設けられた少なくとも一つのバッファを有する演算回路の動作速度の制御を行う動作速度制御方法であって、前記演算回路の処理状態による影響を受けるバッファの状態をバッファ状態値として取得するバッファ状態取得ステップと、前記バッファ状態取得ステップにより取得されたバッファ状態値に基づいて、前記演算回路の動作速度に影響を与えるパラメータである動作速度パラメータの設定を行う動作速度パラメータ設定ステップとを実行するものである。 The present invention is also an operating speed control method for controlling the operating speed of an arithmetic circuit which is at least one arithmetic circuit and has at least one buffer provided on at least one of its input / output sides. A buffer state acquisition step for acquiring a buffer state affected by the processing state of the arithmetic circuit as a buffer state value, and an operation speed of the arithmetic circuit based on the buffer state value acquired by the buffer state acquisition step. An operation speed parameter setting step for setting an operation speed parameter that is a parameter that affects the operation is executed.
本発明によれば、演算回路に対する汎用的な動作速度の制御を行うことができる。 According to the present invention, it is possible to control the general-purpose operation speed for the arithmetic circuit.
以下、本発明の実施の形態について図面を参照しつつ説明する。 Embodiments of the present invention will be described below with reference to the drawings.
本実施の形態においては、動作速度制御装置をMPEG2デコーダに適用した例について説明する。 In the present embodiment, an example in which the operation speed control device is applied to an MPEG2 decoder will be described.
まず、MPEG2デコーダの構成について説明する。 First, the configuration of the MPEG2 decoder will be described.
図1は、本実施の形態に係るMPEG2デコーダの構成の一例を示すブロック図である。このMPEG2デコーダは、バッファ10a,10b,10c,10d、VLD(Variable Length Decoding)/IQ(Inverse Quantization)部11、IDCT(Inverse Discrete Cosine Transform)部12、MC(Motion Compensation)部13、動作速度制御部20を備える。また、動作速度制御部20は、バッファ状態取得部21、動作速度パラメータ設定部22を備える。
FIG. 1 is a block diagram showing an example of the configuration of an MPEG2 decoder according to the present embodiment. This MPEG2 decoder includes
本実施の形態において、VLD/IQ部11、IDCT部12、MC部13は、同一の電源電圧および同一の動作周波数で動作するものとする。また、これらが取り得る電源電圧の値は2つ(VH,VL)とし、取り得る動作周波数の値は2つ(FH,FL)とする。VH,VLおよびFH,FLの関係は、それぞれ、VH>VL,FH>FLとする。
In the present embodiment, it is assumed that VLD /
また、MPEG2デコーダに入力されるビットストリームの条件を以下に示す。 The conditions of the bit stream input to the MPEG2 decoder are shown below.
・ビットレート=5Mbps
(この値は、MPEG2デコーダアプリケーションの入力環境に依存する)
・画面サイズ=720×480ピクセル
・4:2:0フォーマット
・マクロブロック=8×8ピクセル
-Bit rate = 5 Mbps
(This value depends on the input environment of the MPEG2 decoder application)
-Screen size = 720 x 480 pixels-4: 2: 0 format-Macroblock = 8 x 8 pixels
また、MPEG2デコーダから出力されるビデオ信号は、30フレーム/秒とする。出力されるフレーム数がこの値を下回ると、コマ落ちなどが発生し、正常な画像表示ができなくなる。 The video signal output from the MPEG2 decoder is 30 frames / second. If the number of output frames falls below this value, frame dropping or the like occurs, and normal image display cannot be performed.
まず、MPEG2復号化の動作について説明する。 First, the operation of MPEG2 decoding will be described.
MPEG2デコーダに入力されたMPEG2のビットストリームは、ビット単位でバッファ10aに書き込まれる。VLD/IQ部11は、バッファ10aから読み出したデータに対して可変長復号化と逆量子化を行い、その結果をピクセル単位でバッファ10bに書き込む。IDCT部12は、バッファ10bから読み出したデータに対して逆離散コサイン変換を行い、その結果をマクロブロック単位でバッファ10cに書き込む。MC部13は、バッファ10cから読み出したデータに対して動き補償を行い、その結果をフレーム単位でバッファ10dに書き込む。バッファ10dのデータは、ビデオ信号としてMPEG2デコーダから出力される。
The MPEG2 bit stream input to the MPEG2 decoder is written to the
次に、動作速度制御部20の動作について説明する。
Next, the operation of the operation
図2は、本実施の形態に係る動作速度制御部の動作の一例を示すフローチャートである。ここで、動作速度パラメータ設定部22は、動作速度に影響を与えるパラメータである動作速度パラメータとして、電源電圧(VHまたはVL)と動作周波数(FHまたはFL)を、VLD/IQ部11、IDCT部12、MC部13に与えている。まず、バッファ状態取得部21は、バッファの状態を表すバッファ状態値として、各バッファのデータ量を読み込む(S11)。バッファ10aは溜まっているデータ量NB(ビット数)を、バッファ10bは溜まっているデータ量NP(ピクセル数)を、バッファ10cは溜まっているデータ量NM(マクロブロック数)を、バッファ10dは溜まっているデータ量NF(フレーム数)を、それぞれバッファ状態取得部21へ通知する。
FIG. 2 is a flowchart showing an example of the operation of the operation speed control unit according to the present embodiment. Here, the operation speed
次に、バッファ状態取得部21は、NB,NP,NM,NFに基づく新たなバッファ状態値として、MPEG2デコーダに溜まっている総データ量NTの計算を行う(S12)。
Next, the buffer
NB,NP,NM,NFの関係について、MPEG2の仕様により、例えば、以下の換算式が得られる。 Regarding the relationship between NB, NP, NM, and NF, for example, the following conversion formula can be obtained according to the specifications of MPEG2.
・1フレーム=720×480×1.5/(8×8)=8100マクロブロック
(4:2:0フォーマットなので、1フレームは、画面サイズの1.5(4+2)/4倍のピクセル(画素)で構成される。)
・1マクロブロック=8×8=64ピクセル
・1ピクセル=5Mbps/(720×480×1.5×30)=0.32ビット
(入力側は1秒あたり5Mビット、出力側は1秒あたり30フレームなので、出力側の1ピクセルは入力側の0.32ビットに相当する。)
1 frame = 720 × 480 × 1.5 / (8 × 8) = 8100 macroblock (4: 2: 0 format, so one frame is 1.5 (4 + 2) / 4 times the screen size (pixel )
1 macroblock = 8 × 8 = 64 pixels 1 pixel = 5 Mbps / (720 × 480 × 1.5 × 30) = 0.32 bits (5 Mbit per second on the input side, 30 per second on the output side) (Because it is a frame, one pixel on the output side corresponds to 0.32 bits on the input side.)
NB,NP,NM,NFからピクセル数で表した総データ量NTを算出する式f(NF,NM,NP,NB)は、以下の式で表される。 A formula f (NF, NM, NP, NB) for calculating the total data amount NT expressed by the number of pixels from NB, NP, NM, NF is expressed by the following formula.
・NT=f(NF,NM,NP,NB)
=(8100×64)×NF+64×NM+NP+(1/0.32)×NB
・ NT = f (NF, NM, NP, NB)
= (8100 × 64) × NF + 64 × NM + NP + (1 / 0.32) × NB
次に、動作速度パラメータ設定部22は、低閾値TLの調整を行う(S21)。ここで、動作速度パラメータ設定部22は、MPEG2デコーダにおいて、MPEG2デコード以外に割り込み処理が入る可能性がある場合、TLを通常より高く設定する。例えば、1秒間に割り込み処理が占める時間が最悪1/30と予測される場合、TLを1増加させる。1/30秒は1フレームの出力時間に相当するためである。
Next, the operation speed
次に、動作速度パラメータ設定部22は、NFがTLを下回るか否かの判断を行う(S22)。NFがTLを下回る場合(S22,Y)、動作速度パラメータ設定部22は、電源電圧と動作周波数をそれぞれVH,FHに変更し(S23)、このフローを終了する。即ち、最終バッファのデータ量であるNFが小さい場合、正常な画像表示を維持するために動作速度を高くする。
Next, the operation speed
一方、NFがTLを下回らない場合(S22,N)、動作速度パラメータ設定部22は、NTがTHを上回るか否かの判断を行う(S24)。NTがTHを上回る場合(S24,Y)、動作速度パラメータ設定部22は、電源電圧と動作周波数をそれぞれVL,FLに変更し(S25)、このフローを終了する。即ち、全バッファのデータ量を表すNTが大きい場合、消費電力削減のために動作速度を低くする。一方、NTがTHを上回らない場合(S24,N)、このフローを終了する。以後、このフローは、所定の時間毎に繰り返し実行される。
On the other hand, when NF does not fall below TL (S22, N), the operation speed
本実施の形態においては、バッファの状態を表すバッファ状態値(データ量)を取得し、演算回路(VLD/IQ部11、IDCT部12、MC部13)の動作速度パラメータ(電源電圧と動作周波数)を設定する動作速度制御装置(動作速度制御部20)について述べた。
In the present embodiment, a buffer state value (data amount) representing the state of the buffer is acquired, and operating speed parameters (power supply voltage and operating frequency) of the arithmetic circuit (VLD /
このように、動作速度制御部20がバッファ10a,10b,10c,10d内のデータ量に応じて動作速度を切り替えることにより、動作速度が高過ぎることによる消費電力の増大や、動作速度が低過ぎることによる機能の低下を防ぎ、演算回路が適切な動作速度で動作することができる。また、MPEG2デコーダに関する専門知識がなくても、適切な動作速度の制御を実現することができる。
As described above, the operation
なお、本実施の形態においては、動作速度を下げる判断と動作速度を上げる判断で異なるバッファ状態値(NT、NF)を用いたが、動作速度を下げる判断と動作速度を上げる判断の両方に同一のバッファ状態値を用いてもよい。また、本実施の形態においては、電源電圧と動作周波数の両方を変化させることにより、動作速度を制御したが、電源電圧と動作周波数のうち一方のみを変化させても良い。また、本実施の形態において、動作速度制御部20は、バッファ状態値と閾値の比較の結果に基づいて動作速度パラメータを切り替えたが、バッファ状態値から動作速度パラメータを算出する所定の関数を用いてバッファ状態値から動作速度パラメータを算出するようにしても良い。
In the present embodiment, different buffer state values (NT, NF) are used for the determination to lower the operation speed and the determination to increase the operation speed. However, the same is used for both the determination to decrease the operation speed and the determination to increase the operation speed. May be used. In this embodiment, the operating speed is controlled by changing both the power supply voltage and the operating frequency. However, only one of the power supply voltage and the operating frequency may be changed. In the present embodiment, the operation
また、本実施の形態における動作速度制御部20は、全ての演算回路に対して同一の電源電圧および同一の動作周波数を設定するとしたが、複数の演算回路に対して異なる電源電圧や動作周波数を設定しても良いし、複数の演算回路に対して異なるバッファ状態値を用いて異なる電源電圧や動作周波数を決定しても良い。
Moreover, although the operation
その他の動作速度制御装置の例について説明する。 Examples of other operation speed control devices will be described.
図3は、本実施の形態に係る演算装置の構成の一例を示すブロック図である。この演算装置は、バッファ30、演算回路31,32、動作速度制御部40を備える。バッファ30は、演算回路31の後段であり、演算回路32の前段である。動作速度制御部40の構成は、動作速度制御部20と同様であるが、処理の内容が異なる。
FIG. 3 is a block diagram illustrating an example of the configuration of the arithmetic device according to the present embodiment. The arithmetic device includes a
動作速度制御部40は、バッファ30のデータ量Nを取得し、Nに対して予め低閾値Aと高閾値Bとを設定しておく。N<Aの場合、動作速度制御部20は、前段の演算回路31の動作速度を上げる。また、N>Bの場合、動作速度制御部20は、前段の演算回路31の動作速度を下げる。図4は、本実施の形態に係るバッファ内データ量の時間変化の一例を示すグラフである。
The operation
このように、動作速度制御部40がバッファ30内のデータ量に応じて動作速度を切り替えることにより、動作速度が高過ぎることによる消費電力の増大や、動作速度が低過ぎることによる機能の低下を防ぎ、演算回路が適切な動作速度で動作することができる。また、演算回路31,32に関する専門知識がなくても、適切な動作速度の制御を実現することができる。
As described above, the operation
なお、N<Aの場合、動作速度制御部40は、後段の演算回路32の動作速度を下げても良い。また、N>Bの場合、動作速度制御部40は、後段の演算回路32の動作速度を上げても良い。
When N <A, the operation
また、この動作速度制御部40は、演算回路が直接入力に用いるバッファや演算回路が直接出力に用いるバッファの状態に基づいて、演算回路の動作速度の制御を行ったが、演算回路の入力または出力に他の回路を介して接続されたバッファの状態に基づいて、演算回路の動作速度の制御を行っても良い。
The operation
また、本実施の形態に係る動作速度制御装置は、情報処理装置に容易に適用することができ、情報処理装置の性能をより高めることができる。ここで、情報処理装置には、ハードウェアで演算を行う演算回路を備えた装置、ソフトウェアで演算を行う演算回路を備えた装置が含まれ得る。 In addition, the operation speed control device according to the present embodiment can be easily applied to the information processing device, and can further improve the performance of the information processing device. Here, the information processing apparatus may include an apparatus including an arithmetic circuit that performs an operation using hardware and an apparatus including an arithmetic circuit that performs an operation using software.
更に、動作速度制御装置を構成するコンピュータにおいて上述した各ステップを実行させるプログラムを、動作速度制御プログラムとして提供することができる。上述したプログラムは、コンピュータにより読取り可能な記録媒体に記憶させることによって、動作速度制御装置を構成するコンピュータに実行させることが可能となる。ここで、上記コンピュータにより読取り可能な記録媒体としては、ROMやRAM等のコンピュータに内部実装される内部記憶装置、CD−ROMやフレキシブルディスク、DVDディスク、光磁気ディスク、ICカード等の可搬型記憶媒体や、コンピュータプログラムを保持するデータベース、或いは、他のコンピュータ並びにそのデータベースや、更に回線上の伝送媒体をも含むものである。 Furthermore, a program that causes a computer constituting the operation speed control apparatus to execute the above steps can be provided as an operation speed control program. By storing the above-described program in a computer-readable recording medium, the computer constituting the operation speed control device can be executed. Here, examples of the recording medium readable by the computer include an internal storage device such as a ROM and a RAM, a portable storage such as a CD-ROM, a flexible disk, a DVD disk, a magneto-optical disk, and an IC card. It includes a medium, a database holding a computer program, another computer and its database, and a transmission medium on a line.
なお、バッファ状態取得ステップは、実施の形態における処理S11,S12に対応する。また、動作速度パラメータ設定ステップは、実施の形態における処理S21〜S25に対応する。 The buffer state acquisition step corresponds to the processes S11 and S12 in the embodiment. The operation speed parameter setting step corresponds to steps S21 to S25 in the embodiment.
(付記1) 少なくとも一つの演算回路であって、その入出力側の少なくともいずれか一方側に設けられた少なくとも一つのバッファを有する演算回路の動作速度の制御をコンピュータに実行させる動作速度制御プログラムであって、
前記演算回路の処理状態による影響を受けるバッファの状態をバッファ状態値として取得するバッファ状態取得ステップと、
前記バッファ状態取得ステップにより取得されたバッファ状態値に基づいて、前記演算回路の動作速度に影響を与えるパラメータである動作速度パラメータの設定を行う動作速度パラメータ設定ステップと
をコンピュータに実行させる動作速度制御プログラム。
(付記2) 付記1に記載の動作速度制御プログラムにおいて、
前記動作速度パラメータ設定ステップは、予め設定された閾値と前記バッファ状態値との比較を行い、前記バッファ状態値が前記閾値を上回った場合、もしくは下回った場合に前記動作速度パラメータの切り替えを行うことを特徴とする動作速度制御プログラム。
(付記3) 付記2に記載の動作速度制御プログラムにおいて、
前記動作速度パラメータ設定ステップは、前記演算回路において割り込み処理が入る可能性に基づいて、前記閾値を変化させることを特徴とする動作速度制御プログラム。
(付記4) 付記1に記載の動作速度制御プログラムにおいて、
前記動作速度パラメータ設定ステップは、前記バッファ状態値と所定の関数を用いて前記動作速度パラメータを算出することを特徴とする動作速度制御プログラム。
(付記5) 付記1乃至付記4のいずれかに記載の動作速度制御プログラムにおいて、
前記演算回路の影響を受けるバッファは、前記演算回路の入力に接続されたバッファ、前記演算回路の出力に接続されたバッファ、前記演算回路に他の回路を介して接続されたバッファのいずれかを含むことを特徴とする動作速度制御プログラム。
(付記6) 付記1乃至付記5のいずれかに記載の動作速度制御プログラムにおいて、
前記バッファ状態取得ステップは、複数のバッファから取得したバッファ状態値に基づいて新たなバッファ状態値を算出し、
前記動作速度パラメータ設定ステップは、前記新たなバッファ状態値に基づいて動作速度パラメータの設定を行うことを特徴とする動作速度制御プログラム。
(付記7) 付記1乃至付記6のいずれかに記載の動作速度制御プログラムにおいて、
前記動作速度パラメータ設定ステップは、複数の演算回路に対して動作速度パラメータの設定を行うことを特徴とする動作速度制御プログラム。
(付記8) 付記1乃至付記7のいずれかに記載の動作速度制御プログラムにおいて、
前記バッファ状態値は、前記バッファに溜まっているデータ量であることを特徴とする動作速度制御プログラム。
(付記9) 付記1乃至付記8のいずれかに記載の動作速度制御プログラムにおいて、
前記動作速度パラメータは、前記演算回路の電源電圧または動作周波数を含むことを特徴とする動作速度制御プログラム。
(付記10) 少なくとも一つの演算回路であって、その入出力側の少なくともいずれか一方側に設けられた少なくとも一つのバッファを有する演算回路の動作速度の制御を行う動作速度制御装置であって、
前記演算回路の処理状態による影響を受けるバッファの状態をバッファ状態値として取得するバッファ状態取得部と、
前記バッファ状態取得部により取得されたバッファ状態値に基づいて、前記演算回路の動作速度に影響を与えるパラメータである動作速度パラメータの設定を行う動作速度パラメータ設定部と
を備える動作速度制御装置。
(付記11) 付記10に記載の動作速度制御装置において、
前記動作速度パラメータ設定部は、予め設定された閾値と前記バッファ状態値との比較を行い、前記バッファ状態値が前記閾値を上回った場合、もしくは下回った場合に前記動作速度パラメータの切り替えを行うことを特徴とする動作速度制御装置。
(付記12) 付記11に記載の動作速度制御装置において、
前記動作速度パラメータ設定部は、前記演算回路において割り込み処理が入る可能性に基づいて、前記閾値を変化させることを特徴とする動作速度制御装置。
(付記13) 付記12に記載の動作速度制御装置において、
前記動作速度パラメータ設定部は、前記バッファ状態値と所定の関数を用いて前記動作速度パラメータを算出することを特徴とする動作速度制御装置。
(付記14) 付記10乃至付記13のいずれかに記載の動作速度制御装置において、
前記演算回路の影響を受けるバッファは、前記演算回路の入力に接続されたバッファ、前記演算回路の出力に接続されたバッファ、前記演算回路に他の回路を介して接続されたバッファのいずれかを含むことを特徴とする動作速度制御装置。
(付記15) 付記10乃至付記14のいずれかに記載の動作速度制御装置において、
前記バッファ状態取得部は、複数のバッファから取得したバッファ状態値に基づいて新たなバッファ状態値を算出し、
前記動作速度パラメータ設定部は、前記新たなバッファ状態値に基づいて動作速度パラメータの設定を行うことを特徴とする動作速度制御装置。
(付記16) 付記10乃至付記15のいずれかに記載の動作速度制御装置において、
前記動作速度パラメータ設定部は、複数の演算回路に対して動作速度パラメータの設定を行うことを特徴とする動作速度制御装置。
(付記17) 付記10乃至付記16のいずれかに記載の動作速度制御装置において、
前記バッファ状態値は、前記バッファに溜まっているデータ量であることを特徴とする動作速度制御装置。
(付記18) 付記10乃至付記17のいずれかに記載の動作速度制御装置において、
前記動作速度パラメータは、前記演算回路の電源電圧または動作周波数を含むことを特徴とする動作速度制御装置。
(付記19) 少なくとも一つの演算回路であって、その入出力側の少なくともいずれか一方側に設けられた少なくとも一つのバッファを有する演算回路の動作速度の制御を行う動作速度制御方法であって、
前記演算回路の処理状態による影響を受けるバッファの状態をバッファ状態値として取得するバッファ状態取得ステップと、
前記バッファ状態取得ステップにより取得されたバッファ状態値に基づいて、前記演算回路の動作速度に影響を与えるパラメータである動作速度パラメータの設定を行う動作速度パラメータ設定ステップと
を実行する動作速度制御方法。
(付記20) 付記19に記載の動作速度制御方法において、
前記動作速度パラメータ設定ステップは、予め設定された閾値と前記バッファ状態値との比較を行い、前記バッファ状態値が前記閾値を上回った場合、もしくは下回った場合に前記動作速度パラメータの切り替えを行うことを特徴とする動作速度制御方法。
(Supplementary Note 1) An operating speed control program for causing a computer to control the operating speed of at least one arithmetic circuit and having at least one buffer provided on at least one of its input / output sides. There,
A buffer status acquisition step for acquiring a buffer status affected by the processing status of the arithmetic circuit as a buffer status value;
An operation speed control for causing a computer to execute an operation speed parameter setting step for setting an operation speed parameter that is a parameter affecting the operation speed of the arithmetic circuit based on the buffer state value acquired by the buffer state acquisition step. program.
(Supplementary note 2) In the operation speed control program described in supplementary note 1,
The operation speed parameter setting step compares a preset threshold value with the buffer state value, and switches the operation speed parameter when the buffer state value exceeds or falls below the threshold value. An operating speed control program.
(Appendix 3) In the operation speed control program described in Appendix 2,
The operating speed control program characterized in that the operating speed parameter setting step changes the threshold based on the possibility of interrupt processing entering in the arithmetic circuit.
(Supplementary Note 4) In the operation speed control program described in Supplementary Note 1,
The operating speed parameter setting step calculates the operating speed parameter using the buffer state value and a predetermined function.
(Supplementary Note 5) In the operation speed control program according to any one of Supplementary Notes 1 to 4,
The buffer affected by the arithmetic circuit is a buffer connected to the input of the arithmetic circuit, a buffer connected to the output of the arithmetic circuit, or a buffer connected to the arithmetic circuit through another circuit. An operating speed control program comprising:
(Supplementary note 6) In the operation speed control program according to any one of supplementary notes 1 to 5,
The buffer status acquisition step calculates a new buffer status value based on buffer status values acquired from a plurality of buffers,
The operating speed parameter setting step sets an operating speed parameter based on the new buffer state value.
(Supplementary note 7) In the operation speed control program according to any one of supplementary notes 1 to 6,
The operating speed parameter setting step sets operating speed parameters for a plurality of arithmetic circuits.
(Supplementary note 8) In the operation speed control program according to any one of supplementary notes 1 to 7,
The operation speed control program, wherein the buffer status value is an amount of data accumulated in the buffer.
(Supplementary note 9) In the operation speed control program according to any one of supplementary notes 1 to 8,
The operating speed control program, wherein the operating speed parameter includes a power supply voltage or an operating frequency of the arithmetic circuit.
(Supplementary Note 10) An operation speed control device that controls the operation speed of an arithmetic circuit that is at least one arithmetic circuit and has at least one buffer provided on at least one of its input and output sides.
A buffer status acquisition unit that acquires a buffer status affected by the processing status of the arithmetic circuit as a buffer status value;
An operation speed control device comprising: an operation speed parameter setting unit configured to set an operation speed parameter that is a parameter affecting the operation speed of the arithmetic circuit based on the buffer state value acquired by the buffer state acquisition unit.
(Supplementary note 11) In the operation speed control device according to supplementary note 10,
The operating speed parameter setting unit compares a preset threshold value with the buffer status value, and switches the operating speed parameter when the buffer status value exceeds or falls below the threshold value. An operation speed control device.
(Supplementary note 12) In the operation speed control device according to
The operation speed control device is characterized in that the operation speed parameter setting unit changes the threshold value based on a possibility that an interrupt process is entered in the arithmetic circuit.
(Supplementary note 13) In the operation speed control device according to
The operation speed parameter setting unit calculates the operation speed parameter using the buffer state value and a predetermined function.
(Supplementary Note 14) In the operation speed control device according to any one of Supplementary Notes 10 to 13,
The buffer affected by the arithmetic circuit is a buffer connected to the input of the arithmetic circuit, a buffer connected to the output of the arithmetic circuit, or a buffer connected to the arithmetic circuit through another circuit. An operation speed control device comprising:
(Supplementary Note 15) In the operation speed control device according to any one of Supplementary Notes 10 to 14,
The buffer status acquisition unit calculates a new buffer status value based on buffer status values acquired from a plurality of buffers,
The operation speed parameter setting unit sets an operation speed parameter based on the new buffer state value.
(Supplementary Note 16) In the operation speed control device according to any one of Supplementary Notes 10 to 15,
The operating speed parameter setting unit sets operating speed parameters for a plurality of arithmetic circuits.
(Supplementary Note 17) In the operation speed control device according to any one of Supplementary Notes 10 to 16,
The operation speed control device, wherein the buffer status value is an amount of data accumulated in the buffer.
(Supplementary note 18) In the operation speed control device according to any one of supplementary note 10 to supplementary note 17,
The operation speed control device, wherein the operation speed parameter includes a power supply voltage or an operation frequency of the arithmetic circuit.
(Supplementary note 19) An operation speed control method for controlling the operation speed of an arithmetic circuit which is at least one arithmetic circuit and has at least one buffer provided on at least one of its input and output sides,
A buffer status acquisition step for acquiring a buffer status affected by the processing status of the arithmetic circuit as a buffer status value;
An operation speed control method for executing an operation speed parameter setting step for setting an operation speed parameter, which is a parameter affecting the operation speed of the arithmetic circuit, based on the buffer state value acquired by the buffer state acquisition step.
(Supplementary note 20) In the operation speed control method according to supplementary note 19,
The operation speed parameter setting step compares a preset threshold value with the buffer state value, and switches the operation speed parameter when the buffer state value exceeds or falls below the threshold value. An operation speed control method characterized by the above.
10a,10b,10c,10d バッファ、11 VLD/IQ部、12 IDCT部、13 MC部、20 動作速度制御部、21 バッファ状態取得部、22 動作速度パラメータ設定部、30 バッファ、31,32 演算回路、40 動作速度制御部。 10a, 10b, 10c, 10d buffer, 11 VLD / IQ unit, 12 IDCT unit, 13 MC unit, 20 operation speed control unit, 21 buffer state acquisition unit, 22 operation speed parameter setting unit, 30 buffer, 31, 32 arithmetic circuit , 40 Operation speed controller.
Claims (4)
前記バッファから該バッファに格納されているデータのデータ量を取得し、
取得された前記データ量が第1閾値より小さい場合には、前記演算回路の動作速度を高くするパラメータの設定を前記演算回路に行い、取得された前記データ量が第2閾値より大きい場合には、前記演算回路の動作速度を低くするパラメータの設定を前記演算回路に行う、
処理を実行させる制御プログラム。 A computer for controlling the operation circuit Ru a buffer,
Acquires the data amount of data stored in the buffer from the buffer,
When the acquired data amount is smaller than the first threshold, a parameter for increasing the operation speed of the arithmetic circuit is set in the arithmetic circuit, and when the acquired data amount is larger than the second threshold , The parameter setting for lowering the operation speed of the arithmetic circuit is set in the arithmetic circuit .
Ru to execute the process control program.
前記バッファは、前記演算回路の入力に接続されたバッファ、前記演算回路の出力に接続されたバッファ、前記演算回路に他の回路を介して接続されたバッファのいずれかを含むことを特徴とする制御プログラム。 In the control program according to claim 1,
Before Kiba Ffa is characterized in that it comprises buffer connected to an input of the arithmetic circuit, buffer connected to the output of the arithmetic circuit, any of the buffers connected via other circuits to the arithmetic circuit It shall be the control program.
前記バッファから該バッファに格納されているデータのデータ量を取得する取得部と、
取得された前記データ量が第1閾値より小さい場合には、前記演算回路の動作速度を高くするパラメータの設定を前記演算回路に行い、取得された前記データ量が第2閾値より大きい場合には、前記演算回路の動作速度を低くするパラメータの設定を前記演算回路に行う設定部と、
を備える制御装置。 A control device for controlling the operation circuit Ru a buffer,
A resulting portion preparative you get the data amount of data stored in the buffer from the buffer,
If the amount of data acquired been collected is less than the first threshold value, to set the parameters to increase the operating speed of the arithmetic circuit in the arithmetic circuit, when the amount of data acquired is greater than the second threshold value includes a row cormorant setting tough to the arithmetic circuit sets parameters to lower the operation speed of the arithmetic circuit,
Ru equipped with a control device.
前記バッファから該バッファに格納されているデータのデータ量を取得し、
取得された前記データ量が第1閾値より小さい場合には、前記演算回路の動作速度を高くするパラメータの設定を前記演算回路に行い、取得された前記データ量が第2閾値より大きい場合には、前記演算回路の動作速度を低くするパラメータの設定を前記演算回路に行う、
処理を実行する制御方法。 A control device for controlling the operation circuit Ru a buffer,
Acquires the data amount of data stored in the buffer from the buffer,
When the acquired data amount is smaller than the first threshold, a parameter for increasing the operation speed of the arithmetic circuit is set in the arithmetic circuit, and when the acquired data amount is larger than the second threshold , The parameter setting for lowering the operation speed of the arithmetic circuit is set in the arithmetic circuit .
That control method to perform the processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006057108A JP4732195B2 (en) | 2006-03-03 | 2006-03-03 | Control program, control device, and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006057108A JP4732195B2 (en) | 2006-03-03 | 2006-03-03 | Control program, control device, and control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007233881A JP2007233881A (en) | 2007-09-13 |
JP4732195B2 true JP4732195B2 (en) | 2011-07-27 |
Family
ID=38554383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006057108A Expired - Fee Related JP4732195B2 (en) | 2006-03-03 | 2006-03-03 | Control program, control device, and control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4732195B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9195296B2 (en) * | 2009-09-24 | 2015-11-24 | Qualcomm Incorporated | Apparatus and methods for optimizing power consumption in a wireless device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0224712A (en) * | 1988-07-14 | 1990-01-26 | Fujitsu Ltd | Data processing circuit |
JPH05113834A (en) * | 1991-10-24 | 1993-05-07 | Fujitsu Ltd | Digital signal processing system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3251026B2 (en) * | 1991-02-28 | 2002-01-28 | 日本電気株式会社 | Memory controller |
US9323571B2 (en) * | 2004-02-06 | 2016-04-26 | Intel Corporation | Methods for reducing energy consumption of buffered applications using simultaneous multi-threading processor |
-
2006
- 2006-03-03 JP JP2006057108A patent/JP4732195B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0224712A (en) * | 1988-07-14 | 1990-01-26 | Fujitsu Ltd | Data processing circuit |
JPH05113834A (en) * | 1991-10-24 | 1993-05-07 | Fujitsu Ltd | Digital signal processing system |
Also Published As
Publication number | Publication date |
---|---|
JP2007233881A (en) | 2007-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100953247B1 (en) | Encoding apparatus, computer-readable recording medium, and encoding method | |
US8654850B2 (en) | Image coding device and image coding method | |
JP2003333346A (en) | Image compression coding apparatus and control method therefor | |
JP2010081182A (en) | Image processing apparatus | |
US20050249280A1 (en) | Image data compression apparatus, enencoder electronic equipment, and image data compression method | |
TWI543627B (en) | Method for adaptively performing video decoding, adaptive complexity video decoder and adaptive audio/video playback system | |
US7369705B2 (en) | Image data compression device and encoder | |
EP0949822A2 (en) | Video coding control method and apparatus | |
US20050078756A1 (en) | Encoding apparatus and encoding method | |
JP4732195B2 (en) | Control program, control device, and control method | |
JPWO2004093458A1 (en) | Moving image encoding or decoding processing system and moving image encoding or decoding processing method | |
JP2005328487A (en) | Image data compression device, electronic apparatus, and image data compression method | |
JPH10108199A (en) | Image coder | |
JP5087016B2 (en) | Encoding apparatus, control method therefor, and computer program | |
JP4069444B2 (en) | Encoding control method and encoding control program | |
JP2011182284A (en) | Image encoding apparatus, image encoding/decoding system, image encoding method, and image display method | |
JP6605323B2 (en) | Semiconductor device, data processing system, and control method of semiconductor device | |
JP5641755B2 (en) | Encoding apparatus, encoding apparatus control method, and program | |
JP5682387B2 (en) | Image processing apparatus and image processing method | |
WO2000064187A1 (en) | Image encoding device and its method | |
JP5006763B2 (en) | Image encoding apparatus, control method therefor, and computer program | |
US10063873B2 (en) | Method for adaptively performing video decoding, and associated adaptive complexity video decoder and adaptive audio/video playback system | |
JP2006094191A (en) | Signal processing method and device, and image system | |
JP5132390B2 (en) | Moving picture coding apparatus, control method therefor, and computer program | |
CN106550269A (en) | Adaptive video coding/decoding method, decoder and audio/video playback system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081022 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101109 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110111 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110419 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110420 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140428 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |