JPH04317235A - Trace synchronizing system - Google Patents

Trace synchronizing system

Info

Publication number
JPH04317235A
JPH04317235A JP3084912A JP8491291A JPH04317235A JP H04317235 A JPH04317235 A JP H04317235A JP 3084912 A JP3084912 A JP 3084912A JP 8491291 A JP8491291 A JP 8491291A JP H04317235 A JPH04317235 A JP H04317235A
Authority
JP
Japan
Prior art keywords
trace
communication control
control device
host device
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
JP3084912A
Other languages
Japanese (ja)
Inventor
Yasuro Otaka
尾高 泰朗
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 JP3084912A priority Critical patent/JPH04317235A/en
Publication of JPH04317235A publication Critical patent/JPH04317235A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily establish the correspondence of a trace event between a trace taken in a communication control device and the trace taken in a host device. CONSTITUTION:A means notifying of time information immediately before the host device actuates the trace to the communication control device, a means re-notifying of the time information from the host device to the communication control device each time a prescribed time has passed, a means writing the time information notified to the communication control device in a trace area as the trace event, a means initializing a free-run timer used in the communication control device as the time stamp for the respective trace even when the time information is notified from the host device, a means transferring trace data to the host device when the transfer of the trace data taken in the communication control device is requested from the host device, and a means stopping the counting of time lapse up to a prescribed time in the host device when the stop of the tracing is requested in the host device, are provided.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はトレースの同期合せ方式
に関し、特に通信制御装置のトレースと上位装置に於い
て採取するトレースとの同期を合わせる為のタイムスタ
ンプを初期化するトレースの同期合せ方式に関する。
[Industrial Application Field] The present invention relates to a trace synchronization method, and particularly to a trace synchronization method for initializing time stamps to synchronize traces of a communication control device and traces collected in a host device. Regarding.

【0002】0002

【従来の技術】従来のトレースの同期合せ方式は、通信
制御装置のトレースと上位装置に於いて採取するトレー
スとの両トレースのトレースデータを各個別のリストに
プリントアウトし、各トレースイベントに載っているデ
ータを解析して両トレースに於ける各トレースイベント
間の相対関係を判断していた。
[Prior Art] A conventional trace synchronization method prints out the trace data of both the trace of the communication control device and the trace collected in the host device in separate lists, and prints out the trace data of both the trace data of the communication control device and the trace collected in the host device. The data was analyzed to determine the relative relationship between each trace event in both traces.

【0003】0003

【発明が解決しようとする課題】上述した従来のトレー
スの同期合せ方式は、通信制御装置に於いて採取するト
レースと上位装置に於いて採取するトレースとの各トレ
ースイベント間の相対関係を取ることを可能とする為に
充分なデータを両トレースの各トレースイベントに格納
する必要がある為、各トレースイベントのデータ数を充
分確保しなければならない、又、両トレースのデータを
リストに出力しそのデータを参照して前記両トレースの
各トレースイベント間の相対関係を判断する為、通信制
御装置に於いて採取するトレースと上位装置に於いて採
取するトレースの両方に精通していなければならないと
共に両トレースの各トレースイベント間の相対関係を判
断する為に要する多くの時間が必要になる。
[Problems to be Solved by the Invention] The conventional trace synchronization method described above takes the relative relationship between each trace event between the trace collected in the communication control device and the trace collected in the host device. Since it is necessary to store enough data in each trace event of both traces to enable the In order to determine the relative relationship between each trace event in both traces by referring to the data, it is necessary to be familiar with both the traces collected by the communication control device and the traces collected by the host device. A large amount of time is required to determine the relative relationships between each trace event in a trace.

【0004】0004

【課題を解決するための手段】本発明のトレースの同期
合わせ方式は、上位装置と通信制御装置に於いて各個別
にトレースを採取し通信制御装置に対しトレースの起動
及び停止の指定が可能なトレース方式に於いて、上位装
置が通信制御装置に対しトレースを起動する直前に時刻
情報を通知する手段と、上位装置はある一定時間が経過
する毎に通信制御装置に対し時刻情報を再び通知する手
段と、通信制御装置に対して通知された時刻情報をトレ
ースイベントとしてトレース領域に書き込む手段と、上
位装置から時刻情報が通知された時に通信制御装置に於
いて各トレースイベントのタイムスタンプとして使用し
ているフリーランタイマを初期化する手段と、通信制御
装置に於いて採取しているトレースデータの転送が上位
装置から要求されている時に上位装置へトレースデータ
を転送する手段と、上位装置に於いてトレースの停止要
求があった時に上位装置に於ける前記一定時間迄の経過
時間のカウントを停止する手段とを有する。
[Means for Solving the Problems] The trace synchronization method of the present invention collects traces individually in a host device and a communication control device, and enables the communication control device to specify starting and stopping of the trace. In the trace method, there is a means for the higher-level device to notify the communication control device of time information immediately before starting tracing, and a means for the higher-level device to notify the communication control device of time information again every time a certain period of time has elapsed. means for writing time information notified to the communication control device into a trace area as a trace event; and means for writing time information notified to the communication control device as a trace event into a trace area; means for initializing a free-run timer in the communication control device; means for transferring trace data to the host device when transfer of trace data collected by the communication control device is requested by the host device; and means for stopping counting of the elapsed time up to the predetermined time in the host device when there is a request to stop tracing.

【0005】[0005]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings.

【0006】図1は本発明のトレースの同期合せ方式の
一実施例を示す動作シーケンスである。図2は、本発明
の一実施例に於けるトレース領域の構成図である。
FIG. 1 is an operation sequence showing an embodiment of the trace synchronization method of the present invention. FIG. 2 is a configuration diagram of a trace area in one embodiment of the present invention.

【0007】次に本発明の動作を実施例を用い図1の動
作シーケンスに従って具体的に説明する。
Next, the operation of the present invention will be specifically explained using an embodiment according to the operation sequence shown in FIG.

【0008】前提条件として、ある一定量のトレースイ
ベントがトレース領域に書き込まれた時にトレースデー
タを上位装置へ転送するトレースに於いて、上位装置か
ら通信制御装置に対してトレースが起動されていない状
態にあるものとする。
[0008] As a precondition, when a certain amount of trace events are written to the trace area, the trace data is transferred to the higher-level device, and the trace is not activated from the higher-level device to the communication control device. It shall be assumed that

【0009】上位装置はトレースの起動を通信制御装置
に対し要求する前に、その時上位装置に於いて採取して
いるトレースの各トレースイベントのタイムスタンプと
して使用している時刻情報を通信制御装置に対し通知す
ると共に、上位装置に於いて10分が経過する毎に時刻
情報を通信制御装置に対し通知する。時刻情報の通知を
受けた通信制御装置は、通信制御装置に於けるトレース
のタイムスタンプ用に使用している10分超迄カウント
することが可能なフリーランタイマを”0”に初期化す
る。また、通知された時刻情報を制御テーブル上に保持
すると共にトレース領域に書き込んで、これ以後に発生
するトレースイベントのタイムスタンプの基準時刻とす
る。
Before requesting the communication control device to start tracing, the host device sends the communication control device the time information used as a timestamp for each trace event of the trace being collected by the host device at that time. At the same time, the host device notifies the communication control device of time information every 10 minutes. Upon receiving the notification of the time information, the communication control device initializes to "0" a free-run timer that is used for a trace time stamp in the communication control device and is capable of counting up to 10 minutes. Also, the notified time information is held in the control table and written in the trace area, and is used as the reference time for the timestamp of trace events that occur thereafter.

【0010】上位装置は時刻情報を通信制御装置に対し
通知した後、直ちにトレースの起動要求を行う。通信制
御装置は、上位装置からトレースの起動要求を受けると
、まず第一にトレースイベントの書き込みアドレスをト
レース領域の開始アドレスに設定する。書き込みアドレ
スを変更した後は、制御テーブル上に保持している時刻
情報をトレースイベント書き込みアドレスが示すトレー
ス領域の先頭に書き込む。トレース領域に時刻情報を書
き込んだ後は、トレースの書き込みアドレスを更新する
。通信制御装置に於けるトレースイベントの発生に従い
トレースイベントの書き込み処理を行う。この各トレー
スイベントにはタイムスタンプとしてフリーランタイマ
のカウント値を格納する。
[0010] Immediately after the host device notifies the communication control device of the time information, it issues a trace activation request. When the communication control device receives a trace start request from the host device, it first sets the write address of the trace event to the start address of the trace area. After changing the write address, the time information held in the control table is written to the beginning of the trace area indicated by the trace event write address. After writing time information to the trace area, update the trace write address. A trace event writing process is performed in accordance with the occurrence of a trace event in the communication control device. The count value of the free run timer is stored in each trace event as a timestamp.

【0011】上位装置は通信制御装置に対しトレースデ
ータの転送要求を行う。通信制御装置はトレースイベン
トの発生に従ってトレース領域にトレースイベントの書
き込み処理を続行する。この時、トレース領域に一定量
のトレースイベントが書き込まれると、トレースデータ
の転送要求に従って上位装置にトレースデータを転送す
る。上位装置はトレースデータの転送を受け付けた後に
直ちにトレースデータの転送要求を通信制御装置に対し
行う。
[0011] The host device requests the communication control device to transfer trace data. The communication control device continues writing the trace event to the trace area in accordance with the occurrence of the trace event. At this time, when a certain amount of trace events are written in the trace area, the trace data is transferred to the host device in accordance with the trace data transfer request. Immediately after receiving the trace data transfer, the host device issues a trace data transfer request to the communication control device.

【0012】上位装置からトレースデータの転送要求が
行われている時に、時刻情報を通知してから10分が経
過した場合、時刻情報の通知要求契機を明確にする為に
カウント値を10分に設定したインターバルタイマがタ
イムアウトする。これに従って、上位装置はトレースデ
ータの転送要求を通信制御装置に対し強制的な終了を要
求する。この要求に従い通信制御装置に於いてトレース
データの転送要求を強制的に終了する。上位装置は要求
の終了を確認して通信制御装置に対し時刻情報を通知す
る。
[0012] When a trace data transfer request is made from a host device, if 10 minutes have passed since time information was notified, the count value is set to 10 minutes in order to clarify the timing of the time information notification request. The set interval timer times out. Accordingly, the host device requests the communication control device to forcibly terminate the trace data transfer request. In accordance with this request, the trace data transfer request is forcibly terminated in the communication control device. The host device confirms the completion of the request and notifies the communication control device of time information.

【0013】通信制御装置に対してトレースを起動して
いる時に上位装置に於いてトレースを停止する要求が発
生すると、上位装置は直ちにインターバルタイマのカウ
ントを停止すると共に、通信制御装置に対しトレースの
停止を要求する。
[0013] When a request to stop tracing is generated in the higher-level device while tracing is being started for the communication control device, the higher-level device immediately stops counting the interval timer and requests the communication control device to start tracing. Request a stop.

【0014】以上の動作により、上位装置に於いて採取
しているトレースと通信制御装置に於いて採取している
トレースとに於ける各トレースイベントの相対関係が同
期した時間により明確にすることが可能となる。
[0014] Through the above operations, the relative relationship of each trace event in the trace collected by the host device and the trace collected by the communication control device can be clarified by synchronized time. It becomes possible.

【0015】[0015]

【発明の効果】以上説明したように、本発明のトレース
の同期合せ方式は、上位装置に於いて採取しているトレ
ースの各トレースイベントに格納しているタイムスタン
プの時刻情報を通信制御装置の要求に従って通知し、通
信制御装置は通知された時刻情報をトレースイベントと
してトレースに載せ、且つ通信制御装置のフリーランタ
イマを初期化し、トレースイベントが発生した場合に各
トレースイベントのタイムスタンプとしてフリーランタ
イマのカウント値を格納することにより、各トレースイ
ベントのタイムスタンプが直前に通知された時刻情報か
らの経過時間を示すことになり、従って通信制御装置に
於いて採取するトレースと上位装置に於いて採取するト
レースの各トレースイベントを容易に対応付けすること
が可能となり、保守作業に対する負荷が軽減され、且つ
トレースの解析に要する時間が短縮される。
[Effects of the Invention] As explained above, the trace synchronization method of the present invention uses the time information of the timestamp stored in each trace event of the trace collected in the host device in the communication control device. Notification is made according to the request, and the communication control device places the notified time information on the trace as a trace event, initializes the free-run timer of the communication control device, and when a trace event occurs, writes the free-run time information as a timestamp of each trace event. By storing the timer count value, the timestamp of each trace event indicates the elapsed time from the time information notified immediately before, and therefore the trace collected in the communication control device and the higher-level device It becomes possible to easily associate each trace event of the collected traces, reducing the load on maintenance work and shortening the time required to analyze the traces.

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

【図1】本発明のトレースの同期合せ方式の一実施例を
示す動作シーケンスである。
FIG. 1 is an operation sequence showing an embodiment of the trace synchronization method of the present invention.

【図2】本発明の一実施例に於けるトレース領域の構成
図である。
FIG. 2 is a configuration diagram of a trace area in an embodiment of the present invention.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  上位装置と通信制御装置に於いて各個
別にトレースを採取し通信制御装置に対しトレースの起
動及び停止の指定が可能であるトレース方式に於いて、
上位装置が通信制御装置に対しトレースを起動する直前
に時刻情報を通知し、上位装置はある一定時間が経過す
る毎に通信制御装置に対し時刻情報を再び通知し、通信
制御装置に対して通知された時刻情報をトレースイベン
トとしてトレース領域に書き込み上位装置から時刻情報
が通知された時に通信制御装置に於いて各トレースイベ
ントのタイムスタンプとして使用しているフリーランタ
イマを初期化し、通信制御装置に於いて採取しているト
レースデータの転送が上位装置から要求されている時に
上位装置へトレースデータを転送し、上位装置に於いて
トレースの停止要求があった時に上位装置に於ける前記
一定時間迄の経過時間のカウントを停止するようにした
ことを特徴とするトレース方式。
[Claim 1] In a tracing method in which a trace is collected individually in a host device and a communication control device, and it is possible to specify starting and stopping of the trace to the communication control device,
The higher-level device notifies the communication control device of the time information immediately before starting tracing, and the higher-level device notifies the communication control device of the time information again every time a certain period of time elapses, and then notifies the communication control device. When the time information is notified from the host device, the free-run timer used as a timestamp for each trace event is initialized in the communication control device, and the time information is written to the trace area as a trace event. When the transfer of the trace data being collected is requested by the host device, the trace data is transferred to the host device, and when there is a request to stop tracing in the host device, the trace data is transferred to the host device until the above-mentioned certain period of time. A tracing method characterized by stopping counting of elapsed time.
【請求項2】  上位装置と通信制御装置に於いて各個
別にトレースを採取し通信制御装置に対しトレースの起
動及び停止の指定が可能であるトレース方式に於いて、
上位装置が通信制御装置に対しトレースを起動する直前
に時刻情報を通知する手段と、上位装置はある一定時間
が経過する毎に通信制御装置に対し時刻情報を再び通知
する手段と、通信制御装置に対して通知された時刻情報
をトレースイベントとしてトレース領域に書き込む手段
と、上位装置から時刻情報が通知された時に通信制御装
置に於いて各トレースイベントのタイムスタンプとして
使用しているフリーランタイマを初期化する手段と、通
信制御装置に於いて採取しているトレースデータの転送
が上位装置から要求されている時に上位装置へトレース
データを転送する手段と、上位装置に於いてトレースの
停止要求があった時に上位装置に於ける前記一定時間迄
の経過時間のカウントを停止する手段とを有することを
特徴とする通信制御装置。
[Claim 2] In a tracing method in which traces are collected individually in a host device and a communication control device, and it is possible to specify start and stop of the trace to the communication control device,
means for the host device to notify the communication control device of time information immediately before starting tracing; means for the host device to notify the communication control device of the time information again every time a certain period of time has elapsed; and the communication control device. means for writing time information notified to the trace area as a trace event, and a free-run timer used as a timestamp for each trace event in the communication control device when time information is notified from the host device. means for initializing, means for transferring trace data to a higher-level device when the higher-level device requests transfer of trace data collected in the communication control device, and means for transmitting trace data to the higher-level device when the higher-level device requests to stop tracing. A communication control device comprising: means for stopping counting of elapsed time up to the certain time in a host device when a certain time elapses.
JP3084912A 1991-04-17 1991-04-17 Trace synchronizing system Pending JPH04317235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3084912A JPH04317235A (en) 1991-04-17 1991-04-17 Trace synchronizing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3084912A JPH04317235A (en) 1991-04-17 1991-04-17 Trace synchronizing system

Publications (1)

Publication Number Publication Date
JPH04317235A true JPH04317235A (en) 1992-11-09

Family

ID=13843939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3084912A Pending JPH04317235A (en) 1991-04-17 1991-04-17 Trace synchronizing system

Country Status (1)

Country Link
JP (1) JPH04317235A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011232867A (en) * 2010-04-26 2011-11-17 Ricoh Co Ltd Operation analysis device, information processor, operation analysis method and operation analysis program
JP2020135062A (en) * 2019-02-13 2020-08-31 株式会社リコー Information processing device, control method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011232867A (en) * 2010-04-26 2011-11-17 Ricoh Co Ltd Operation analysis device, information processor, operation analysis method and operation analysis program
JP2020135062A (en) * 2019-02-13 2020-08-31 株式会社リコー Information processing device, control method, and program

Similar Documents

Publication Publication Date Title
US3932843A (en) Real-time control arrangement for a simulation device
WO2001043139A2 (en) Method and apparatus for synchronizing dynamic random access memory exiting from a low power state
CA2339783A1 (en) Fault tolerant computer system
JPH04317235A (en) Trace synchronizing system
JPH0458049B2 (en)
CN108255515A (en) A kind of method and apparatus for realizing timer service
CN115550384A (en) Cluster data synchronization method, device and equipment and computer readable storage medium
JP2001341363A (en) Blank page printing method for printer controller
CN113868027B (en) Data snapshot method and device
CN105404599B (en) A kind of bus access error protection method
JP2003271468A (en) Process control device
CN115664574B (en) Interconnection method and device of distributed CAN (controller area network) recorders based on vehicle-mounted Ethernet
JP3221109B2 (en) Multiprocessor system and TOD synchronization control method
JP2798558B2 (en) Printer device control method
JP2004129133A (en) Data transmission processor and program
JP2001282328A (en) Simulation system and simulator and managing device and recording medium
JPS63298550A (en) Non-stop trace system
JPH0452746A (en) Input/output command issuing system for information processing system
JPS63301352A (en) Exchange system for file shared data with communication control
JPS59148195A (en) Refresh system of memory
JPS61241859A (en) Data transfering equipment
KR100260440B1 (en) Method of timer synchronization in keyphone system
JPH11238035A (en) Method and device for input and output control
JPH0540658A (en) Magnetic disk controller
JPS61187029A (en) Magnetic tape subsystem