JPS6284347A - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPS6284347A
JPS6284347A JP60224476A JP22447685A JPS6284347A JP S6284347 A JPS6284347 A JP S6284347A JP 60224476 A JP60224476 A JP 60224476A JP 22447685 A JP22447685 A JP 22447685A JP S6284347 A JPS6284347 A JP S6284347A
Authority
JP
Japan
Prior art keywords
program
counter
address
setting
execution time
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
JP60224476A
Other languages
Japanese (ja)
Inventor
Hiroyoshi Ataka
安宅 弘祥
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60224476A priority Critical patent/JPS6284347A/en
Publication of JPS6284347A publication Critical patent/JPS6284347A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、プログラム実行時間計測手段を保有する電
子計算機に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic computer having a program execution time measuring means.

〔従来技術〕[Prior art]

サーボ系等の制御装置に用いられる電子計算機(以下計
算機と略す。)はサンプル値?li′II御理論に基づ
いた比較的短い周期の爽時間処理を実行するよう制御さ
れ、座標変換、フィルタ計算、外挿計算、信号変換器の
%HI御1人出力制惧。
Do electronic computers (hereinafter referred to as computers) used in control devices such as servo systems use sample values? It is controlled to execute relatively short-cycle refreshing time processing based on the li'II control theory, and performs coordinate transformation, filter calculation, extrapolation calculation, and %HI control of the signal converter and one-person output control.

その他各糧の処理全所定の時rdl内に行うことが要求
される。
All other processing of each food item is required to be performed within the specified time rdl.

したがってプログラムの実行時間を把握することが重要
であり、これを計測する手段が必要となる。
Therefore, it is important to understand the program execution time, and a means to measure this is required.

従来このような要求に応えるものの一つに。One of the conventional methods to meet such demands.

処理周期の時間基準を得るために用いるタイマーを、被
測定10グラム実行開始前と終了後に読み、その時間差
を算出して実行時間を得る方法があった。これは単純に
、タイマーを読む命令と時間差全算出する等の命令全禎
測定グログラムの前後に適当に配飲し、計111j結果
を出力させる。プログラムによる方法であつ六。
There is a method of reading a timer used to obtain the time standard of the processing cycle before the start and after the execution of 10 grams to be measured, and calculating the time difference to obtain the execution time. This is simply done by appropriately distributing instructions before and after the instruction to read the timer and the instruction to calculate the total time difference, etc., and outputs a total of 111j results. There is also a programmatic method.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の計1!L機では上!!己のような方法で実行時間
ケ計−jするため、任意のプログラムあるいは一つのプ
ログラムの一部分の実行時間を計測する場合、その#′
XIJljプログラム金軒圧する必安があり、非常に不
便なものであった。
Conventional total of 1! The L machine is better! ! To measure the execution time using a method like this, if you want to measure the execution time of any program or part of a program, use #'
It was very inconvenient as the XIJlj program was very expensive.

この発明はこのような欠点を解消するためになされたも
ので簡便な操作により任意のプログラムの実行時間を計
測することができる計算機?得ることを目的とする。
This invention was made to eliminate these drawbacks, and is a computer that can measure the execution time of any program with simple operations. The purpose is to obtain.

〔問題点f解決するための手段〕[Means for solving problem f]

この発明に係るtt計算機、任意の二つのアドレスを設
定し、保持するアドレス設定保持手段と、被測定プログ
ラムが実行中であること全検出する被測定プログラム検
出手段と、上記検出中に基準クロック全カウントするカ
ウンタを設けたものである。
The tt calculator according to the present invention includes: address setting holding means for setting and holding arbitrary two addresses; measured program detecting means for detecting whether the program under test is being executed; It is equipped with a counter for counting.

〔作用〕[Effect]

この発明においては、被測定プログラムの開始アドレス
と終了アドレスを設定することにより、被測定プログラ
ムが実行している間カラ/りが作動して実行時間を計測
するものである。
In this invention, by setting a start address and an end address of a program to be measured, a color controller is operated while the program to be measured is being executed to measure the execution time.

〔実施例〕〔Example〕

@1図はこの発明による計算機のプログラム実行時間計
測手段の一突施例?示す全体構成図である。第1図にお
いてillは被測定プログラムの開始アドレス及び終了
アドレスを設定し、保持させるためのアドレス設定保i
手段、+21ijプログラムカウンタ、f31ti被測
定プログラムが実行中であること全検出する被測定プロ
グラム検出手段、(4)は基準クロック発生器、+51
V′iカウンタ、(61Fi表示手段である。
@1 Is Figure 1 an example of a computer program execution time measuring means according to the present invention? FIG. In FIG. 1, ill is an address setting saver i for setting and holding the start address and end address of the program under test.
means, +21ij program counter; f31ti program-under-test detection means for detecting whether the program under test is being executed; (4) is a reference clock generator; +51
V'i counter (61Fi display means).

第2図は第1図に示す実施例の詳細図である。第2図に
おいてアドレス設定保持手段111 Fiメンテナンス
パネルαυ、アドレス設定回路03.アドレスレジスタ
1 (13及びアドレスレジスタ20Jからなる。被測
定プログラム検出手段(31は比較回路ICII)、比
較回路2(至)及びフリラグフロップ田からなる。表示
手段16)は表示制御回路M及びメンテナンスパネルa
υで!!RIRする。
FIG. 2 is a detailed view of the embodiment shown in FIG. In FIG. 2, address setting holding means 111, Fi maintenance panel αυ, address setting circuit 03. The address register 1 (13) and the address register 20J consist of the program under test detection means (31 is the comparison circuit ICII), the comparison circuit 2 (to) and the free lag flop field.The display means 16) includes the display control circuit M and the maintenance panel a
At υ! ! RIR.

次に動作圧ついて第2図を参照しながら説明する。メン
テナンスパネルaLlのスイッチ操作により被測定プロ
グラムの開始アドレスと終了アドレスをΩ足することに
より、これらは夫々アドレスレジスタi3及びアドレス
レジスタ2Iに保持される。ここで計算機を実行状態に
し。
Next, the operating pressure will be explained with reference to FIG. By adding Ω to the start address and end address of the program under test by operating a switch on the maintenance panel aLl, these are held in the address register i3 and the address register 2I, respectively. Now put the computer into running state.

プログラムカラ/り(21の内容がアドレスレジスタ1
03の内容が一致したとき比較回路illが信号を出力
し、これによりカウンタ(5)をクリヤーするとともに
7リツプ70ツグロをセットする。これによりカウンタ
(5)はカラントイ1.−プルとなり基準クロック弁土
器(41が出力するクロック全カウントし始める。その
後プログラムカウンタ(21の内容がアドレスレジスタ
Q4の内容と一致したとき比較回路2ωが信号を出力し
、これによりフリラグフロップG3かリセットてれ、カ
ウンタ+5125;カウントを停止し、カウント値が表
示IIN’!1回路勧υに転送され、メンテナンスパネ
ルαD上に表示される。【7たがってこれを目視するこ
とによりプログラムの実行時間を知ることができる。
Program color/re (the contents of 21 are address register 1)
When the contents of 03 match, the comparison circuit ill outputs a signal, thereby clearing the counter (5) and setting 7 lip 70 tsugro. As a result, the counter (5) is set to 1. - Pull and starts counting all the clocks output by the reference clock valve (41). Then, when the contents of the program counter (21) match the contents of the address register Q4, the comparator circuit 2ω outputs a signal, which causes the free lag flop G3 to output a signal. Reset the counter, +5125; Stop the count, and the count value will be transferred to the display IIN'! 1 and displayed on the maintenance panel αD. [7 Therefore, by visually observing this, the program can be executed. I can tell the time.

C発明の効果〕 この発明は以上説明したとおり、開始アドレスと終了ア
ドレスを設定する操作により任意のプログラム又はその
−も分の実行時間あるいは一つの処理周期全体の負荷時
間等を容易にかつ迅速に計測できるという効果をもつ。
C Effects of the Invention] As explained above, this invention can easily and quickly reduce the execution time of any program or its minutes or the load time of one entire processing cycle by setting the start address and end address. It has the effect of being measurable.

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

第1図はこの発EAによる計算機のプログラム実行時間
計測手段の一実施例を示す全体構成図、第2図は第1図
の詳細図である 図においてfil riアドレス設定保持手段121t
iプログラムカウンタ、(3)は被測定プログラム検出
手段、(4)は基準クロック発生器、(5)はカウンタ
、161i”!表示手段である。 なお図中同一符号Fi同−又は相当部である。
FIG. 1 is an overall configuration diagram showing an embodiment of a computer program execution time measuring means by this issuing EA, and FIG. 2 is a detailed diagram of FIG. 1.
i program counter, (3) is a program under test detection means, (4) is a reference clock generator, (5) is a counter, and 161i"! display means. In the figure, the same reference numerals Fi are the same or equivalent parts. .

Claims (1)

【特許請求の範囲】[Claims] 任意の二つのアドレスを設定し、保持するためのアドレ
ス設定保持手段と、プログラムの実行アドレスを保持す
るプログラムカウンタと、このプログラムカウンタ及び
上記アドレス設定保持手段で保持する内容により被測定
プログラムが実行中であることを検出する被測定プログ
ラム検出手段と、基準クロック発生器と、上記被測定プ
ログラム検出手段の制御により上記基準クロック発生器
からのクロックをカウントするカウンタと、このカウン
タのカウント値を表示する表示手段とを備え、上記アド
レス設定保持手段に被測定プログラムの開始アドレスと
終了アドレスとを設定することによりプログラムの実行
時間を計測するようにしたことを特徴とする電子計算機
An address setting holding means for setting and holding two arbitrary addresses, a program counter holding the execution address of the program, and the contents held by this program counter and the address setting holding means when the program under test is being executed. a reference clock generator; a counter that counts clocks from the reference clock generator under the control of the program-under-test detection means; and a counter that displays the count value of the counter. 1. A computer comprising display means, and configured to measure the execution time of the program by setting a start address and an end address of the program to be measured in the address setting holding means.
JP60224476A 1985-10-08 1985-10-08 Electronic computer Pending JPS6284347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60224476A JPS6284347A (en) 1985-10-08 1985-10-08 Electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60224476A JPS6284347A (en) 1985-10-08 1985-10-08 Electronic computer

Publications (1)

Publication Number Publication Date
JPS6284347A true JPS6284347A (en) 1987-04-17

Family

ID=16814390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60224476A Pending JPS6284347A (en) 1985-10-08 1985-10-08 Electronic computer

Country Status (1)

Country Link
JP (1) JPS6284347A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0619752A (en) * 1992-07-02 1994-01-28 Nec Corp Microcomputer
JPH08292903A (en) * 1995-04-21 1996-11-05 Nec Corp Information processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0619752A (en) * 1992-07-02 1994-01-28 Nec Corp Microcomputer
JPH08292903A (en) * 1995-04-21 1996-11-05 Nec Corp Information processor

Similar Documents

Publication Publication Date Title
GB1440510A (en) Realtime control arrangement for simulation device
JPS5886648A (en) Tracing device
JPH11202984A (en) Power consumption analysis method and device
JPS6284347A (en) Electronic computer
JPS62239247A (en) Electronic computer
JPS5487145A (en) Display system for data comparison and agreement
JPS592056B2 (en) Microcomputer program counter
JPS56153457A (en) Measuring device for computer load
JPS55166757A (en) Check unit for overlapping use of output instruction
JPS5964576U (en) Electronic energy meter
JPS607383A (en) Time counter
JPS60180005U (en) Sequence controller online monitor device
JP2513888B2 (en) Microprocessor
JPS63181045A (en) Data processor
CN103698593A (en) Multi-sensor sensing effect display method and display system
JPS58134338A (en) Controlling system of digital computer
JPH01321812A (en) Digital protective relay device
JPS562006A (en) Process display unit
JPS605355A (en) Program route recording device
JPH02161537A (en) I/o access interval tracing circuit
JPS55123740A (en) Information processing unit
JPS61188622A (en) Data displaying circuit
JPH0231248A (en) Data processor
JPS61294555A (en) Detecting method for program runaway
JPS63111550A (en) Processing measurement system for computer system