JPS6136851A - Display device for application state of system resources - Google Patents

Display device for application state of system resources

Info

Publication number
JPS6136851A
JPS6136851A JP15986784A JP15986784A JPS6136851A JP S6136851 A JPS6136851 A JP S6136851A JP 15986784 A JP15986784 A JP 15986784A JP 15986784 A JP15986784 A JP 15986784A JP S6136851 A JPS6136851 A JP S6136851A
Authority
JP
Japan
Prior art keywords
address
circuit
system resources
addresses
bus
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
JP15986784A
Other languages
Japanese (ja)
Inventor
Tatsuro Yasue
安江 辰朗
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 JP15986784A priority Critical patent/JPS6136851A/en
Publication of JPS6136851A publication Critical patent/JPS6136851A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the effective utilization of system resources of a microcomputer by using an address preservating circuit, an address comparator and a display circuit. CONSTITUTION:When a central processor 4 is started, a system initialization part within a monitor program stored in a main memory 5 is executed. Then plural addresses of the system resources are written previously an address preserving circuit 1. An address comparator 2 always intercepts the signals of a memory write contol line 6 and an address bus 7 and fetches the address signals flowing to the bus 7 every time the control signal of the line 6 is turned on to compare them with all addresses preserved by the circuit 1. When the coincident addresses are detected, the numbers of these addresses are informed to a display circuit 3. Thus the data on a data bus 8, i.e., the application state of the system resources is fetched to perform a display in response to said application state.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、マイクロコンピュータシステムで実行される
プログラムが使用するシステム資源の使用状態を実時間
で表示する装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a device that displays in real time the usage status of system resources used by programs executed on a microcomputer system.

(従来の技術) マイクロコンピュータを応用したシステムで実行される
プログラムは、システム特有の仕事を行なうタスクプロ
グラムと、タスクプログラムの動作制御やハードウェア
の制御等を行なうモニタプログラムと延分割されている
のが一般的である。そしてモニタプログラムはイベント
フラグやセマフォあるいはメモリプールなどと一般的に
呼ばれているソフトウェア的なシステム資源を管理して
おシ、タスクプログラムからの要求に応じてフラグのセ
ット、リセットあるいはメモリプールの残存バイト数の
更新などを行なっている。
(Prior art) Programs executed in a system using a microcomputer are divided into a task program that performs system-specific tasks and a monitor program that controls the operation of the task program and controls the hardware. is common. The monitor program manages software-like system resources commonly called event flags, semaphores, or memory pools, and sets or resets flags or maintains the memory pool in response to requests from task programs. The number of bytes is updated, etc.

従来、このようなシステム資源の使用状況をプ四グラマ
など人間が参照確認する手段として、システム資源の使
用状況を報告するプログラムを新たに作成してシステム
に組み込み、必要な時点でこのプログラムを動作させて
使用状況を表示させていた。
Conventionally, as a means for humans to refer to and check the usage status of system resources, such as a programmer, a new program to report the usage status of system resources was created and installed in the system, and this program was run at the necessary time. to display usage status.

(発明が解決しようとする問題点) しかしながら、このような確認手段は、システム本来の
動作を一時中断させて中断時点の使用状況を表示させる
ものであるため、時々刻々変化していく使用状況を実時
間で参照確認することは不可能で、l、システム障害発
生時やシステムテスト時にシステム資源の異常使用や容
量不足等の原因をつきとめるためには多大な労力と時間
を必要としていた。
(Problem to be solved by the invention) However, since such confirmation means temporarily interrupts the original system operation and displays the usage status at the time of suspension, it is difficult to monitor the usage status that changes from moment to moment. It is impossible to perform a reference check in real time, and it requires a great deal of effort and time to identify the cause of abnormal use of system resources, insufficient capacity, etc. when a system failure occurs or during a system test.

(問題点を解決するための手段) 本発明はソフトウェア的なシステム資源の使用状況をそ
の変動に応じて実時間で表示することにより、システム
全体の大局的な動きを認識することができるようにしよ
うとするものである。
(Means for Solving the Problems) The present invention makes it possible to recognize the global movement of the entire system by displaying the usage status of software system resources in real time according to their fluctuations. This is what I am trying to do.

上記の目的を達成するために、本発明は次のような構成
を有する。
In order to achieve the above object, the present invention has the following configuration.

即ち、中央処理装置と主メモリとからなるマイクロコン
ピュータシステムにおいて、ブ四グラムが使用するシス
テム資源のアドレスを複数個保存するアドレス保存回路
と、プログラム実行中にアドレスバスを流れるアドレス
信号と前記アドレス保存回路からの保存されたアドレス
信号とを受けて比較し両アドレスが一致したときに信号
出力を生ずるアドレス比較回路と、この信号出力を受け
その時点でデータバスを流れるデータ信号の内容を捉え
て表示する表示回路とを備えることを特徴とするシステ
ム資源使用状態表示装置である。
That is, in a microcomputer system consisting of a central processing unit and a main memory, there is an address storage circuit that stores a plurality of addresses of system resources used by the program, an address signal flowing through an address bus during program execution, and an address storage circuit that stores addresses of system resources used by the program. An address comparison circuit that receives and compares the stored address signal from the circuit and outputs a signal when both addresses match, and an address comparison circuit that receives this signal output and captures and displays the contents of the data signal flowing on the data bus at that time. 1. A system resource usage status display device comprising: a display circuit for displaying a system resource usage state;

(作用) 以下、本発明Kかかるシステム資源使用状態表示装置の
動作を図面に基づいて説明する。
(Operation) Hereinafter, the operation of the system resource usage status display device according to the present invention will be explained based on the drawings.

第1図は本発明の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of the present invention.

中央処理装置4が起動されると主メモリ5に格納されて
いるモニタプログラムの内のシステム初期化部が実行さ
れ、初期化部の一部で、システム資源のアドレスを複数
個アドレス保存回路1に書き込んでおく。アドレス保存
回路1では書き込まれたアドレスごとに個有のアドレス
番号を付加しておく。システム初期化が終了すると主メ
モリ5に格納されているタスクプログラムが実行開始さ
れる。アドレス比較回路2はメモリ書込制御線6とアド
レスバス7の信号を常時傍受しており、メモリ書込制御
線60制御信号がオンになる度にアドレスバス7を流れ
るアドレス信号を取り込み、これをアドレス保存回路1
に保存されているすべてのアドレスと比較する。一致す
るアドレスを検出した場合には七のアドレス番号を表示
回路3へ通知し、表示回路3は通知を受けた時点で、デ
ータバス8上のデータすなわちシステム資源の使用状態
を取り込み、その状態に応じた表示を行なう。システム
資源の使用状態は例えばイベントフラグがセットされた
こと、リセットされたこと、あるいはメモリプールの残
存バイト数などがある。
When the central processing unit 4 is started, a system initialization part of the monitor program stored in the main memory 5 is executed, and a part of the initialization part stores a plurality of addresses of system resources in the address storage circuit 1. Write it down. The address storage circuit 1 adds a unique address number to each written address. When the system initialization is completed, the task program stored in the main memory 5 starts executing. The address comparison circuit 2 constantly intercepts the signals on the memory write control line 6 and the address bus 7, and every time the memory write control line 60 control signal is turned on, it takes in the address signal flowing through the address bus 7 and reads it. Address storage circuit 1
Compare with all addresses stored in . If a matching address is detected, the address number 7 is notified to the display circuit 3, and upon receiving the notification, the display circuit 3 takes in the data on the data bus 8, that is, the usage status of the system resources, and changes it to that status. Display accordingly. The usage status of system resources includes, for example, whether an event flag has been set or reset, or the number of bytes remaining in the memory pool.

タスクが起動開始された後、上記の動作を繰り返し実行
することによシ、時々刻々変化するシステム資源の使用
状態を実時間で表示するととが可能となる。
By repeatedly performing the above operations after a task is started, it becomes possible to display the constantly changing usage status of system resources in real time.

(発明の効果) 本発明は以上説明したように中央処理装置と主メモリと
からなるマイクロコンピュータシステムにおいて、アド
レス保存回路、アドレス比較回路及び表示回路を設ける
ことにより、従来の一般的手段では実時間での認識が不
可能であったシステム資源の使用状態を、実時間で表示
できるため、システム資源の過不足などに起因するシス
テムの不具合点を短時間で探究することが可能となシ、
システム障害の改修やシステムテストに要する時間を大
幅に削減することが出来るという利点がある。
(Effects of the Invention) As explained above, the present invention provides an address storage circuit, an address comparison circuit, and a display circuit in a microcomputer system consisting of a central processing unit and a main memory. It is possible to display the usage status of system resources in real time, which was previously impossible to recognize, so it is possible to quickly investigate system problems caused by excess or shortage of system resources.
This has the advantage of greatly reducing the time required to repair system failures and test the system.

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

第1図は本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置と主メモリとからなるマイクロコンピユー
タシステムにおいて、プログラムが使用するシステム資
源のアドレスを複数個保存するアドレス保存回路と、プ
ログラム実行中にアドレスバスを流れるアドレス信号と
前記アドレス保存回路からの保存されたアドレス信号と
を受けて比較し両アドレスが一致したときに信号出力を
生ずるアドレス比較回路と、この信号出力を受けその時
点でデータバスを流れるデータ信号の内容を捉えて表示
する表示回路とを備えることを特徴とするシステム資源
使用状態表示装置。
In a microcomputer system consisting of a central processing unit and a main memory, there is an address storage circuit that stores multiple addresses of system resources used by a program, and an address signal flowing through an address bus during program execution and storage from the address storage circuit. an address comparator circuit that receives and compares the address signal sent to the data bus and outputs a signal when the two addresses match, and a display circuit that receives this signal output and captures and displays the content of the data signal flowing through the data bus at that time. A system resource usage status display device comprising:
JP15986784A 1984-07-30 1984-07-30 Display device for application state of system resources Pending JPS6136851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15986784A JPS6136851A (en) 1984-07-30 1984-07-30 Display device for application state of system resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15986784A JPS6136851A (en) 1984-07-30 1984-07-30 Display device for application state of system resources

Publications (1)

Publication Number Publication Date
JPS6136851A true JPS6136851A (en) 1986-02-21

Family

ID=15702945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15986784A Pending JPS6136851A (en) 1984-07-30 1984-07-30 Display device for application state of system resources

Country Status (1)

Country Link
JP (1) JPS6136851A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05120078A (en) * 1992-03-04 1993-05-18 Nec Corp Dynamic management display device for system resource management abnormality cause information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05120078A (en) * 1992-03-04 1993-05-18 Nec Corp Dynamic management display device for system resource management abnormality cause information

Similar Documents

Publication Publication Date Title
US7600155B1 (en) Apparatus and method for monitoring and debugging a graphics processing unit
US7711990B1 (en) Apparatus and method for debugging a graphics processing unit in response to a debug instruction
US5003468A (en) Guest machine execution control system for virutal machine system
JPS6136851A (en) Display device for application state of system resources
JPH0581070A (en) Programmable controller and user program execution method in programmable controller
JPH02214949A (en) Display device for application state of system resources
CN115576807B (en) Virtual ECU implementation method and device, electronic equipment and storage medium
JPS63177231A (en) Debug system for parallel program
JPH0314136A (en) Mutual diagnostic system for microprocessor system
JPH0196752A (en) Multi-processor device
JPS59202547A (en) Debugging device
JPH08221296A (en) Built-in software debug support device
JPS63228240A (en) Monitor for inter-multiprocessor communication
JPH05173829A (en) Error generating method
JPS62212865A (en) Multiprocessor control system
JPH0772874B2 (en) Interrupt receiving device
JPH01184551A (en) System for debugging program
JPS63150732A (en) Program running supervisory equipment
JPS6284354A (en) Trace instruction controlling system
JPH02108149A (en) Exclusive control mechanism for multiprocessor
JPS6167146A (en) Pseudo fault generating system
JPS62229451A (en) Peripheral device for computer system
JPH03181290A (en) Central controller
JPH01293447A (en) Control system for address coincidence interruption
JPH02208739A (en) Control method for virtual computer system