JPS6168650A - Computer usage measuring system - Google Patents

Computer usage measuring system

Info

Publication number
JPS6168650A
JPS6168650A JP59191316A JP19131684A JPS6168650A JP S6168650 A JPS6168650 A JP S6168650A JP 59191316 A JP59191316 A JP 59191316A JP 19131684 A JP19131684 A JP 19131684A JP S6168650 A JPS6168650 A JP S6168650A
Authority
JP
Japan
Prior art keywords
time
processing
telegram
message
measuring
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
JP59191316A
Other languages
Japanese (ja)
Inventor
Senji Ookawa
大川 専司
Takumi Kamigaichi
上垣内 巧
Takayuki Oota
隆幸 太田
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 JP59191316A priority Critical patent/JPS6168650A/en
Publication of JPS6168650A publication Critical patent/JPS6168650A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Abstract

PURPOSE:To measure telegram processing time and at the same time to measure computer usage rate by simplifying input/output telegram printing timing so that the total processing time of telegram is measured and also by reducing the printing frequency so that such printing processing time becomes negligible. CONSTITUTION:When a start command is inputted, a circuit processing task 4 of a computer 1 to be measured begins to work at the 1st telegram reception (a) then a telegram processing task is controlled. Telegram processing task 5 actuates an empty time processing task 7 and activates a processing loop, and at the same time prints out (b) the measuring start time. After the telegram is processed, a response telegram is sent (c) to a terminal 2 through the circuit processing task 4. During the empty time for completion of telegram transmission, the waiting time measuring task 7 is activated (d). By a transmission completion interruption (e), the circuit processing task 4 is again activated and enters the next cycle of telegram reception processing. When the final telegram is received (f) by termination command or by the coincidence of telegram processing command number, a termination time is printed at the telegram processing task 5 at the same time when the telegram processing is completed and the processing loop is turned off (g).

Description

【発明の詳細な説明】 技術分野 本発明は計粋曙の使用状況測定システムに関し、特にオ
ンライン計算機における電文の処理時間及びこの処理に
彩管する馴算機の使用率を同時に測定する測定システム
に関する。
[Detailed Description of the Invention] Technical Field The present invention relates to a system for measuring the usage status of Shisuisho, and more particularly to a system for simultaneously measuring the processing time of a message in an online computer and the usage rate of a calculator used for this processing. .

従来技術 従来のオンライン計算機システムにおける電文処理時間
の測定方法としては、電文人力時に訓qは内臓の時計を
利用して時刻を刻印し、処理完了後の電文出力時に同様
にして出力時刻をシリ印してその差を電文処理時間とし
ている。。
Prior Art The conventional method for measuring message processing time in online computer systems is to stamp the time using a built-in clock when sending a message, and to print the output time in the same way when outputting the message after processing is completed. The difference is taken as the message processing time. .

上記方式によれば、入出力電文時刻の刻印するタイミン
グが困難であり、本来処理時間として計測されなければ
ならない時間を計測できなかったり、計算機内臓時計の
精度が測定結果に大きな影響を与えている。更に、電文
の処理時間と密接な関係のあるJ11電使用率が同時に
測定できないという欠点がある。
According to the above method, it is difficult to determine the timing of stamping the input/output message time, and the time that should normally be measured as processing time cannot be measured, and the accuracy of the computer's built-in clock has a large effect on the measurement results. . Furthermore, there is a drawback that the J11 power usage rate, which is closely related to message processing time, cannot be measured at the same time.

発明の目的 本発明は上記従来のものの欠点を除去すべくなされたも
のであって、その目的とするところは、入出力電文刻印
タイミングを単純化して電文の全処理時間を測定できる
ようにし、更に刻印回数を少なくすることによって刻印
処理時間を無視できるようにした計算機の使用状況測定
システムを提供することにある。
OBJECTS OF THE INVENTION The present invention has been made to eliminate the drawbacks of the above-mentioned conventional ones, and its purpose is to simplify the input/output message stamping timing so that the total processing time of the message can be measured; To provide a computer usage measurement system in which marking processing time can be ignored by reducing the number of markings.

本発明の他の目的は、電文処理時間の測定と同時に81
算灘使用率をも併せて測定可能とした計算機の使用状況
測定システムを提供することである。
Another object of the present invention is to simultaneously measure the message processing time and to
It is an object of the present invention to provide a computer usage status measurement system that can also measure the bank usage rate.

発明の構成 本発明によるオンライン計算様の使用状況測定システム
は、測定開始指令後の電文受信時から測定終了指令後の
電文処理終了時までの経過時間を測定する手段と、この
経過時間内における受信電文の処理回数を測定する手段
と、電文処理に使用されない空き時間を測定する手段と
、これ等3つの測定結果を用いて電文処理時間及び計H
BJIの使用率を夫々算出する手段とを含むことを特徴
としている。
Structure of the Invention The usage status measurement system for online calculation according to the present invention includes means for measuring the elapsed time from the time when a message is received after a measurement start command to the time when the message processing is completed after a measurement end command, A means for measuring the number of times the message is processed, a means for measuring the free time not used for message processing, and a means for measuring the message processing time and the total H using these three measurement results.
The method is characterized in that it includes means for calculating the usage rate of each BJI.

本発明による他の計算ハ使用状況測定システムは、予め
電文の処理回数を指定する指定手段と、開始コマンド入
力後の最初の電文受信時からの経過時間を測定する時間
測定手段と、電文処理に使用されない空き時間を測定す
る手段と、電文の処理回数を計測しつつこのa1測値が
指定手段による指定回数に等しくなったことを検出する
検出手段と、この検出手段の検出時の受信電文が処理さ
れた後に時間測定手段の測定動作を停止せしめる手段と
、電文の処理回数、経過時間及び空き時間を用いて電文
処理時間及び計算機の使用率を夫々算出する手段とを含
むことを特徴としている。
Another calculation usage status measuring system according to the present invention includes a specifying means for specifying the number of times of message processing in advance, a time measuring means for measuring the elapsed time from the time of receiving the first message after inputting a start command, and a time measuring means for measuring the number of message processing times. means for measuring unused free time; detecting means for measuring the number of times a message is processed and detecting when this a1 measurement value becomes equal to the number of times specified by the specifying means; It is characterized by including means for stopping the measuring operation of the time measuring means after processing, and means for calculating the message processing time and the usage rate of the computer, respectively, using the number of times the message has been processed, the elapsed time, and the free time. .

実」[遡 以下に、図面を使用して本発明の詳細な説明する。fruit” [retroactive The present invention will be described in detail below using the drawings.

第1図は本発明の実施例のシステムの概略処理構成を示
す図であり、1はオンライン計算四であって被測定計F
[である。2はこのオンライン計算機1に夫々接続され
た端末であり、3はオペレータコンソールである。オン
ライン計算機1の処理構成は、回線処理タスク4と、電
文処理タスク5と、コンソール処理タスク6と、空き時
間測定タスク7と、計算タスク8と、更には各種測定状
態をあす御するための測定テーブル9とからなる。
FIG. 1 is a diagram showing a schematic processing configuration of a system according to an embodiment of the present invention, in which 1 is an online calculation 4 and a measurement target F
[is. 2 is a terminal connected to this online computer 1, and 3 is an operator console. The processing configuration of the online computer 1 includes a line processing task 4, a message processing task 5, a console processing task 6, an idle time measurement task 7, a calculation task 8, and a measurement task for controlling various measurement states. It consists of table 9.

この測定テーブル9は、第2図に示すように、制御エリ
ア919時間開始時刻エリア92.測定終了時刻エリア
93.電文処理指令回数エリア94、電文処理カウンタ
エリア95及びループカウンタエリア96を有している
As shown in FIG. 2, this measurement table 9 includes a control area 919, a time start time area 92. Measurement end time area 93. It has a message processing command number area 94, a message processing counter area 95, and a loop counter area 96.

オペレークコンソール3より測定開始コマンドが入力さ
れ、コンソール処理タスク6を経由して電文処理タスク
5へ指令される。このとぎ、第1の方式(特許請求の範
囲第1項記載に対応する方式)では、電文処理タスク5
は測定テーブル9の開始フラグをオンとする。第2の方
式(特許請求の範囲第2項記載に対応する方式)では、
この開始フラグをオンとすると共に更に電文処理指令回
数を予め設定指令して測定テーブルの電文処理指令回数
エリア94に格納する。
A measurement start command is input from the operation console 3 and sent to the message processing task 5 via the console processing task 6. At this point, in the first method (the method corresponding to claim 1), the message processing task 5
turns on the start flag of the measurement table 9. In the second method (corresponding to claim 2),
This start flag is turned on, and the number of message processing commands is also preset and stored in the message processing command number area 94 of the measurement table.

端末群2より電文が入力されると、回i!1lffi理
タスク4を経由して電文処理タスク5にそれが通知され
、開始コマンド入力後の第1電文であるということで以
後測定の開始がなされる。すなわち、電文処理タスク5
内にて′電文処理がなされると共に、空き時間測定タス
ク7が起動されかつこの空き時間測定タスク7内で予め
設定されている所定の処理ループが活性化される。しか
る後に、測定テーブル9の測定開始時刻エリア92に測
定開始時刻を刻印する。また、電文処理カウンタエリア
95に1を加法後電文処理を行って端末群2へ応答を返
すのである。
When a message is input from terminal group 2, times i! This is notified to the message processing task 5 via the 1lffi processing task 4, and since this is the first message after the start command has been input, measurement is subsequently started. In other words, message processing task 5
At the same time, the message processing is carried out within the free time measuring task 7, and a predetermined processing loop set in advance within the free time measuring task 7 is activated. Thereafter, the measurement start time is stamped in the measurement start time area 92 of the measurement table 9. Further, after adding 1 to the message processing counter area 95, the message is processed and a response is returned to the terminal group 2.

以後の第2電文からの受信に対しては、第1の方式では
、電文処理カウンタエリア95に1を加算するだけであ
り、第2の方式では、更にこの1加算の他に電文処理指
令回数エリア94と電文処理カウンタエリア95との内
容比較をなす。
For subsequent reception from the second message, in the first method, 1 is simply added to the message processing counter area 95, and in the second method, in addition to this addition of 1, the number of message processing commands is added. The contents of area 94 and message processing counter area 95 are compared.

空き時間測定タスク7は割込待ち等電文処理が行われな
い時に動作するものであり、上記の処理ループが活性化
されてループオンとなるとそのループ処理を開始してそ
の回数を測定テーブル9のループカウンタエリア96上
にカラン1〜していく。
The idle time measurement task 7 operates when no message processing is being performed, such as when waiting for an interrupt, and when the processing loop described above is activated and becomes loop-on, it starts the loop processing and measures the number of times. Click 1 on the counter area 96.

ここで、1ループの処理時間は予め測定済みであるもの
とする。
Here, it is assumed that the processing time for one loop has been measured in advance.

測定の終了は、第1の方式では、オペレータの終了コマ
ンド入力に応答してなされる。この終了コマンドはコン
ソール処理タスク6を経由して電文処理タスク5へ指令
され、電文処理タスク5で測定テーブル9の終了フラグ
をオンとする。この終了フラグオン後の受信電文処理は
、測定終了時刻を測定テーブル9の測定終了時刻エリア
93に刻印して空き時間測定エリア7内の処理ループを
オフとして、その後δ1算タスク8を起動する。
In the first method, the measurement is terminated in response to an operator inputting a termination command. This end command is sent to the message processing task 5 via the console processing task 6, and the message processing task 5 turns on the end flag of the measurement table 9. In the received message processing after turning on the end flag, the measurement end time is stamped in the measurement end time area 93 of the measurement table 9, the processing loop in the free time measurement area 7 is turned off, and then the δ1 calculation task 8 is activated.

第2の方式では、電文処理カウンタエリア95が電文処
理指令回数エリア94と等しくなった時に測定終了時刻
を測定終了時刻エリア93に刻印し、空き時間測定タス
ク7の処理ループをオフとした後、計算タスク8を起動
するのである。
In the second method, when the message processing counter area 95 becomes equal to the number of message processing commands area 94, the measurement end time is stamped in the measurement end time area 93, and after turning off the processing loop of the free time measurement task 7, This starts calculation task 8.

この計算タスク8では、測定テーブル9より1llll
lll時定、測定終了時刻、電文処理カウント回数、ル
ープ処理カウント回数を夫々導出し、所定の式を使用し
て1電文処理時間及び:+iti使用率を算出してコン
ソール処理タスク6を経由してコンソール3へこの算出
結果を出力するのである。
In this calculation task 8, 1llll from the measurement table 9.
Deriving the Ill timing, the measurement end time, the number of message processing counts, and the number of loop processing counts, respectively, and calculating the one message processing time and :+iti usage rate using a predetermined formula, and then passing it through console processing task 6. This calculation result is output to the console 3.

この場合の計算式を(1)、(2)式に示す。The calculation formulas in this case are shown in formulas (1) and (2).

1通の電文処理時間=((t  −t5)−L−n)7
m・・・・・・(1) it * Ifi使用率=((t  −tS)−L−n
)/(1−15>・・・・・・(2) ここに、11  は夫々測定開始時刻、測定路S l 
  e 了時刻、Lはループ処理回数、mは電文処理通数、nは
1ループに要する処理時間である。
Processing time for one message = ((t - t5) - L - n) 7
m... (1) it * Ifi usage rate = ((t - tS) - L - n
)/(1-15>...(2) Here, 11 is the measurement start time and the measurement path S l
e is the end time, L is the number of loop processing, m is the number of message processing, and n is the processing time required for one loop.

第3図は回線処理タスク、電文処理タスク、空き時間測
定タスクの割込優先レベルからみたタイムチャートの一
例を示すものであり、優先順位は回線処理タスクが最高
であり、空き時間測定タスクが最低となっている。
Figure 3 shows an example of a time chart from the perspective of interrupt priority levels for the line processing task, message processing task, and free time measurement task, with the line processing task having the highest priority and the free time measurement task having the lowest priority. It becomes.

既に、開始コマンドが入力されているとすると、第1電
文受信(a)で回線処理タスク4が動作して電文処理タ
スク5へ制御が渡る。電文処理タスク5では、空き時間
処理タスク7を起動して処理ループが活性化されると共
に測定開始時刻が刻印(b)される。電文処理後、回線
処理タスク4経出で端末へ応答電文を送信(C)する。
Assuming that the start command has already been input, the line processing task 4 operates upon reception of the first message (a), and control is passed to the message processing task 5. In the message processing task 5, the idle time processing task 7 is started to activate the processing loop and the measurement start time is stamped (b). After processing the message, a response message is sent to the terminal in line processing task 4 (C).

このとき、送信完了待ち時に空き時間測定タスク7の動
作(d)が行われる。送信完了割込(e)によって再度
回線処理タスク4が動作して次の電文受信処理に入る。
At this time, the operation (d) of the free time measurement task 7 is performed while waiting for the completion of transmission. The line processing task 4 operates again due to the transmission completion interrupt (e) and starts the next message reception process.

終了コマンド(第1の方式)または電文処理指令回数の
一致(第2の方式)によって最終電文を受信(f)する
と、電文処理タスク5で電文処理の終了と共に終了時刻
の刻印がなされかつ処理ループがオフ(g)とされる。
When the final message is received (f) by an end command (first method) or by matching the number of message processing commands (second method), message processing task 5 stamps the end time with the end of message processing, and then returns to the processing loop. is turned off (g).

測定は測定開始時刻tsから終了時刻t8までの全時間
がt。−1Sにより求められるもので、これは空き時間
をも含んだものである。この空き時間はループの処理回
数に1ループの処理時間を掛けたもので1−nで求めら
れる。測定開始/終了時刻の刻印終了のチェック等は測
定のオーバヘッドとなるが、処理電文数を増やすことに
より無視できる値となる。
The total time of measurement from measurement start time ts to end time t8 is t. -1S, which also includes free time. This idle time is calculated by multiplying the number of loop processing times the processing time of one loop by 1-n. Checking the completion of marking of measurement start/end times, etc. becomes a measurement overhead, but it becomes a negligible value by increasing the number of messages to be processed.

本発明の実行例を第4図及び第5図に示す。第4図はオ
ンライン業務実行時のシステムを示し、計算様1がどの
くらいの時間使用されているかを主に知る目的で使用さ
れるものであり、本発明の第1の方式に相当する。尚、
10はデータファイルである。
Examples of implementation of the present invention are shown in FIGS. 4 and 5. FIG. 4 shows a system during online business execution, which is used mainly for the purpose of knowing how long calculation type 1 is being used, and corresponds to the first method of the present invention. still,
10 is a data file.

第5図は被測定計則[のハードウェアとソフトウェアと
の性能を測定する目的で電文発生:t s1機11より
回線12を経由して大麻電文の送受信を行うシステムで
、第2の方式に相当する。発生電文と処理電文との数を
一致させておくと良好な結果が得られる。
Figure 5 shows a system for transmitting and receiving cannabis telegrams from ts1 machine 11 via line 12 for the purpose of measuring the performance of the hardware and software of the instrument to be measured. Equivalent to. Good results can be obtained by matching the number of generated and processed messages.

発明の効果 本発明によれば、測定にかかわるオーバヘッド時間を無
視できるような値として1電文の処理時間を測定すると
共に同時に計n別の使用率をも測定できるという効果が
ある。
Effects of the Invention According to the present invention, the processing time of one message can be measured with a value that allows the overhead time involved in the measurement to be ignored, and at the same time, the usage rate for each total n can be measured.

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

第1図は本発明の実施例のシステム処理構成図、第2図
は第1図の測定テーブルを示す図、第3図は測定時間を
説明するためのタイムチャートの例を示す図、第4図及
び第5図は本発明の実際の実行例を示すブロック図であ
る。 主要部分の符号の説明 1・・・・・・オンライン計算様 4・・・・・・回線処理タスク 5・・・・・・電文処理タスク
FIG. 1 is a system processing configuration diagram of an embodiment of the present invention, FIG. 2 is a diagram showing the measurement table of FIG. 1, FIG. 3 is a diagram showing an example of a time chart for explaining measurement time, and FIG. FIG. 5 is a block diagram showing an actual implementation example of the present invention. Explanation of symbols of main parts 1... Online calculation 4... Line processing task 5... Message processing task

Claims (2)

【特許請求の範囲】[Claims] (1)オンライン計算機システムにおける電文処理時間
及び計算機使用率を測定する測定システムであつて、測
定開始指令後の電文受信時から測定終了指令後の電文処
理終了時までの経過時間を測定する手段と、前記経過時
間内における受信電文の処理回数を測定する手段と、電
文処理に使用されない空き時間を測定する手段と、これ
等3つの測定結果を用いて電文処理時間及び計算機の使
用率を夫々算出する手段とを含むシステム。
(1) A measurement system for measuring the message processing time and computer usage rate in an online computer system, which measures the elapsed time from the time the message is received after the measurement start command to the time the message processing ends after the measurement end command. , means for measuring the number of times the received message has been processed within the elapsed time, means for measuring free time that is not used for message processing, and calculating the message processing time and computer usage rate using these three measurement results, respectively. and a means for doing so.
(2)オンライン計算機システムにおける電文処理時間
及び計算機使用率を測定する測定システムであつて、予
め電文の処理回数を指定する指定手段と、開始コマンド
入力後の最初の電文受信時からの経過時間を測定する時
間測定手段と、電文処理に使用されない空き時間を測定
する手段と、前記電文の処理回数を計測しつつこの計測
値が前記指定手段による指定回数に等しくなつたことを
検出する検出手段と、この検出手段の検出時の受信電文
が処理された後に前記時間測定手段の測定動作を停止せ
しめる手段と、前記電文の処理回数、前記経過時間及び
前記空き時間を用いて電文処理時間及び計算機の使用率
を夫々口出する手段とを含むシステム。
(2) A measurement system for measuring message processing time and computer usage rate in an online computer system, which includes a specification means for specifying the number of message processing times in advance and a time elapsed from the time of receiving the first message after inputting a start command. A means for measuring time, a means for measuring free time that is not used for message processing, and a detection means for measuring the number of times the message is processed and detecting when this measured value becomes equal to the number of times specified by the specifying means. , means for stopping the measuring operation of the time measuring means after the received message detected by the detection means is processed; and means for respectively determining usage rates.
JP59191316A 1984-09-12 1984-09-12 Computer usage measuring system Pending JPS6168650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59191316A JPS6168650A (en) 1984-09-12 1984-09-12 Computer usage measuring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59191316A JPS6168650A (en) 1984-09-12 1984-09-12 Computer usage measuring system

Publications (1)

Publication Number Publication Date
JPS6168650A true JPS6168650A (en) 1986-04-09

Family

ID=16272527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59191316A Pending JPS6168650A (en) 1984-09-12 1984-09-12 Computer usage measuring system

Country Status (1)

Country Link
JP (1) JPS6168650A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06332875A (en) * 1993-05-26 1994-12-02 Nec Corp Multiprocessor system diagnostic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06332875A (en) * 1993-05-26 1994-12-02 Nec Corp Multiprocessor system diagnostic device

Similar Documents

Publication Publication Date Title
US5802302A (en) System and method for response time measurement in high speed data transmission networks
JPS6168650A (en) Computer usage measuring system
US20040003148A1 (en) Buffer management for real time systems management controller
JPH06205073A (en) Automatic detector for communication speed
JP2713261B2 (en) Printing device
JPH0752384B2 (en) Printer device
JPH0313077B2 (en)
KR20060132405A (en) Method and apparatus for providing printing time in network printing device
KR910001252B1 (en) Vending machine
JPH03282762A (en) Measuring system for line processing response time
JPH05233022A (en) Input/output responsing time confirming method for programmable controller
JPH10253778A (en) Time exchanging clock system
JP2676609B2 (en) Data transmission method
JPH05165747A (en) Interface device
JP2577377Y2 (en) Printing control device
JPS60192446A (en) Communication controller
JPH1049322A (en) Printer system
JPH06231010A (en) Information processing system
JPH0447422A (en) Bank-book printer
JPS63124086A (en) Cursor control system
JPH02148129A (en) Ink jet recorder
JPH11234251A (en) Cycle end detecting method, data error reporting method and data reception equipment for cyclic transmission
JPH0614397B2 (en) Measurement data processing system
JPH0264720A (en) Interprocessor time setting system
JPH0417539B2 (en)