JP2000066903A - Interrupt processing system and interrupt processing method - Google Patents
Interrupt processing system and interrupt processing methodInfo
- Publication number
- JP2000066903A JP2000066903A JP10232483A JP23248398A JP2000066903A JP 2000066903 A JP2000066903 A JP 2000066903A JP 10232483 A JP10232483 A JP 10232483A JP 23248398 A JP23248398 A JP 23248398A JP 2000066903 A JP2000066903 A JP 2000066903A
- Authority
- JP
- Japan
- Prior art keywords
- timer
- processing
- interrupt
- timer counter
- counter
- 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.)
- Pending
Links
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、割り込み処理シス
テムに関し、特に、複数のソフトタイマを同時に使用す
る処理プログラム(以下、「組み込みソフト」とも称す
る)において、インターバルタイマ割り込みイベントに
よるタイマ割り込み処理の負荷を軽減することが可能な
システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interrupt processing system, and more particularly, to a load of timer interrupt processing by an interval timer interrupt event in a processing program (hereinafter, also referred to as "embedded software") using a plurality of soft timers simultaneously. The present invention relates to a system capable of alleviating the problem.
【0002】[0002]
【従来の技術】従来、一般に、インターバルタイマ割り
込みイベントを含む複数の割り込み要求を受け付けるプ
ロセッサの泣き所は、リアルタイム処理を要求する複数
個の割り込み要求が同時に多発する事態の発生である。
勿論、割り込みイベントを発したジョブによっては、当
該割り込み要求が受付られないとの通知があった時点で
待機状態に入るべく設計されているものもあるが、ジョ
ブによっては、どうしてもリアルタイムの割り込みを必
要とする性格を持ったものも存在する。2. Description of the Related Art Conventionally, a problem of a processor that accepts a plurality of interrupt requests including an interval timer interrupt event is that a plurality of interrupt requests for real-time processing occur frequently at the same time.
Of course, some jobs that have generated an interrupt event are designed to enter the standby state when notified that the interrupt request is not accepted, but some jobs require a real-time interrupt. Some have the character that
【0003】そこで、組み込みソフトの設計を行う場合
にも、個々の割り込み処理に要する時間や、そのトータ
ルを考慮することが最も重要な要素の一つであった。こ
こで、タイムアウトが生じている各種タイマの再設定
を、例えば、周期的な割り込み処理によって一括処理し
ている方式においても、該割り込みによって処理すべき
ジョブが長時間を要する可能性のあるジョブである場
合、例えば、組み込みソフトが複数のタイマを同時に使
用している場合等には、上記複数のタイマの全て、若し
くは一部が、同時にタイムアウトした場合におけるタイ
マの再設定に要する処理時間のトータルについても十分
に考慮しておく必要性が生じる。Therefore, even when designing embedded software, it is one of the most important factors to consider the time required for individual interrupt processing and the total thereof. Here, even in a method in which resetting of various timers in which a timeout occurs is collectively processed by, for example, periodic interrupt processing, a job to be processed by the interrupt may be a job that may take a long time. In some cases, for example, when the embedded software uses a plurality of timers at the same time, the total processing time required for resetting the timers when all or some of the plurality of timers simultaneously time out is determined. Need to be taken into account.
【0004】この分野に属する技術を過去の特許出願か
ら遡及調査すると、特開平7−219784号公報に
「割り込み制御方式」という発明がある。この発明は、
インターバルタイマ割り込みイベントと通常の割り込み
イベントとを制御する制御部が、既に1個の割り込み要
求を受け付けて割り込み要求を処理するプロセッサにて
処理している間に、1回目のインターバルタイマ割り込
みイベントが発生すると、これを受け付け簿に記憶して
おき、かつ上記プロセッサに対して常に割り込み要求を
アサートし続け、この間に更に2回目のインターバルタ
イマ割り込みイベントが発生すると、該イベントを発生
したプロセッサに対して、該イベントは受け付け不可能
状態にあることを通知する技術が開示されている。When a technology belonging to this field is retrospectively investigated from past patent applications, Japanese Patent Application Laid-Open No. 7-219784 discloses an invention called "interrupt control system". The present invention
The first interval timer interrupt event occurs while the control unit that controls the interval timer interrupt event and the normal interrupt event is already accepting one interrupt request and processing it with the processor that processes the interrupt request. Then, this is stored in a reception table, and an interrupt request is continuously asserted to the processor. If a second interval timer interrupt event occurs during this time, the processor that generated the event is A technique for notifying that the event is in an unacceptable state is disclosed.
【0005】[0005]
【発明が解決しようとする課題】ところが、前記の理由
により、タイマを数多く必要とするシステムの場合は、
状況によっては、プロセッサの処理時間が大幅に増大す
るため、同時に処理できるタイマの数が制限されてしま
う。そこで、効率よくタイマの設定処理を行い、プロセ
ッサの能力を最大限に生かすためのシステムおよび方法
が必要となった。However, in the case of a system requiring a large number of timers for the above reasons,
In some situations, the processing time of the processor is significantly increased, which limits the number of timers that can be processed simultaneously. Therefore, a system and method for efficiently setting the timer and maximizing the capacity of the processor are needed.
【0006】一般に、図4に示すような割り込み処理手
段を持つシステム、すなわち、1つのプロセッサ(40
1)で、OR論理回路(402)によってまとめられた
複数の割り込みイベント(411〜413)を処理する
システムは、それぞれの割り込みイベントがどのような
タイミングで発生しても、割り込みイベントを漏れなく
取り込んで処理することを前提として構成されている。
しかし、図5に示すような割り込み処理方式を持つシス
テム、すなわち、一つのインターバルタイマ割り込みイ
ベント(413)で複数のタイマ(503〜506)を
制御するタイマ処理(502)を伴うシステムでは、い
くつかのタイマが同時にタイムアウトしていたような場
合には、それらの再設定に長い処理時間を要してしまう
ことがあり、この処理時間中に発生した他の割り込みイ
ベント(411,412)を見逃してしまうために、こ
れを取り込めないという問題点があった。Generally, a system having interrupt processing means as shown in FIG. 4, that is, one processor (40
In 1), the system that processes a plurality of interrupt events (411 to 413) compiled by the OR logic circuit (402) captures the interrupt events without fail regardless of the timing of each of the interrupt events. It is configured on the premise that the processing is performed by.
However, in a system having an interrupt processing method as shown in FIG. 5, that is, a system having a timer process (502) for controlling a plurality of timers (503 to 506) with one interval timer interrupt event (413), some If these timers have timed out at the same time, it may take a long processing time to reset them, and the other interrupt events (411, 412) occurring during this processing time may be overlooked. There was a problem that this could not be imported.
【0007】また、場合によっては、1回目のインター
バルタイマ割り込みイベントの処理が完結していないタ
イミングで、2回目以降のインターバルタイマ割り込み
イベントが発生して待機状態となる場合もあり、インタ
ーバルタイマ割り込みイベントによりなされる処理は、
上記タイムアウトしたタイマの再設定のみならず、例え
ば、現在の時刻からのタイマの新規設定を必要とするよ
うな処理、すなわち遅延を許さない割り込み処理も含ま
れているので、従来は、上記の待機状態の発生は、しば
しば障害原因となってはいても、解決の困難な課題の一
つであった。[0007] In some cases, at the timing when the processing of the first interval timer interrupt event is not completed, the second and subsequent interval timer interrupt events may occur and the system may enter a standby state. The processing performed by
In addition to resetting the timer that has timed out, for example, processing that requires a new setting of the timer from the current time, that is, interrupt processing that does not allow delay is also included. Occurrence of the condition, although often a cause of failure, has been one of the difficult problems to solve.
【0008】本発明を考案するに際し、必ずしもリアル
タイムに処理する必要の無い割り込み要求によって、リ
アルタイムに処理する必要のある割り込み要求が影響を
被る事態だけは、最低限として、避けるべきことが検討
された。[0008] In devising the present invention, it has been considered that, as a minimum, a situation in which an interrupt request that does not necessarily need to be processed in real time affects an interrupt request that needs to be processed in real time should be avoided. .
【0009】そこで、必ずしもリアルタイムに処理する
必要の無い割り込み要求が必要とする処理については、
その処理時間の短縮が検討され、1回の割り込み要求に
おける処理時間を短縮して、その分の負荷を、複数の割
り込み要求に分散しておく方式が検討された。Therefore, the processing required by an interrupt request that does not necessarily need to be processed in real time
Reduction of the processing time was studied, and a method of reducing the processing time for one interrupt request and distributing the load to a plurality of interrupt requests was studied.
【0010】そうした方式を採用すべき対象となる割り
込み要求として、上記のタイムアウトしたタイマの再設
定を行う目的のインターバルタイマ割り込みイベントが
摘出された。As an interrupt request for which such a method should be adopted, an interval timer interrupt event for resetting the above-mentioned time-out timer has been extracted.
【0011】なお、上記の特開平7−219784号公
報に開示されている技術は、リアルタイム割り込み要求
の同時多発時に生じる上記の問題点を本質的に解決する
ものではない。何故ならば、ある一つの割り込み要求の
処理中に発生した2回目以降の割り込み要求について
は、待機状態を強いているからである。The technique disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 7-219784 does not essentially solve the above-mentioned problem that occurs when real-time interrupt requests occur frequently. This is because the second and subsequent interrupt requests generated during the processing of a certain interrupt request are forced to wait.
【0012】本発明は、以上のような従来の割り込み処
理方式における問題点に鑑みてなされたものであり、組
み込みソフトの、インターバルタイマ割り込みイベント
によるタイマ再設定処理の負荷を軽減することができる
割り込み処理システムを提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems in the conventional interrupt processing method, and an interrupt capable of reducing the load of timer reset processing due to an interval timer interrupt event of embedded software. It is an object to provide a processing system.
【0013】[0013]
【課題を解決するための手段】上記の課題を解決するた
めに、本発明によれば、タイマ割り込みと通常の割り込
みを共に受け付けるシステムにおいて、タイマ割り込み
の受付回数をカウントする複数のタイマカウンタと、複
数のタイマカウンタのうち次に更新を行うタイマカウン
タを示す情報を有するタイマ指定テーブルと、タイマ割
り込み受付時に、タイマ指定テーブルが有する情報を参
照して、複数のタイマカウンタのうち次に更新を行うタ
イマカウンタを選択する選択手段と、選択手段によって
選択されたタイマカウンタの値に予め定められた値の変
更を加える変更手段と、変更手段によって変更されたタ
イマカウンタが有するカウンタの値が所定値を満たした
時に、タイマカウンタのタイムアウト時に行われる割り
込み処理を行う処理手段と、タイマ指定テーブルを、タ
イマカウンタと異なるタイマカウンタを示す情報に更新
する更新手段とからなる割り込み処理分散システムを提
供する。According to the present invention, there is provided a system for accepting both a timer interrupt and a normal interrupt, comprising: a plurality of timer counters for counting the number of accepted timer interrupts; A timer specification table having information indicating a timer counter to be updated next among a plurality of timer counters, and, when a timer interrupt is accepted, referring to information included in the timer specification table to perform an update next to the plurality of timer counters Selecting means for selecting a timer counter; changing means for changing a value of the timer counter selected by the selecting means to a predetermined value; and a value of a counter of the timer counter changed by the changing means, the value of which is a predetermined value. When the condition is satisfied, perform the interrupt processing performed when the timer counter times out. Providing means, a timer specifying table, the interrupt process distribution system including a updating means for updating the information indicating the timer counter which is different from the timer counter.
【0014】また、上記の割り込み処理分散システムに
おいて、複数のタイマカウンタの各々は予め定められた
初期値と、処理手段終了時にタイマカウンタの値をタイ
マカウンタに対応する初期値に変更する手段とをさらに
具備することが可能である。In the above-mentioned distributed interrupt processing system, each of the plurality of timer counters has a predetermined initial value and means for changing the value of the timer counter to an initial value corresponding to the timer counter at the end of the processing means. Further provisions are possible.
【0015】さらに、上記の割り込み処理分散システム
において、複数のタイマカウンタの各々は予め定められ
た処理順序をさらに具備し、上記の更新手段は、複数の
タイマカウンタの各々の有する処理順序を参照して、処
理手段によって処理されたタイマカウンタの次のタイマ
カウンタを示す情報にタイマ指定テーブルを変更する手
段とによって構成されてもよい。Further, in the above interrupt distribution system, each of the plurality of timer counters further has a predetermined processing order, and the updating means refers to the processing order of each of the plurality of timer counters. Means for changing the timer designation table to information indicating a timer counter next to the timer counter processed by the processing means.
【0016】他には、タイマ割り込みと通常の割り込み
を共に受け付けるシステムにおいて、タイマ割り込み受
付時に、複数のタイマカウンタのうち次に更新を行うタ
イマカウンタを示す情報を有するタイマ指定テーブルを
参照して、次に更新を行うタイマカウンタを選択する選
択ステップと、選択ステップによって選択されたタイマ
カウンタの値に予め定められた値の変更を加える変更ス
テップと、変更ステップによって変更されたタイマカウ
ンタの値が所定値を満たした時に、タイマカウンタのタ
イムアウト時に行われる割り込み処理を行う処理ステッ
プと、タイマ指定テーブルを、タイマカウンタと異なる
タイマカウンタを示す情報に更新する更新ステップとか
らなる割り込み処理分散方法を提供する。In addition, in a system that accepts both a timer interrupt and a normal interrupt, when a timer interrupt is accepted, a timer designation table having information indicating a timer counter to be updated next among a plurality of timer counters is referred to. A selecting step of selecting a timer counter to be updated next; a changing step of adding a predetermined value to the value of the timer counter selected by the selecting step; Provided is a method for distributing interrupt processing, comprising: a processing step of performing an interrupt processing performed when a timer counter times out when a value is satisfied; and an updating step of updating a timer designation table with information indicating a timer counter different from the timer counter. .
【0017】また、上記の割り込み処理分散方法におい
て、予め複数のタイマカウンタの各々に定められた初期
値を与えるステップと、上記の処理ステップ終了時にタ
イマカウンタの値を対応する初期値に変更するステップ
と、をさらに具備することが可能である。In the above-mentioned interrupt processing distribution method, a step of giving a predetermined initial value to each of the plurality of timer counters in advance and a step of changing the value of the timer counter to a corresponding initial value at the end of the above-mentioned processing steps And can be further provided.
【0018】さらに、上記の割り込み処理分散方法にお
いて、複数のタイマカウンタの各々に予め定められた処
理順序を与えるステップをさらに具備し、上記の更新ス
テップは、複数のタイマカウンタの各々の処理順序を参
照して、処理ステップによって処理されたタイマカウン
タの次のタイマカウンタを示す情報にタイマ指定テーブ
ルを変更するステップとによって構成されてもよい。Further, in the above interrupt distribution method, the method further comprises the step of giving a predetermined processing order to each of the plurality of timer counters, and the updating step includes the step of changing the processing order of each of the plurality of timer counters. And changing the timer designation table to information indicating a timer counter next to the timer counter processed in the processing step.
【0019】さらに他に、タイマ割り込みと通常の割り
込みを共に受け付けるシステムにおいて、タイマ割り込
みの受付回数をカウントする複数のタイマカウンタを予
め確保するステップと、複数のタイマカウンタのうち次
に更新を行うタイマカウンタを示す情報を有するタイマ
指定テーブルを予め確保するステップと、タイマ割り込
み受付時に、タイマ指定テーブルが有する情報を参照し
て、複数のタイマカウンタのうち次に更新を行うタイマ
カウンタを選択する選択ステップと、選択ステップによ
って選択されたタイマカウンタの値に予め定められた値
の変更を加える変更ステップと、変更ステップによって
変更されたタイマカウンタの値が所定値を満たした時
に、タイマカウンタのタイムアウト時に行われる割り込
み処理を行う処理ステップと、タイマ指定テーブルを、
タイマカウンタと異なるタイマを示す情報に更新する更
新ステップと、を実行するプログラムを記録した記録媒
体を提供する。Still further, in a system for accepting both a timer interrupt and a normal interrupt, a step of previously securing a plurality of timer counters for counting the number of accepted timer interrupts, and a timer for updating the next one of the plurality of timer counters A step of securing a timer designation table having information indicating the counter in advance, and a step of selecting a timer counter to be updated next among the plurality of timer counters with reference to the information contained in the timer designation table when accepting a timer interrupt A changing step of adding a predetermined value to the value of the timer counter selected in the selecting step; and performing a time-out operation of the timer counter when the value of the timer counter changed in the changing step satisfies a predetermined value. Processing routine to perform interrupt processing And-up, the timer specification table,
An update step of updating to information indicating a timer different from a timer counter, and a recording medium recording a program for executing the update step.
【0020】また、上記の記録媒体において、予め複数
のタイマカウンタの各々に定められた初期値を与えるス
テップと、上記の処理ステップ終了時にタイマカウンタ
の値を対応する初期値に初期化する初期化ステップと、
を実行するプログラムをさらに記録することが可能であ
る。Further, in the above-mentioned recording medium, a step of giving a predetermined initial value to each of the plurality of timer counters in advance, and an initialization of initializing the value of the timer counter to a corresponding initial value at the end of the above processing steps Steps and
Can be further recorded.
【0021】さらに、上記の記録媒体において、複数の
タイマカウンタの各々に予め定められた処理順序を与え
るステップをさらに具備し、上記の更新ステップは、複
数のタイマカウンタの各々の処理順序を参照して、処理
ステップによって処理されたタイマカウンタの次の順序
にあたるタイマカウンタを示す情報にタイマ指定テーブ
ルを変更するステップとからなるステップを実行するプ
ログラムを記録した構成であってもよい。Further, the above-mentioned recording medium further comprises a step of giving a predetermined processing order to each of the plurality of timer counters, and the updating step refers to the processing order of each of the plurality of timer counters. In addition, a configuration may be adopted in which a program for executing a step of changing the timer designation table is recorded in information indicating a timer counter in the next order of the timer counter processed in the processing step.
【0022】以下、本発明の作用を説明する。本発明に
係る処理プログラムの割り込み処理方式は、複数のソフ
トタイマを同時に使用する組み込みソフトにおける割り
込み処理によるタイマ管理処理を、1回の割り込みで、
常に1つのタイマに対してのみ行う方式となっている。Hereinafter, the operation of the present invention will be described. The interrupt processing method of the processing program according to the present invention, the timer management processing by the interrupt processing in the embedded software that uses a plurality of soft timers simultaneously, with one interrupt,
It is a method that is always performed for only one timer.
【0023】すなわち、本発明に係る処理プログラムの
割り込み処理方式では、図3のフローチャートで割り込
み処理動作を示すように、1回のインターバルタイマ割
り込みイベントで、1つのタイマのみを処理する構成と
し、同一のインターバルタイマ割り込みで複数のタイマ
が同時にタイムアウトすることを回避している。That is, in the interrupt processing method of the processing program according to the present invention, as shown in the flowchart of FIG. 3, an interrupt processing operation is performed so that only one timer is processed by one interval timer interrupt event. This prevents multiple timers from timing out simultaneously at the interval timer interrupt.
【0024】当然ながら、上記インターバルタイマ割り
込みのインターバルは、従来方式よりは短周期にするも
のと考えてよい。Naturally, it can be considered that the interval of the interval timer interrupt is set to be shorter than that of the conventional system.
【0025】[0025]
【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0026】(第1の実施の形態)図1は、本発明の第
1の実施の形態に係る割り込み処理システムのハード構
成の概略図である。(First Embodiment) FIG. 1 is a schematic diagram of a hardware configuration of an interrupt processing system according to a first embodiment of the present invention.
【0027】複数の割り込みイベント(111〜11
3)を選択する選択部(106)と、選択部(106)
によって選択された該割り込みイベントの処理実行を行
う処理実行部(101)によって構成される。また、処
理実行部(101)はタイマ処理手段(102)を含
み、また、タイマ処理手段(102)はタイマ処理テー
ブル(103)を有する。このタイマ処理手段(10
2)は、インターバルタイマ割り込みイベント(11
3)の処理実行時に用いられる。また、デバイス(10
4)を介して記録媒体(105)からプログラムを読み
込むことが可能であり、処理実行部(101)はその読
み込まれたプログラムを実行する機能を有している。A plurality of interrupt events (111 to 11)
A selection unit (106) for selecting 3) and a selection unit (106)
And a process execution unit (101) for executing the process of the interrupt event selected by the user. The processing execution unit (101) includes a timer processing unit (102), and the timer processing unit (102) has a timer processing table (103). This timer processing means (10
2) is an interval timer interrupt event (11
It is used when the processing of 3) is executed. The device (10
The program can be read from the recording medium (105) via 4), and the processing execution unit (101) has a function of executing the read program.
【0028】図2は、本発明の第1の実施の形態に係る
割り込み処理システムの動作を示すフローチャートであ
る。図2(a)は処理実行部(101)において行われ
るシステムの主制御を行うメイン処理(231)のフロ
ーチャートを示す。図2(b)は処理実行部(101)
へ入力された割り込みイベント1(111)に対応した
割り込み処理1(201)のフローチャートを示す。図
2(c)は処理実行部(101)へ入力された割り込み
イベント2(112)に対応した割り込み処理2(21
1)のフローチャートを示す。図2(d)は処理実行部
(101)へ入力されたインターバルタイマ割り込みイ
ベント(113)のに対応したタイマ割り込み処理(2
21)のフローチャートを示す。FIG. 2 is a flowchart showing the operation of the interrupt processing system according to the first embodiment of the present invention. FIG. 2A shows a flowchart of a main process (231) for performing main control of the system, which is performed in the process execution unit (101). FIG. 2B shows the processing execution unit (101).
4 shows a flowchart of an interrupt process 1 (201) corresponding to the interrupt event 1 (111) input to the CPU. FIG. 2C illustrates an interrupt process 2 (21) corresponding to the interrupt event 2 (112) input to the process execution unit (101).
The flowchart of 1) is shown. FIG. 2D shows a timer interrupt process (2) corresponding to the interval timer interrupt event (113) input to the process execution unit (101).
21 shows a flowchart of 21).
【0029】図3は、本発明の第1の実施の形態に係る
割り込み処理システムのタイマ処理手段(102)にお
けるタイマ選択機構の動作を示すフローチャートであ
る。図3に示されるタイマ処理手段(102)は、当該
インターバルタイマ割り込み処理で処理されるべきタイ
マを選択するタイマ選択手段(302)と、それぞれの
タイマに対応したタイマ値を処理毎にデクリメントする
タイマ1〜タイマn(303〜306)と、次に処理さ
れるべきタイマを指定するタイマ指定テーブル(10
3)で構成されている。FIG. 3 is a flowchart showing the operation of the timer selection mechanism in the timer processing means (102) of the interrupt processing system according to the first embodiment of the present invention. The timer processing means (102) shown in FIG. 3 includes a timer selection means (302) for selecting a timer to be processed in the interval timer interrupt processing, and a timer for decrementing a timer value corresponding to each timer for each processing. 1 to timer n (303 to 306) and a timer designation table (10
3).
【0030】本実施例によると、図2、図3によって示
されるフローチャートに示される処理を実行するソフト
ウェアが提供されている。しかしながら、この部分は必
ずしもソフトウェアとしてインプリメンテーションする
必要は無く、金物としてインプリメンテーションしても
よい。According to the present embodiment, software for executing the processing shown in the flowcharts shown in FIGS. 2 and 3 is provided. However, this part does not necessarily have to be implemented as software, and may be implemented as hardware.
【0031】以下に本実施例による構成の1例を示す。
図1において、処理を起動する複数の割り込みイベント
(111〜113)は、OR論理回路からなる選択部
(106)によってまとめられ、プロセッサを有する処
理実行部(101)に入力されている。このようなシス
テムは、一般に、図2(a)〜(d)に示すようなフロ
ーチャートで示される動作によって制御される。図2
(a)〜(d)のフローチャートで示される動作を示す
システムは、システムの主制御を行うメイン処理(23
1)と、割り込みイベント1(111)に対応した割り
込み処理1(201)と、割り込みイベント2(11
2)に対応した割り込み処理2(211)と、インター
バルタイマ割り込みイベント(113)に対応したタイ
マ割り込み処理(221)とで構成されている。An example of the configuration according to the present embodiment will be described below.
In FIG. 1, a plurality of interrupt events (111 to 113) for activating a process are collected by a selection unit (106) including an OR logic circuit and input to a process execution unit (101) having a processor. Such a system is generally controlled by operations shown in flowcharts as shown in FIGS. FIG.
The system showing the operations shown in the flowcharts of (a) to (d) performs a main process (23) for performing main control of the system.
1), interrupt processing 1 (201) corresponding to interrupt event 1 (111), and interrupt event 2 (11).
It comprises an interrupt process 2 (211) corresponding to 2) and a timer interrupt process (221) corresponding to the interval timer interrupt event (113).
【0032】図3に示すタイマ処理部におけるタイマ選
択機構の動作を示す構成図は、当該インターバルタイマ
割り込みで処理されるべきタイマを選択するディスパッ
チ処理を行うタイマ選択手段(302)と、それぞれに
対応したタイマ値を処理毎にデクリメントするタイマ1
〜タイマn(303〜306)と、ディスパッチ処理用
のサイクリックな整数iを生成するタイマ指定テーブル
(103)からなるタイマ指定部(311)で構成され
ている。FIG. 3 is a block diagram showing the operation of the timer selecting mechanism in the timer processing section. The timer selecting means (302) for performing a dispatch process for selecting a timer to be processed by the interval timer interrupt corresponds to each of them. Timer 1 that decrements the set timer value for each process
Timer n (303 to 306) and a timer designation unit (311) including a timer designation table (103) for generating a cyclic integer i for dispatch processing.
【0033】なお、タイマ選択手段(302)によって
行われるディスパッチ処理の処理方法は、例えば、上記
の整数iをデコードした結果により、タイマ1〜タイマ
n(303〜306)を選択してもよい。The method of dispatch processing performed by the timer selecting means (302) may be such that, for example, timer 1 to timer n (303 to 306) are selected based on the result of decoding the integer i.
【0034】さらに、上記のタイマ1〜タイマnのルー
チンアドレスを、それぞれテーブルの各エントリーに格
納し、上記のディスパッチ処理を使用する代わりに、該
テーブルのエントリーを指すポインタを設置し、上記整
数iを該ポインタに置数し、かつテーブルオリジンを加
算して、上記整数iに対応する該テーブルのエントリー
の内容を参照し、これにより、タイマiを呼び出す方式
にすることも可能である。Further, the routine addresses of the timers 1 to n are stored in the respective entries of the table, and instead of using the dispatch processing, a pointer pointing to the entry of the table is set, and the integer i is set. Is set in the pointer, and the table origin is added, and the contents of the entry of the table corresponding to the integer i are referred to, whereby the timer i can be called.
【0035】次に、図1,2,3を参照して、本実施の
形態に係る割り込み処理方式の動作を下記の1例により
説明する。Next, with reference to FIGS. 1, 2, and 3, the operation of the interrupt processing system according to the present embodiment will be described with reference to the following example.
【0036】システムのメイン処理部(231)がタイ
マを使用すると、所望のタイマに対応するタイマ値がセ
ットされる。ここでインターバルタイマ割り込みが発生
するとタイマ割り込み処理に入り、タイマ処理部(22
2)が呼び出される。タイマ処理部(222)では、上
記のサイクリックな整数iの値により選択された1つの
タイマのみの処理が行われる。When the main processing section (231) of the system uses a timer, a timer value corresponding to a desired timer is set. Here, when an interval timer interrupt occurs, the timer interrupt processing starts and the timer processing unit (22
2) is called. In the timer processing unit (222), the processing of only one timer selected by the value of the cyclic integer i is performed.
【0037】タイマ1〜タイマn(303〜306)は
それぞれタイマ1〜タイマn(303〜306)のタイ
マ値をチェックし0でなければデクリメント処理を行
う。また、デクリメントした結果が0で有ればメイン処
理に対しタイムアウトを返す。次に、整数iの値をタイ
マ指定部(311)で更新してタイマ指定テーブル(1
03)を変更し、タイマ割り込み処理を終了する。タイ
マ指定部(311)は、ディスパッチ処理用に使用する
iの値を、1〜nまでの整数の範囲でサイクリックに変
化させてタイマ指定テーブル(103)にそのiの値を
格納する。The timers 1 to n (303 to 306) check the timer values of the timers 1 to n (303 to 306), respectively. If the result of the decrement is 0, a timeout is returned to the main processing. Next, the value of the integer i is updated by the timer specification unit (311), and the timer specification table (1) is updated.
03), and terminates the timer interrupt processing. The timer designation unit (311) cyclically changes the value of i used for dispatch processing within an integer range from 1 to n, and stores the value of i in the timer designation table (103).
【0038】具体的な動作例を次に示す。今、システム
のメイン処理がタイマ1(303)に対するタイマ値に
9をセットしたとする。その後、インターバルタイマ割
り込みが2n回発生すると、タイマ処理部(222)に
おいて、タイマ1は2回処理されてタイマ値は7にな
る。ここでメイン処理がタイマ2(304)のタイマ値
に7をセットすると、タイマ1とタイマ2のタイマ値は
どちらも7と言うことになる。インターバルタイマ割り
込みが更に5n回発生した時に、タイマ3(305)の
タイマ値が2にセットされると、タイマ1(303)、
タイマ2(304)、タイマ3(305)ともタイマ値
が2になることになる。A specific operation example will be described below. Now, it is assumed that the main process of the system sets 9 as the timer value for the timer 1 (303). Thereafter, when an interval timer interrupt occurs 2n times, the timer 1 is processed twice in the timer processing unit (222), and the timer value becomes 7. Here, if the main process sets the timer value of the timer 2 (304) to 7, the timer values of the timer 1 and the timer 2 are both 7. When the timer value of the timer 3 (305) is set to 2 when the interval timer interrupt is further generated 5n times, the timer 1 (303)
The timer value of both the timer 2 (304) and the timer 3 (305) becomes 2.
【0039】続いてインターバルタイマ割り込みがn+
1回発生するとタイマ1(303)のタイマ値が0とな
り、メイン処理にタイムアウトが返される。同じく、タ
イマ2(304)はn+2回、タイマ3(305)はn
+3回のインターバルタイマ割り込みでメイン処理にタ
イムアウトを返す。タイマ1(303)がタイムアウト
した際に、割り込みイベント1(111)が発生したと
すると、タイマ2(304)がタイムアウトする処理に
入る前に割り込み処理1(201)が行われる。Subsequently, the interval timer interrupt is n +
When this occurs once, the timer value of the timer 1 (303) becomes 0, and a timeout is returned to the main processing. Similarly, timer 2 (304) is n + 2 times, and timer 3 (305) is n
A timeout is returned to the main processing by +3 interval timer interrupts. Assuming that an interrupt event 1 (111) occurs when the timer 1 (303) times out, an interrupt process 1 (201) is performed before the process for the timer 2 (304) to time out.
【0040】なお、本発明に係る割り込み処理方式のイ
ンターバルタイマ割り込みイベントの発生に対応するタ
イマ選択のアルゴリズムを一般化すると、プロセッサ内
のn個のタイマに関し、処理開始時点から数えてn回目
のインターバルタイマ割り込みイベントの発生までは、
該n個のタイマから任意の一つを選択し、かつ前記n個
のタイマの任意の一つのタイマについては、該タイマ
を、当該タイマが選択された直後の時点から数えて、丁
度n回目の前記インターバルタイマ割り込みイベントの
発生を契機として反復して選択するアルゴリズムとな
る。When the timer selection algorithm corresponding to the occurrence of the interval timer interrupt event of the interrupt processing method according to the present invention is generalized, the n-th interval counting from the processing start time for the n timers in the processor Until the timer interrupt event occurs,
Any one of the n timers is selected, and for any one of the n timers, the timer is counted from the time immediately after the selection of the timer, and the n-th timer is counted. The algorithm is repeatedly selected upon the occurrence of the interval timer interrupt event.
【0041】すなわち、処理開始時点から数えて、n回
目のインターバルタイマ割り込みイベントの発生まで
は、n個のタイマを重複無く選択するとの制限があるだ
けであり、本来、その選択の順序は任意であり、それ
故、処理開始時点から数えて、n回目のインターバルタ
イマ割り込みイベントの発生までのタイマ選択の順序
は、本発明に係る割り込み処理方式とは関係無く、処理
上の他の設計要因を考慮して決定することも可能であ
る。That is, there is only a restriction that n timers are selected without duplication from the start of processing to the occurrence of the nth interval timer interrupt event, and the selection order is originally arbitrary. Yes, therefore, the order of timer selection from the start of processing to the occurrence of the n-th interval timer interrupt event is independent of the interrupt processing method according to the present invention, and takes into account other design factors in processing. It is also possible to determine.
【0042】なお、上記の説明で、重複の無い選択と
は、一度選択したタイマは、次の選択対象からは除外す
るという意味である。In the above description, the selection without duplication means that the timer once selected is excluded from the next selection.
【0043】(第2の実施の形態)本発明の第2の実施
の形態に係る割り込み処理方式の構成と動作は本発明の
第1の実施の形態に係る割り込み処理方式と同じであ
る。但し、上記の第1の実施の形態に係る割り込み処理
方式おいては、一つのインターバルタイマ割り込みイベ
ントの発生によって選択される処理対象は、1個のタイ
マに限定されていたが、第2の実施の形態に係る割り込
み処理方式では、上記選択される処理対象は、複数個の
タイマによって構成されるm個(m<n)のタイマ群と
なる。(Second Embodiment) The configuration and operation of the interrupt processing system according to the second embodiment of the present invention are the same as those of the interrupt processing system according to the first embodiment of the present invention. However, in the interrupt processing method according to the first embodiment, the processing target selected by the occurrence of one interval timer interrupt event is limited to one timer. In the interrupt processing method according to the embodiment, the selected processing target is a group of m (m <n) timers composed of a plurality of timers.
【0044】このようなタイマ群の任意の一つに属する
タイマは、上記の割り込みイベントの発生によって、全
て逐次処理される。すなわち、このようなタイマ群を処
理する処理単位の内部では、該タイマ群に属するタイマ
によって、図5に示すような構成が組まれており、しか
も、該タイマ群に属する全てのタイマの処理に要するト
ータル処理時間は、予め見積もられている。All the timers belonging to any one of the timer groups are sequentially processed by the occurrence of the above-mentioned interrupt event. That is, inside the processing unit for processing such a timer group, a configuration as shown in FIG. 5 is formed by the timers belonging to the timer group, and the processing for all the timers belonging to the timer group is performed. The required total processing time is estimated in advance.
【0045】上記のとおり、1個のインターバルタイマ
割り込みイベントの発生で、全てのタイマの処理を一度
に行っていた従来の割り込み処理方式では、引き続い
て、ほぼ同時刻に、他の割り込みイベントが発生して
も、タイムアウト済の全てのタイマの再設定処理を完了
する前に、上記他の割り込みイベントが解除されてしま
う最悪ケースの場合には、該割り込みイベントの発生を
認識できなかったが、本発明に係る割り込み処理方式に
よれば、同時発生的な他の割り込みイベントが維持され
るべき時間は、1個のタイマに必要な処理時間、又は特
定のタイマ群の予め見積もり済のトータル処理時間に短
縮されているので、上記他の割り込みイベントの発生を
漏れなく認識することが可能である。As described above, in the conventional interrupt processing method in which processing of all the timers is performed at once when one interval timer interrupt event occurs, another interrupt event subsequently occurs at approximately the same time. However, in the worst case where the other interrupt event is released before the reset processing of all the timers that have timed out is completed, the occurrence of the interrupt event cannot be recognized. According to the interrupt processing method of the present invention, the time during which another simultaneous interrupt event is to be maintained is determined by the processing time required for one timer or the total processing time estimated in advance for a specific timer group. Since it is shortened, it is possible to recognize occurrence of the other interrupt event without omission.
【0046】[0046]
【発明の効果】本発明に係る割り込み処理システムの第
1の効果は、複数のタイマが同時にタイムアウトする状
態をなくすことである。A first effect of the interrupt processing system according to the present invention is to eliminate a state where a plurality of timers time out simultaneously.
【0047】また、本発明に係る割り込み処理システム
の第2の効果は、複数のタイマのタイムアウトが重なっ
た場合に起こるタイマ割り込み処理の過負荷を押さえる
ことが可能であることである。A second effect of the interrupt processing system according to the present invention is that it is possible to suppress the overload of the timer interrupt processing that occurs when the timeouts of a plurality of timers overlap.
【0048】さらに、本発明に係る割り込み処理システ
ムの第3の効果は、他の割り込みとの競合を最小限に押
さえることが可能となることである。Further, a third effect of the interrupt processing system according to the present invention is that it is possible to minimize competition with other interrupts.
【図1】本発明の実施の形態に係る割り込み処理方式を
採用した全体システムの動作環境を示すハードウェアの
構成図である。FIG. 1 is a hardware configuration diagram showing an operation environment of an entire system adopting an interrupt processing method according to an embodiment of the present invention.
【図2】本発明の実施の形態に係る割り込み処理方式を
採用した全体システムの動作を示すフローチャートであ
る。FIG. 2 is a flowchart showing an operation of the entire system employing the interrupt processing method according to the embodiment of the present invention.
【図3】本発明の実施の形態に係る割り込み処理方式の
タイマ処理部におけるタイマ選択機構の動作を示すフロ
ーチャートである。FIG. 3 is a flowchart illustrating an operation of a timer selection mechanism in a timer processing unit of an interrupt processing method according to the embodiment of the present invention.
【図4】従来の技術による割り込み処理方式を採用した
全体システムの動作環境を示すハードウェアの構成図で
ある。FIG. 4 is a hardware configuration diagram showing an operation environment of an entire system employing an interrupt processing method according to a conventional technique.
【図5】従来の技術による割り込み処理方式のタイマ処
理部におけるタイマ選択機構の動作を示すフローチャー
トである。FIG. 5 is a flowchart showing an operation of a timer selection mechanism in a timer processing unit of an interrupt processing system according to a conventional technique.
101 処理実行部 102 タイマ処理手段 103 タイマ指定テーブル 104 デバイス 105 記録媒体 106 選択部 111 割り込みイベント1 112 割り込みイベント2 113 インターバルタイマ割り込みイベント 201 割り込み処理1 211 割り込み処理2 221 タイマ割り込み処理 231 メイン処理 302 タイマ選択手段 303 タイマ1 304 タイマ2 305 タイマ3 306 タイマn 311 タイマ指定部 401 プロセッサ 402 OR論理回路 411 割り込みイベント1 412 割り込みイベント2 413 インターバルタイマ割り込みイベント 502 タイマ処理 503 タイマ1 504 タイマ2 505 タイマ3 506 タイマn DESCRIPTION OF SYMBOLS 101 Process execution part 102 Timer processing means 103 Timer specification table 104 Device 105 Recording medium 106 Selection part 111 Interrupt event 1 112 Interrupt event 2 113 Interval timer interrupt event 201 Interrupt process 1 211 Interrupt process 2 221 Timer interrupt process 231 Main process 302 Timer Selection means 303 Timer 1 304 Timer 2 305 Timer 3 306 Timer n 311 Timer designator 401 Processor 402 OR logic circuit 411 Interrupt event 1 412 Interrupt event 2 413 Interval timer interrupt event 502 Timer processing 503 Timer 1 504 Timer 2 505 Timer 3 506 Timer n
Claims (9)
受け付けるシステムにおいて、 タイマ割り込みの受付回数をカウントする複数のタイマ
カウンタと、 前記複数のタイマカウンタのうち次に更新を行うタイマ
カウンタを示す情報を有するタイマ指定テーブルと、 タイマ割り込み受付時に、前記タイマ指定テーブルが有
する情報を参照して、前記複数のタイマカウンタのうち
次に更新を行うタイマカウンタを選択する選択手段と、 前記選択手段によって選択された前記タイマカウンタの
値に予め定められた値の変更を加える変更手段と、 前記変更手段によって変更された前記タイマカウンタが
有する前記カウンタの値が所定値を満たした時に、前記
タイマカウンタのタイムアウト時に行われる割り込み処
理を行う処理手段と、 前記タイマ指定テーブルを、前記タイマカウンタと異な
るタイマカウンタを示す情報に更新する更新手段と、 からなる割り込み処理システム。1. A system for accepting both a timer interrupt and a normal interrupt, comprising: a plurality of timer counters for counting the number of accepted timer interrupts; and information indicating a timer counter to be updated next among the plurality of timer counters. A timer designation table, a selection unit for selecting a timer counter to be updated next among the plurality of timer counters with reference to information held in the timer designation table when a timer interrupt is accepted, and a selection unit selected by the selection unit Changing means for changing a value of the timer counter by a predetermined value; and when the value of the counter included in the timer counter changed by the changing means satisfies a predetermined value, the change is performed when the timer counter times out. Processing means for performing interrupt processing, and the timer Updating means for updating the designated table with information indicating a timer counter different from the timer counter.
イマカウンタに対応する前記初期値に変更する手段と、 をさらに具備する請求項1に記載の割り込み処理システ
ム。2. Each of the plurality of timer counters further comprises: a predetermined initial value; and means for changing the value of the timer counter to the initial value corresponding to the timer counter when the processing means ends. The interrupt processing system according to claim 1, further comprising:
定められた処理順序をさらに具備し、 前記更新手段は、 前記複数のタイマカウンタの各々の有する前記処理順序
を参照して、前記処理手段によって処理された前記タイ
マカウンタの次のタイマカウンタを示す情報に前記タイ
マ指定テーブルを変更する手段と、 からなる請求項1または2に記載の割り込み処理システ
ム。3. Each of the plurality of timer counters further includes a predetermined processing order, and the updating unit refers to the processing order of each of the plurality of timer counters, and 3. The interrupt processing system according to claim 1, further comprising: means for changing the timer designation table to information indicating a timer counter next to the processed timer counter.
受け付けるシステムにおいて、 タイマ割り込み受付時に、複数のタイマカウンタのうち
次に更新を行うタイマカウンタを示す情報を有するタイ
マ指定テーブルを参照して、前記次に更新を行うタイマ
カウンタを選択する選択ステップと、 前記選択ステップによって選択された前記タイマカウン
タの値に予め定められた値の変更を加える変更ステップ
と、 前記変更ステップによって変更された前記タイマカウン
タの値が所定値を満たした時に、前記タイマカウンタの
タイムアウト時に行われる割り込み処理を行う処理ステ
ップと、 前記タイマ指定テーブルを、前記タイマカウンタと異な
るタイマカウンタを示す情報に更新する更新ステップ
と、 からなる割り込み処理方法。4. A system for accepting both a timer interrupt and a normal interrupt, wherein when the timer interrupt is accepted, the timer designation table having information indicating a timer counter to be updated next among a plurality of timer counters is referred to. A selecting step of selecting a timer counter to be updated, a changing step of adding a predetermined value to the value of the timer counter selected by the selecting step, and a changing step of the timer counter changed by the changing step. When the value satisfies a predetermined value, a processing step of performing an interrupt process performed when the timer counter times out; and an updating step of updating the timer designation table with information indicating a timer counter different from the timer counter. Interrupt handling method.
定められた初期値を与えるステップと、 前記処理ステップ終了時に前記タイマカウンタの値を対
応する前記初期値に変更するステップと、 をさらに具備する請求項4に記載の割り込み処理方法。5. The method further comprising: providing a predetermined initial value to each of the plurality of timer counters in advance; and changing the value of the timer counter to the corresponding initial value at the end of the processing step. The interrupt processing method according to claim 4.
定められた処理順序を与えるステップをさらに具備し、 前記更新ステップは、 前記複数のタイマカウンタの各々の前記処理順序を参照
して、前記処理ステップによって処理された前記タイマ
カウンタの次のタイマカウンタを示す情報に前記タイマ
指定テーブルを変更するステップと、 からなる請求項4または5に記載の割り込み処理方法。6. The method according to claim 6, further comprising: providing a predetermined processing order to each of the plurality of timer counters; and the updating step performs the processing by referring to the processing order of each of the plurality of timer counters. The interrupt processing method according to claim 4, further comprising: changing the timer designation table to information indicating a timer counter next to the timer counter processed in the step.
受け付けるシステムにおいて、 タイマ割り込みの受付回数をカウントする複数のタイマ
カウンタを予め確保するステップと、 前記複数のタイマカウンタのうち次に更新を行うタイマ
カウンタを示す情報を有するタイマ指定テーブルを予め
確保するステップと、 タイマ割り込み受付時に、前記タイマ指定テーブルが有
する情報を参照して、前記複数のタイマカウンタのうち
次に更新を行うタイマカウンタを選択する選択ステップ
と、 前記選択ステップによって選択された前記タイマカウン
タの値に予め定められた値の変更を加える変更ステップ
と、 前記変更ステップによって変更された前記タイマカウン
タの値が所定値を満たした時に、前記タイマカウンタの
タイムアウト時に行われる割り込み処理を行う処理ステ
ップと、 前記タイマ指定テーブルを、前記タイマカウンタと異な
るタイマを示す情報に更新する更新ステップと、 を実行するプログラムを記録した記録媒体。7. A system for accepting both a timer interrupt and a normal interrupt, a step of previously securing a plurality of timer counters for counting the number of accepted timer interrupts, and a timer counter for updating the next one of the plurality of timer counters Securing in advance a timer designation table having information indicating the following; and selecting a timer counter to be updated next among the plurality of timer counters with reference to the information possessed by the timer designation table when accepting a timer interrupt. A step of adding a predetermined value to the value of the timer counter selected by the selecting step, and when the value of the timer counter changed by the changing step satisfies a predetermined value, Performed when the timer counter times out A processing step of performing interrupt processing, the timer specification table, the timer counter different recording medium and the update step, recording a program for executing the updating of information indicating the timer.
定められた初期値を与えるステップと、 前記処理ステップ終了時に前記タイマカウンタの値を対
応する前記初期値に初期化する初期化ステップと、 を実行するプログラムをさらに記録した請求項7に記載
の記録媒体。8. A step of giving a predetermined initial value to each of the plurality of timer counters in advance, and an initializing step of initializing the value of the timer counter to the corresponding initial value at the end of the processing step. The recording medium according to claim 7, further comprising a program to be executed.
定められた処理順序を与えるステップをさらに具備し、 前記更新ステップは、 前記複数のタイマカウンタの各々の前記処理順序を参照
して、前記処理ステップによって処理された前記タイマ
カウンタの次の順序にあたるタイマカウンタを示す情報
に前記タイマ指定テーブルを変更するステップと、 からなるステップを実行するプログラムを記録した請求
項7または8に記載の記録媒体。9. The method according to claim 9, further comprising: providing a predetermined processing order to each of the plurality of timer counters; and the updating step performs the processing by referring to the processing order of each of the plurality of timer counters. 9. The recording medium according to claim 7, wherein a program for executing the step of: changing the timer designation table to information indicating a timer counter in the next order of the timer counter processed by the step is recorded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10232483A JP2000066903A (en) | 1998-08-19 | 1998-08-19 | Interrupt processing system and interrupt processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10232483A JP2000066903A (en) | 1998-08-19 | 1998-08-19 | Interrupt processing system and interrupt processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2000066903A true JP2000066903A (en) | 2000-03-03 |
Family
ID=16940027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10232483A Pending JP2000066903A (en) | 1998-08-19 | 1998-08-19 | Interrupt processing system and interrupt processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2000066903A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7050940B2 (en) | 2004-03-17 | 2006-05-23 | International Business Machines Corporation | Method and system for maintaining and examining timers for network connections |
JP2009239687A (en) * | 2008-03-27 | 2009-10-15 | Kenwood Corp | Mixed mode symbol detecting device |
-
1998
- 1998-08-19 JP JP10232483A patent/JP2000066903A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7050940B2 (en) | 2004-03-17 | 2006-05-23 | International Business Machines Corporation | Method and system for maintaining and examining timers for network connections |
JP2009239687A (en) * | 2008-03-27 | 2009-10-15 | Kenwood Corp | Mixed mode symbol detecting device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8612986B2 (en) | Computer program product for scheduling ready threads in a multiprocessor computer based on an interrupt mask flag value associated with a thread and a current processor priority register value | |
Prakash et al. | A nonblocking algorithm for shared queues using compare-and-swap | |
Tindell et al. | An extendible approach for analyzing fixed priority hard real-time tasks | |
US7735087B2 (en) | Task switching apparatus, method and program | |
US7441240B2 (en) | Process scheduling apparatus, process scheduling method, program for process scheduling, and storage medium recording a program for process scheduling | |
US9170841B2 (en) | Multiprocessor system for comparing execution order of tasks to a failure pattern | |
EP1503292B1 (en) | DMA controller with bus occupation time limitation and sets of DMA parameters for a plurality of logical processors | |
JPH0635726A (en) | Method of selecting task on basis of stochastic priority | |
KR970016979A (en) | Queuing system and method of tasks in a multiprocessing system | |
US20050086030A1 (en) | Software tool for synthesizing a real-time operating system | |
US6473780B1 (en) | Scheduling of direct memory access | |
JP2000347883A (en) | Virtual computer device | |
Caccamo et al. | Sharing resources among periodic and aperiodic tasks with dynamic deadlines | |
US7178146B1 (en) | Pizza scheduler | |
US20020010732A1 (en) | Parallel processes run scheduling method and device and computer readable medium having a parallel processes run scheduling program recorded thereon | |
JP2000066903A (en) | Interrupt processing system and interrupt processing method | |
JP4292705B2 (en) | Task scheduling device | |
JP2004171167A (en) | Multiprocessor computer and program | |
JP2002006944A (en) | Indicator with control function | |
JP3998686B2 (en) | CPU usage time counting method and job control apparatus using this CPU usage time | |
Buttazzo | Real-time operating systems: Problems and novel solutions | |
JP2021092904A (en) | CPU resource management device | |
JPH0199132A (en) | Multi-task executing device | |
JPH05241958A (en) | Virtual storage control system | |
KR100455623B1 (en) | Method for Processing of Endless Loop Task in Multi Tasking Operating System |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20000313 |