JPH0223434A - Multi-task tracing system - Google Patents

Multi-task tracing system

Info

Publication number
JPH0223434A
JPH0223434A JP63174704A JP17470488A JPH0223434A JP H0223434 A JPH0223434 A JP H0223434A JP 63174704 A JP63174704 A JP 63174704A JP 17470488 A JP17470488 A JP 17470488A JP H0223434 A JPH0223434 A JP H0223434A
Authority
JP
Japan
Prior art keywords
task
trace
tracing
information
multitask
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
Application number
JP63174704A
Other languages
Japanese (ja)
Inventor
Hiroyuki Masuyama
増山 裕之
Hirohiko Ono
洋彦 小野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63174704A priority Critical patent/JPH0223434A/en
Publication of JPH0223434A publication Critical patent/JPH0223434A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To execute the tracing only to a special task by having a function to detect the switching of the task in a system, hold the tracing information to a tracing area for a task and refer to the tracing information of the task. CONSTITUTION:In a memory device 101, a task control block TCB for tasks A, B and C is stored and the tracing information for a task is stored in a tracing information holding device 201. The switching of the task is executed by selecting the address information of TCB by a central processing unit 102. The device 201 identifies the task during the execution by the address of the TCB from a signal line 103 and the tracing information from a tracing device 202 is distributed. When the switching of the task is executed by the device 102, the device 201 switches the tracing information. Thus, the tracing can be performed only to a special task.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、トレース方式に関し、特に複数のタスクが動
作するシステムでのトレース方式に関スる。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a tracing method, and particularly to a tracing method in a system in which a plurality of tasks are running.

〔従来の技術〕[Conventional technology]

情報処理装置においてその情報の処理は、通常プログラ
ムによって行なわれる。プログラムは、情報を逐次に処
理する。一般にプログラムは全ての処理が互いに関係し
合い、逐次に処理される必要はない。プログラムを各処
理ごとのモジュールに分割し、各々を平行動作させて処
理を行なえば、処理速度は向上する。
In an information processing device, the information is normally processed by a program. Programs process information sequentially. Generally, all processes in a program are related to each other and do not need to be processed sequentially. Processing speed can be improved by dividing a program into modules for each process and having each module operate in parallel.

この様な考え方を並列プログラミングといい、各処理に
対応するプログラム・モジュールをタスクという。タス
クはそれぞれ平行動作し、互いに同期をとりデータを通
信しながら処理を行なっていく。このタスクが複数動作
している環境を、マルチタスク環境という。
This way of thinking is called parallel programming, and the program modules that correspond to each process are called tasks. Each task operates in parallel, synchronizes with each other, and performs processing while communicating data. An environment in which multiple tasks are running is called a multitasking environment.

従来、マルチタスクの機能を有するシステムにおいて、
各タスクのプログラムは、そのシステム上のメモリ装置
上に、タスクのプログラムのアドレス情報により配置さ
れて逐次実行していた。
Conventionally, in systems with multitasking functions,
The program for each task was placed on a memory device on the system based on the address information of the task program and was executed sequentially.

実行される命令コード部は、それぞれのタスクが、平行
動作しているため、メモリ装置上の同一命令コード部の
プログラムを実行することも可能である(リエントラン
トプログラム)。
Since each task of the instruction code section to be executed operates in parallel, it is also possible to execute programs of the same instruction code section on the memory device (reentrant program).

複数のタスクが同一命令コードを実行する場合、目的と
するタスクに対してのトレースを行なう時は、トレース
した情報からユーザーが目的のタスクのトレース情報を
判断して取っていた。
When multiple tasks execute the same instruction code, when tracing the target task, the user determines and obtains the trace information of the target task from the traced information.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のマルチタスク環境下でのトレース方式は
、一つのタスクに関してのみ行ない、複数タスクが同一
命令コードを実行する場合は、トレースした情報からユ
ーザーがタスクに関する情報を判断して取らなければな
らないので、特定のタスクには注目できず、トレース結
果が混在してしまい、各タスクに対して正常なトレース
を行なうことができないという欠点がある。
The conventional tracing method in a multitasking environment described above is performed only for one task, and when multiple tasks execute the same instruction code, the user must judge and obtain information about the task from the traced information. Therefore, it is not possible to focus on a specific task, the trace results are mixed, and there is a drawback that normal tracing cannot be performed for each task.

本発明の目的は、従来のマルチタスク環境でのトレース
方式の不具合を除去し、特定のタスクに対してトレース
を可能とするトレース方式を提供することである。
An object of the present invention is to eliminate the drawbacks of conventional tracing methods in a multitasking environment and to provide a tracing method that enables tracing for specific tasks.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のマルチタスクトレース方式は、マルチタスクの
機能を有するシステムにおいて、システム状態をトレー
スし、システム内でのタスクの切り替えを知り、タスク
の切り替えによりトレース情報を各タスク用のトレース
領域に保持し、その各タスクのトレース情報を参照する
機能を有している。
The multitask tracing method of the present invention traces the system status in a system having a multitasking function, learns task switching within the system, and retains trace information in a trace area for each task by task switching. , has a function to refer to the trace information of each task.

〔実施例1〕 本発明の実施例1について図面を参照して説明する。[Example 1] Example 1 of the present invention will be described with reference to the drawings.

本実施例では、本発明をマイクロフンピユータ装置に適
用した例を示す。
This embodiment shows an example in which the present invention is applied to a microfum computer device.

第1図は、本発明の一実施例であるマルチタスクトレー
ス装置104を備えるマイクロコンピュータ装置を示す
ブロック図である。この実施例は、本発明のマルチタス
クトレース方式を適用してマイクロコンピュータ装置で
実行しているマルチタスク内の特定タスクについてトレ
ースを行なう装置である。
FIG. 1 is a block diagram showing a microcomputer device including a multitask trace device 104, which is an embodiment of the present invention. This embodiment is an apparatus that applies the multitask tracing method of the present invention to trace a specific task within a multitask being executed by a microcomputer device.

第2図は、第1図におけるマルチタスクトレース装置1
04の詳細を示すブロック図である。
Figure 2 shows the multitask trace device 1 in Figure 1.
FIG. 2 is a block diagram showing details of 04.

図中の装置で請求範囲のシステム状態をトレースする手
段は、トレース装置202であり、システム内でのタス
クの切り替えを知る手段は、カレントタスクモニタ信号
線103であり、タスクの切り替えによりトレース情報
を各タスク用のトレース領域に保持し、その各タスクの
トレース情報を参照する手段は、マルチタスク用トレー
ス情報保持装置201である。
In the device shown in the figure, the trace device 202 is the means for tracing the system state in the claims, and the means for notifying the switching of tasks within the system is the current task monitor signal line 103. The multitask trace information holding device 201 is a means for holding trace information in a trace area for each task and referring to the trace information for each task.

この実施例でのマイクロコンピュータ装置は、マルチタ
スク環境で動作しているとする。各タスクのプログラム
は、第1図のメモリ装置101に格納されており、各タ
スクのタスク制御情報も、メモリ装置101内の各タス
クコントロールブロック(以後TCBと記す)の情報と
して格納されている。中央処理装置102では、現在実
行中のTCBのアドレス値の変更によりマルチタスクの
タスクの切り替えを行なうものとする。
It is assumed that the microcomputer device in this embodiment is operating in a multitasking environment. A program for each task is stored in the memory device 101 in FIG. 1, and task control information for each task is also stored as information in each task control block (hereinafter referred to as TCB) in the memory device 101. It is assumed that the central processing unit 102 performs multitasking task switching by changing the address value of the TCB currently being executed.

第1図において、中央処理装置102は、メモリ装置1
01内に格納されている各タスクのプログラムを実行す
る。この場合、タスクの切り替えが行なわれると中央処
理装置102内のTCBの先頭アドレスをさし、実行中
のタスクの制御を示すタスクレジスタのTCBの先頭ア
ドレスであるベースアドレス値が変更される。中央処理
装置102は、カレントタスクモニタ信号線103で、
TCBのベースアドレス値を送る。マルチタスクトレー
ス装置104は、カレントタスクモニタ信号線103で
送られたベースアドレス値を参照することにより、タス
クの切り替えを認知する。
In FIG. 1, the central processing unit 102 includes a memory device 1
The programs for each task stored in 01 are executed. In this case, when the task is switched, the base address value, which refers to the start address of the TCB in the central processing unit 102 and is the start address of the TCB of the task register indicating control of the task being executed, is changed. The central processing unit 102 uses the current task monitor signal line 103,
Send the TCB base address value. The multitask tracing device 104 recognizes task switching by referring to the base address value sent via the current task monitor signal line 103.

第2図において、マルチタスク用トレース情報保持装置
201は、メモリ装置101内に格納されている各タス
ク用のTCHの情報に対応する各タスク用のプログラム
に関するトレース情報が保持されており、カレントタス
クモニタ信号線103のTCHのベースアドレス情報に
従って、各タスク用のトレース情報を選出する機能を備
え、トレース装置202からの各トレース情報を振り分
ける装置である。マルチタスク用トレース情報保持装置
201内の各タスク用のトレース情報は、各タスクのプ
ログラム内のトレースを行なうアドレス情報が保持され
ているものとする。
In FIG. 2, a multitask trace information holding device 201 holds trace information regarding a program for each task corresponding to the TCH information for each task stored in the memory device 101, and a multitask This device has a function of selecting trace information for each task according to the TCH base address information of the monitor signal line 103, and distributes each trace information from the trace device 202. It is assumed that the trace information for each task in the multitask trace information holding device 201 holds address information for performing tracing in the program of each task.

第1図において、A、B、Cのタスクがマルチタスクで
実行されている場合、メモリ装置101内にはタスクA
、B、C用のTCBが格納されており、マルチタスク用
トレース情報保持装置201内には、タスクA、B、C
用のトレース情報の格納領域がある。その各タスクの切
りかわりは、メモリ装置101内のTCBのベースアド
レス情報から中央処理装置102によって選出されるこ
とが可能である。もしタスクBの命令コード部のトレー
ス情報すいたい場合、マルチタスク用トレース情報保持
装置201内のタスクB用のトレース情報保持部に、そ
のトレース情報を格納しておく。
In FIG. 1, when tasks A, B, and C are executed as a multitask, task A is stored in the memory device 101.
, B, and C are stored, and the multitask trace information holding device 201 stores TCBs for tasks A, B, and C.
There is a storage area for trace information for The switching of each task can be selected by the central processing unit 102 from the base address information of the TCB in the memory device 101. If trace information of the instruction code portion of task B is desired, the trace information is stored in the trace information holding unit for task B in the multitasking trace information holding device 201.

中央処理装置102がタスクA、B、Cをマルチタスク
で実行している場合、内部の実行中のタスクの制御を示
すタスクレジスタは、タスクの変更時にタスク用のTC
Bのベースアドレスを設定され、変更される。マルチタ
スクトレース方式はカレントタスクモニタ信号線103
を使って、タスクが切り替わったことを知って、マルチ
タスクトレース装置104に取り込む。マルチタスク用
トレース情報保持装置201は、カレントタスクモニタ
信号線103から取り込んだ現在実行中のタスクのTC
Hのベースアドレスにより、現在実行中のタスク(A、
B、C)を識別し、現在実行中のタスク用のトレース情
報を選出し、トレース装置202からの各トレース情報
を振り分ける。中央処理装置102で、タスクBにタス
クが切り替わった場合、マルチタスク用トレース情報保
持装置201の選出するトレース情報は、タスクB用の
トレース情報に切り替わる。これにより、特定のタスク
のみに、トレースを行なうことが可能である。
When the central processing unit 102 is executing tasks A, B, and C in a multitask manner, the task register indicating control of the internally executing tasks is changed to the TC for the task when the task is changed.
B's base address is set and changed. The multitask trace method uses the current task monitor signal line 103.
is used to know that the task has been switched and import it into the multitask trace device 104. The multitask trace information holding device 201 stores the TC of the currently executing task taken in from the current task monitor signal line 103.
Based on the base address of H, the currently executing task (A,
B and C), selects trace information for the task currently being executed, and distributes each trace information from the trace device 202. When the task is switched to task B in the central processing unit 102, the trace information selected by the multitask trace information holding device 201 is switched to the trace information for task B. This makes it possible to trace only specific tasks.

もし、タスクAの命令コード部が、タスクBの命令コー
ド部と同一のメモリプログラムを実行する場合において
、タスクBのトレースを行ないたい場合、トレースを行
なうアドレスは、メモリ装置101内のタスクA、Bに
おいては同一メモリアドレスとなるが、マルチタスク用
トレース情報保持装置201により、タスクAとBは切
り替わっており、メモリ装置101内の同一命令コード
のトレースを行ないたいアドレスを、中央処理装置10
2が実行しても、現在のタスクがタスクA+7)場合は
、トレースは行なわれず、タスクBに切り替わった場合
に、トレースが行なわれる。これにより、メモリ中の同
一命令コードを実行するマルチタスクにおいて、特定の
タスクの実行に対してのみトレースを実行することが可
能である。
If the instruction code part of task A executes the same memory program as the instruction code part of task B, and if you want to trace task B, the address to be traced is task A in the memory device 101, The same memory address is used in B, but tasks A and B are switched by the multitasking trace information holding device 201, and the central processing unit 10 stores the address where the same instruction code in the memory device 101 is to be traced.
Even if task 2 is executed, if the current task is task A+7), tracing is not performed, but when switching to task B, tracing is performed. This makes it possible to trace only the execution of a specific task in multitasking that executes the same instruction code in memory.

第5図は、タスクlからタスクmまでのm個のタスクを
持ち、それらのタスクがマルチタスクで実行されている
とし、特定のn個のタスクについてのトレースを行なう
マルチタスクトレース方式の流れ図である。ただしnは
0以上1m以下の整数である。
Figure 5 is a flowchart of a multitask tracing method that traces specific n tasks, assuming that there are m tasks from task l to task m, and that these tasks are being executed in multitask mode. be. However, n is an integer of 0 or more and 1m or less.

〔実施例2〕 本発明の実施例2について図面を参照して説明する。[Example 2] A second embodiment of the present invention will be described with reference to the drawings.

本実施例では、本発明をマルチタスクモニタプログラム
環境下のマイクロコンピュータ装置に適用した例を示す
This embodiment shows an example in which the present invention is applied to a microcomputer device under a multi-task monitor program environment.

第3図は、本発明の一実施例であるマルチタスクトレー
ス装置304を備え、マルチタスクモニタプログラムが
マルチタスクのタスク制御を行なっているマイクロコン
ピュータ装置を示すブロック図である。この実施例は、
本発明のマルチタスクトレース方式を適用してマルチタ
スクモニタプログラム環境下のマイクロコンピュータ装
置で実行しているマルチタスク内の特定タスクについて
トレースを行なう装置である。
FIG. 3 is a block diagram showing a microcomputer device including a multitask trace device 304 according to an embodiment of the present invention, and in which a multitask monitor program performs multitask task control. This example is
This device applies the multitask tracing method of the present invention to trace a specific task within a multitask being executed on a microcomputer device under a multitask monitor program environment.

実施例1と実施例2の異なる点は、マルチタスクのタス
クの切り替え情報を、実施例1では、中央処理装置10
2から直接参照しており、実施例2では、マルチタスク
を鳳御しているモニタプログラムから参照している点で
ある。
The difference between the first embodiment and the second embodiment is that the multitasking task switching information is stored in the central processing unit 10 in the first embodiment.
In the second embodiment, it is directly referenced from the monitor program that controls multitasking.

第4図は、第3図におけるマルチタスクトレース装置3
04の詳細を示すブロック図である。
FIG. 4 shows the multitask trace device 3 in FIG.
FIG. 2 is a block diagram showing details of 04.

図中の装置で請求範囲のシステム状態をトレースする手
段は、トレース装置402であり、システム内でのタス
クの切り替えを知る手段はカレントタスクモニタ信号線
303であり、タスクの切り替えによりトレース情報を
各タスク用のトレース領域に保持し、その各タスクのト
レース情報を参照する手段は、マルチタスク用トレース
情報保持装置401である。
In the device shown in the figure, the trace device 402 is the means for tracing the claimed system state, and the means to know the switching of tasks within the system is the current task monitor signal line 303. The multitask trace information holding device 401 is a means for holding trace information of each task in a task trace area and referring to the trace information of each task.

この実施例でのマイクロコンピュータ装置は、マルチタ
スクモニタプログラムが、各タスクがマルチタスクモニ
タプログラムの監視、制御のもとですべて実行されてい
るスーパーバイザモードで動作しているマルチタスク環
境で動作しているとする。マルチタスクモニタプログラ
ムは、メモリ装置301中に常駐しており、マルチタス
クのタスク制御を行なうモニタプログラムである。各タ
スクのプログラムはメモリ装置301に格納されており
、各タスクのタスク制御情報も、メモリ装置301内の
各TCBの情報として格納されている。実施例2では、
タスクの切り替えをメモリ装置301内のマルチタスク
モニタプログラムが、現在実行中のマルチタスクモニタ
プログラム内のタスク情報保持メモリ部のTCBのアド
レス値の管理により、中央処理装置302を制御して、
マルチタスクのタスクの切り替えを行なうものとする。
The microcomputer device in this embodiment operates in a multitasking environment in which a multitasking monitor program is operating in a supervisor mode in which each task is all executed under the supervision and control of the multitasking monitor program. Suppose there is. The multitask monitor program is a monitor program that resides in the memory device 301 and performs task control of multitasks. A program for each task is stored in the memory device 301, and task control information for each task is also stored as information for each TCB in the memory device 301. In Example 2,
The multitask monitor program in the memory device 301 controls the central processing unit 302 to switch tasks by managing the address value of the TCB of the task information holding memory section in the currently running multitask monitor program.
It is assumed that multitasking tasks are to be switched.

第3図において、中央処理装置302は、メモリ装置3
01内に格納されている各タスクのプログラムを実行す
る。この場合、タスクの切り替えが行なわれるとメモリ
装置301内のマルチタスクモニタプログラム内のタス
ク情報保持メモリ部の’i’CBのベースオアドレス値
が変更される。マルチタスクトレース装置304は、そ
の値を参照することによりタスクの切り替えを認知する
。カレントタスクモニタ信号線303は、このタスク情
報保持メモリをモニタする信号線である。
In FIG. 3, the central processing unit 302 includes a memory device 3
The programs for each task stored in 01 are executed. In this case, when the task is switched, the base address value of 'i'CB in the task information holding memory section in the multitask monitor program in the memory device 301 is changed. The multitask tracing device 304 recognizes task switching by referring to the value. The current task monitor signal line 303 is a signal line that monitors this task information holding memory.

第4図において、マルチタスク用トレース情報保持装置
401は、メモリ装置301内に格納されている各タス
ク用のTCBの情報に対応する各タスク用のプログラム
に関するトレース情報が保持されており、カレントタス
クモニタ303のTCBのベースアドレス情報に従って
、各タスク用のトレース情報を選出する機能を備え、ト
レース装置402からの各トレース情報を振り分ける装
置である。マルチタスク用トレース情報保持装置401
内の各タスク用のトレース情報は、各タスクのプログラ
ム内のトレースを行なうアドレス情報が保持されている
ものとする。
In FIG. 4, a multitask trace information holding device 401 holds trace information regarding a program for each task corresponding to the information of the TCB for each task stored in the memory device 301. This device has a function of selecting trace information for each task according to the base address information of the TCB of the monitor 303, and distributes each trace information from the trace device 402. Multitasking trace information holding device 401
It is assumed that the trace information for each task in the table holds address information for tracing within the program of each task.

第3図において、マルチタスクモニタプログラム下で、
A、B、Cのタスクがマルチタスクで実行されている場
合、メモリ装置301内にはタスクA、E、C用のTC
Bが格納されており、マルチタスク用トレース情報保持
装置401内には、タスクA、B、C用のトレース情報
の格納領域がある。その各タスクの切りかわりは、メモ
リ装置301内のTCBのベースアドレス情報からメモ
リ装置301によって選出されることが可能である。も
しタスクBの命令コードのトレースを行ないたい場合、
マルチタスク用トレース情報保持装置401内のタスク
B用のトレース情報保持部に、そのトレース情報を格納
しておく。マルチタスクモニタプログラム上でタスクA
、B、Cをマルチタスクで実行している場合、内部の実
行中のタスクの制御を示すタスク情報保持メモリ部は、
タスクの変更時にタスク用のTCHのベースアドレスを
設定され、変更される。カレントタスクモニタ信号線3
03によりそのタスク情報保持メモリ部の値を参照して
、マルチタスクトレース装置304に取り込む。マルチ
タスク用トレース情報保持装置401は、カレントタス
クモニタ信号線303から取り込んだ現在実行中のタス
クのTCBのベースアドレスにより、現在実行中のタス
ク(A、B、C)を識別し、現在実行中のタスク用のト
レース情報を選出し、トレース装置402からの各トレ
ース情報を振り分ける。中央処理装置302で、タスク
Bにタスクが切り替わった場合、マルチタスク用トレー
ス情報保持装置4010選出するトレース情報は、タス
クB用のトレース情報に切り替わる。これにより、特定
のタスクのみの、トレースを行うことが可能である。
In Figure 3, under the multitasking monitor program,
When tasks A, B, and C are executed as a multitask, the memory device 301 contains TCs for tasks A, E, and C.
In the multitask trace information holding device 401, there are trace information storage areas for tasks A, B, and C. The switching of each task can be selected by the memory device 301 from the base address information of the TCB in the memory device 301. If you want to trace the instruction code of task B,
The trace information is stored in the trace information holding unit for task B in the multitask trace information holding device 401. Task A on the multitasking monitor program
, B, and C are executed by multitasking, the internal task information holding memory section that indicates the control of the task being executed is
When a task is changed, the TCH base address for the task is set and changed. Current task monitor signal line 3
03, the value of the task information holding memory section is referred to and taken into the multitask trace device 304. The multitasking trace information holding device 401 identifies the currently executing tasks (A, B, C) based on the base address of the TCB of the currently executing task fetched from the current task monitor signal line 303, and identifies the currently executing task (A, B, C). The trace information for each task is selected and each trace information from the trace device 402 is distributed. When the central processing unit 302 switches the task to task B, the trace information selected by the multitask trace information holding device 4010 switches to the trace information for task B. This makes it possible to trace only specific tasks.

もし、タスクAの命令コード部が、タスクBの命令コー
ド部と同一のメモリプログラムを実行する場合において
、タスクBのトレースを行ないたい場合、トレースを行
なうアドレスは、メモリ装置301内のタスクA、Bに
おいては同一メモリアドレスとなるが、マルチタスク用
トレース情報保持装置401により、タスクAとBは切
り替わっており、メモリ装置301内の同一命令コード
のトレースを行ないたいアドレスを、中央処理装置30
2が実行しても、現在のタスクがタスクAの場合は、ト
レースは行なわれず、タスクBに切り替わった場合に、
トレースが行なわれる。これにより、メモリ中の同一命
令コードを実行するマルチタスクにおいて、特定のタス
クの実行に対してのみトレースを実行することが可能で
ある。
If the instruction code part of task A executes the same memory program as the instruction code part of task B, and if you want to trace task B, the address to be traced is task A in the memory device 301, The same memory address is used in B, but tasks A and B are switched by the multitask trace information holding device 401, and the central processing unit 30 stores the address in the memory device 301 where the same instruction code is to be traced.
Even if 2 is executed, if the current task is task A, tracing will not be performed, and when switching to task B,
A trace is performed. This makes it possible to trace only the execution of a specific task in multitasking that executes the same instruction code in memory.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、マルチタスク環境におい
て、特定のタスクに関して、トレースを行なうことを可
能とし、複数のタスクにより同時に実行される同一命令
コードに対して特定のタスクについてトレースを行なう
ことができる。
As explained above, the present invention makes it possible to trace a specific task in a multitasking environment, and to trace a specific task for the same instruction code that is simultaneously executed by multiple tasks. can.

レース装置を備えるマイクロコンピュータ装置ヲ示すブ
ロック図、第2図は第1図のマルチタスクトレース装置
の詳細を示すブロック図、第3図は本発明の実施例2の
マルチタスクトレース装置を備え、マルチタスクモニタ
プログラム環境下のマイクロコンピュータ装置を示すブ
ロック図、第4図は第3図のマルチタスクトレース装置
の詳細を示すブロック図、第5図は、本発明における流
れ図である。
2 is a block diagram showing details of the multitask trace device of FIG. 1, and FIG. 3 is a block diagram showing a microcomputer device equipped with a trace device, and FIG. FIG. 4 is a block diagram showing a microcomputer device under a task monitor program environment, FIG. 4 is a block diagram showing details of the multitask tracing device of FIG. 3, and FIG. 5 is a flow chart of the present invention.

101.301・川・・メモリ装置、102,302・
・・・・・中央処理装置、103,303・旧・・カレ
ントタスクモニタ信号線、104,304・・団・マル
チタスクトレース装置、201,401・旧・・マルチ
タスク用トレース情報保持装置、202,402・・・
・・トレース装置。
101.301・River...Memory device, 102,302・
...Central processing unit, 103,303 Old... Current task monitor signal line, 104,304 Group Multi-task trace device, 201,401 Old... Multi-task trace information holding device, 202 ,402...
...Trace device.

代理人 弁理士  内 原   晋Agent: Patent Attorney Susumu Uchihara

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例1のマルチタスク環境 j 図 茅 3 回 等 2 菌 第 4 厨 Figure 1 is a diagram of a multitasking environment according to the first embodiment of the present invention. Kaya 3 times etc. 2 Bacteria 4th Cook

Claims (1)

【特許請求の範囲】[Claims] マルチタスクの機能を有するシステムにおいて、システ
ム状態をトレースし、システム内でのタスクの切り替え
を知り、タスクの切り替えによりトレース情報を各タス
ク用のトレース領域に保持し、その各タスクのトレース
情報を参照し、特定のタスクに対してのトレースを実行
することを特徴とするトレース方式。
In systems with multitasking functionality, trace the system status, know when tasks are switched within the system, maintain trace information in the trace area for each task by switching tasks, and refer to the trace information for each task. A tracing method that is characterized by executing tracing for a specific task.
JP63174704A 1988-07-12 1988-07-12 Multi-task tracing system Pending JPH0223434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63174704A JPH0223434A (en) 1988-07-12 1988-07-12 Multi-task tracing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63174704A JPH0223434A (en) 1988-07-12 1988-07-12 Multi-task tracing system

Publications (1)

Publication Number Publication Date
JPH0223434A true JPH0223434A (en) 1990-01-25

Family

ID=15983203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63174704A Pending JPH0223434A (en) 1988-07-12 1988-07-12 Multi-task tracing system

Country Status (1)

Country Link
JP (1) JPH0223434A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005258889A (en) * 2004-03-12 2005-09-22 Nec Corp Program trace method and trace processing system
US8756461B1 (en) * 2011-07-22 2014-06-17 Juniper Networks, Inc. Dynamic tracing of thread execution within an operating system kernel
US10417121B1 (en) 2011-12-19 2019-09-17 Juniper Networks, Inc. Monitoring memory usage in computing devices

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005258889A (en) * 2004-03-12 2005-09-22 Nec Corp Program trace method and trace processing system
JP4527419B2 (en) * 2004-03-12 2010-08-18 日本電気株式会社 Program trace method and trace processing system
US8756461B1 (en) * 2011-07-22 2014-06-17 Juniper Networks, Inc. Dynamic tracing of thread execution within an operating system kernel
US10417121B1 (en) 2011-12-19 2019-09-17 Juniper Networks, Inc. Monitoring memory usage in computing devices

Similar Documents

Publication Publication Date Title
US6031973A (en) Robot and its controller method
TW371742B (en) A computer operation management system for a computer operating system capable of simultaneously executing plural application programs
KR100495240B1 (en) Processor system
JPH0223434A (en) Multi-task tracing system
US4907190A (en) Computer control system and method for effecting sequence controls and servo-controls
JPS62286117A (en) Information processor
JPH0195334A (en) Multi-task address trap system
JPH09160790A (en) Device and method for task schedule
JPH11184828A (en) Test system for multiprocessor system
JPH06149615A (en) Event recording system
JPH10143376A (en) Information processing device
JPH03105503A (en) Programmable controller
JPS61253567A (en) Data input and output system
CA1259417A (en) Computer systems suitable for effecting sequence controls and servo-controls
JPH0635516A (en) Batch enable/disable processing method for plural programs in programmable controller
JPH087689B2 (en) Task control method
JPH10312374A (en) Vector arithmetic processor
JPS63173136A (en) Inter-task communication system
JPS63293631A (en) Screen division controller
JPH1195825A (en) Method for executing numerical control program
JPH04130910A (en) Information processor
JPH0772874B2 (en) Interrupt receiving device
JPH01147640A (en) Multi-programming debug device
JPH01236305A (en) Machine controlling method
JPH03100853A (en) Inter-processor communication system