JP2001273173A - Source information collecting device, recording medium of program for source information collection and program for source information collection - Google Patents

Source information collecting device, recording medium of program for source information collection and program for source information collection

Info

Publication number
JP2001273173A
JP2001273173A JP2001011805A JP2001011805A JP2001273173A JP 2001273173 A JP2001273173 A JP 2001273173A JP 2001011805 A JP2001011805 A JP 2001011805A JP 2001011805 A JP2001011805 A JP 2001011805A JP 2001273173 A JP2001273173 A JP 2001273173A
Authority
JP
Japan
Prior art keywords
resource information
program
interrupt
information collection
collecting
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
JP2001011805A
Other languages
Japanese (ja)
Inventor
Masao Yamamoto
昌生 山本
Koichi Kumon
耕一 久門
Satoshi Hirai
聡 平井
Mitsuru Sato
充 佐藤
Akira Naruse
彰 成瀬
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2001011805A priority Critical patent/JP2001273173A/en
Publication of JP2001273173A publication Critical patent/JP2001273173A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce influence to a system to be measured with source information collection, to improve convenience of a source information collecting device and to accurately and simply specify the performance penalty and the error of the system to be measured. SOLUTION: When various kinds of interruption including single step interruption and event overflow interruption occur, an interruption control part 3a outputs a trigger signal and an interruption signal. Thus, a selector and data collection part 5a collects source information to store it in a register 6, and a source information collecting program 2 starts traveling to read optional source information from the register 6. The program 2 sets the kind of source information of a collecting object and the effectiveness and ineffectiveness. The register 6 stores the generating source flag of an object event with source information corresponding to it.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理に関連の
資源情報を獲得する資源情報収集装置などに関し、特に
ハードウェアやソフトウェアの開発における各種のシミ
ュレーションおよびプログラムの動作解析,デバッグ,
性能評価,性能チューニングなどのための資源情報収集
システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a resource information collection device for acquiring resource information related to information processing, and more particularly to the operation analysis, debugging, and the like of various simulations and programs in the development of hardware and software.
The present invention relates to a resource information collection system for performance evaluation, performance tuning, and the like.

【0002】一般に、被測定システムからの割込みに基
づいてそのときの各種資源情報を採取することが行なわ
れている。
Generally, various kinds of resource information at that time are collected based on an interrupt from a system to be measured.

【0003】この場合、被測定システムの挙動をほとん
ど否めずに当該システムの実運用動作に近い状態でその
資源情報を採取でき、また、採取資源情報の種別を選択
的に設定したり、被測定システムの性能ペナルティ個所
やエラー個所の特定などを正確かつ簡単に行なえること
が望ましく、本発明はこれらの要請に応えるものであ
る。
In this case, the resource information can be collected in a state close to the actual operation of the system under test with almost no denial of the behavior of the system under test. It is desirable to be able to accurately and easily specify the performance penalty points and error points of the system, and the present invention meets these demands.

【0004】[0004]

【従来の技術】従来の資源情報収集方式としては、例え
ば1命令実行毎にそれが主記憶上の所定の被測定領域に
対するアクセスをともなうかどうかの検出機構を設け、
当該検出機構で被測定領域へのアクセスが検出されたと
きに割込みを発生する資源情報収集方式がある。
2. Description of the Related Art As a conventional resource information collecting method, for example, a detection mechanism is provided for detecting whether or not each instruction execution involves an access to a predetermined area to be measured in a main memory.
There is a resource information collection method that generates an interrupt when the detection mechanism detects an access to the area to be measured.

【0005】この方式では、割込み発生時のソフトウェ
アの動作によって、採取対象の資源情報であるアドレス
トレースデータ(命令アドレス,オペランドアドレス)
を主記憶上の所定領域に格納している。
In this method, address trace data (instruction address, operand address) as resource information to be collected is determined by the operation of software when an interrupt occurs.
Is stored in a predetermined area on the main memory.

【0006】[0006]

【発明が解決しようとする課題】この資源情報収集方式
は、命令実行にともなう主記憶へのアクセスのすべてを
トレースするのではなく、そのうちの被測定領域に対す
るアクセスのみを採取対象としているので、資源情報
(アドレストレースデータ)の採取処理にともなうソフ
トウェア側の処理負担を量的に軽減できるといった利点
を有する。
This resource information collection method does not trace all accesses to the main memory due to the execution of instructions, but only accesses to the area to be measured. There is an advantage that the processing load on the software side due to information (address trace data) collection processing can be reduced quantitatively.

【0007】その一方では、割込み時のソフトウェアの
動作という重い処理によって資源情報を採取・格納する
ため、当該処理が被測定システムの挙動に与える影響は
少なくなく、従来の上記資源情報収集方式はこの点で改
善の余地を残している。
On the other hand, since resource information is collected and stored by heavy processing such as operation of software at the time of interruption, the processing has little effect on the behavior of the system under test. This leaves room for improvement.

【0008】本発明では、採取対象の資源情報を、ソフ
トウェアの動作ではなく、ハードウェアの動作で採取・
格納し、資源情報収集用のソフトウェアがこの格納情報
を読み出すようにして、資源情報採取にともなう被測定
システムへの影響を減少させることを目的とする。な
お、本明細書では「ハードウェア」の語を「ファームウ
ェア」も含む意で用いている。
According to the present invention, the resource information to be collected is collected and obtained not by the operation of software but by the operation of hardware.
An object of the present invention is to reduce the influence of the resource information collection on the system to be measured by storing and reading the stored information. In this specification, the term “hardware” is used to include “firmware”.

【0009】また、資源情報収集用ソフトウェアが、採
取対象の資源情報の種別や、資源情報採取の契機となる
割込みの有効/無効の設定を行なって、資源情報収集シ
ステムの利便性を高めることを目的とする。
Further, the resource information collection software sets the type of the resource information to be collected, and sets the validity / invalidity of the interrupt which triggers the collection of the resource information, thereby improving the convenience of the resource information collection system. Aim.

【0010】また、ペナルティ発生元などを示す付加情
報も格納して、被測定システムの性能ペナルティやエラ
ーの特定やその原因解析を正確かつ簡単に行なえるよう
にすることを目的とする。
It is another object of the present invention to store additional information indicating a penalty generating source and the like so that the performance penalty and error of the measured system can be specified and the cause analysis thereof can be performed accurately and easily.

【0011】[0011]

【課題を解決するための手段】本発明はこの課題を次の
ようにして解決する。 (1)情報処理に関連の資源情報を獲得する資源情報収
集装置を、 ・資源情報採取用の指示信号を出力する採取指示手段
と、この指示信号に基づいて前記資源情報を採取するハ
ードウェア態様の資源情報採取手段と、採取した資源情
報を格納する資源情報格納手段とを備えたものとし、 ・ソフトウェアの動作により、この資源情報格納手段か
ら前記資源情報を読み出すように構成する。 (2)上記(1)において、前記採取指示手段は、割込
みを契機として前記指示信号を出力し、かつ、ソフトウ
ェアが当該割込みの有効/無効を設定する。 (3)上記(1),(2)において、前記資源情報採取
手段は、採取対象の資源情報種別を選択する機能を備
え、かつ、ソフトウェアが当該資源情報種別を設定す
る。 (4)上記(1),(2),(3)において、前記資源
情報格納手段は、対象イベントの直接的な発生元となる
資源情報を示す付加情報を併せて格納する。
The present invention solves this problem as follows. (1) A resource information collection device for obtaining resource information related to information processing: a collection instruction unit for outputting an instruction signal for collecting resource information, and a hardware mode for collecting the resource information based on the instruction signal And resource information storage means for storing the collected resource information. The software is configured to read the resource information from the resource information storage means. (2) In the above (1), the sampling instructing means outputs the instruction signal in response to an interrupt, and software sets validity / invalidity of the interrupt. (3) In the above (1) and (2), the resource information collecting means has a function of selecting a resource information type to be collected, and the software sets the resource information type. (4) In the above (1), (2), and (3), the resource information storage means additionally stores additional information indicating resource information that is a direct source of the target event.

【0012】本発明によれば、上記(1)のように、割
込みやオペレータ操作などに対応した指示信号に基づく
ハードウェア(資源情報採取手段および資源情報格納手
段)の動作で資源情報を採取・格納し、ソフトウェア
(資源情報収集プログラム)がこのハードウェアから資
源情報を読み出せるようにしている。
According to the present invention, as described in (1) above, resource information is collected and operated by the operation of hardware (resource information collecting means and resource information storing means) based on an instruction signal corresponding to an interrupt, an operator operation, or the like. It is stored so that the software (resource information collection program) can read the resource information from the hardware.

【0013】ハードウェアの動作で資源情報を採取・格
納することにより、オーバヘッドをできるだけ小さく保
ち、資源情報の採取処理にともなう被測定システムへの
影響を少なくしている。
[0013] By collecting and storing the resource information by the operation of the hardware, the overhead is kept as small as possible, and the influence on the system to be measured due to the processing of collecting the resource information is reduced.

【0014】オーバヘッドを小さく保てるのは例えば、
ソフトウェアの動作で資源情報を採取する場合とは違っ
て、資源情報採取の実行環境上での計算処理を必要とし
ないからである。
The reason why the overhead can be kept small is, for example, that
This is because, unlike the case where the resource information is collected by the operation of the software, calculation processing on the execution environment of the resource information collection is not required.

【0015】また、上記(2),(3)のように、資源
情報採取用の指示信号を出力する契機となる割込みの有
効/無効や、採取対象の資源情報種別をソフトウェア
(資源情報収集プログラム)から選択的に設定可能と
し、資源情報獲得者側の利便性を確保している。
Further, as described in (2) and (3) above, the interruption / inactivation that triggers the output of an instruction signal for collecting resource information, and the type of resource information to be collected are specified by software (resource information collection program). ) Can be selectively set to ensure the convenience of the resource information acquirer.

【0016】また、上記(4)のように、付加情報によ
り対象イベントの直接的な発生元、例えばキャッシュミ
スに関与するオペランド♯1および♯2のうちのペナル
ティ発生元(オペランド)についても特定可能とし、獲
得資源情報自体の充実化を図っている。
Further, as described in (4) above, the direct source of the target event, for example, the penalty source (operand) of operands # 1 and # 2 involved in a cache miss can be specified by the additional information. The aim is to enhance the acquired resource information itself.

【0017】また、本発明は、このような資源情報収集
装置においてハードウェア態様の手段で採取した資源情
報をその格納手段から読み出すために用いられる資源情
報収集用プログラムや、それを記憶したコンピュータ読
み取り可能な資源情報収集用プログラム記録媒体も、対
象としている。
Further, the present invention provides a resource information collection program used for reading resource information collected by hardware means in such a resource information collection device from its storage means, and a computer-readable program storing the same. A possible resource recording program recording medium is also covered.

【0018】[0018]

【発明の実施の形態】図1乃至図15を参照して本発明
の実施の形態を説明する。図1乃至図14において、1
はプロセッサ(資源情報収集装置),2はプロセッサ1
の各種資源情報を獲得する機能を備えた資源情報収集プ
ログラム,3は被測定システム(プロセッサ1の内外)
からの割込み要求を処理する割込み制御部(採取指示手
段),3aは資源情報収集プログラム2から設定可能で
割込みの有効/無効を制御するトラップフラグ(T
F),4はプロセッサ1におけるキャッシュ状態,オペ
ランドアドレス,タイムスタンプ,オペランド先内容,
CPUIDなどの各種資源情報,5は割込み制御部3が
出力するトリガー信号を受けて資源情報4を採取するデ
ータ採取部(資源情報採取手段),5aはこのトリガー
信号を受けて資源情報4を採取するセレクタ兼データ採
取部(資源情報採取手段),6はデータ採取部5などが
採取した資源情報4のそれぞれを種別ごとに格納する専
用レジスタ(資源情報格納手段),7はセレクタ兼デー
タ採取部5aで採取した資源情報4を格納する専用スタ
ックレジスタ(資源情報格納手段),8は資源情報収集
プログラム2が設定したイベントの発生回数を計数し
て、それが(同じく設定した)閾値を超えたときにオー
バーフロー割込みを発生するイベントカウンタ,9は主
記憶,10はキャッシュ,をそれぞれ示している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. 1 to 14, 1
Is a processor (resource information collection device), 2 is a processor 1
A resource information collection program having a function of acquiring various types of resource information of the system under test (inside and outside of the processor 1)
An interrupt control unit (collection instructing unit) 3a for processing an interrupt request from the resource information collection program 2 is a trap flag (T) for controlling the enable / disable of an interrupt.
F) and 4 are the cache state in processor 1, operand address, time stamp, operand destination contents,
Various resource information such as CPUID, 5 is a data collection unit (resource information collection means) which receives a trigger signal output from the interrupt control unit 3 and collects resource information 4, and 5a collects resource information 4 in response to the trigger signal. Selector / data collecting unit (resource information collecting unit), 6 is a dedicated register (resource information storing unit) for storing each type of resource information 4 collected by the data collecting unit 5 and the like, and 7 is a selector / data collecting unit. The dedicated stack register (resource information storage means) 8 for storing the resource information 4 collected in 5a counts the number of occurrences of the event set by the resource information collection program 2, and exceeds the threshold value (also set). An event counter that sometimes generates an overflow interrupt, 9 indicates a main memory, and 10 indicates a cache.

【0019】ここで、資源情報収集プログラム2は、 ・トラップフラグ3aのON/OFF、すなわち割込み
制御部3に対する各種割込みの有効/無効 ・セレクタ兼データ採取部5aで採取する資源情報の種
別 ・専用レジスタ6および専用スタックレジスタ7の読出
し対象部分 ・対象イベントの種別やその発生回数の閾値 (図12,
図13参照) などを設定する。
Here, the resource information collection program 2 includes: ON / OFF of the trap flag 3a, that is, enabling / disabling of various interrupts to the interrupt control unit 3. Type of resource information collected by the selector / data collection unit 5a. Read target portion of the register 6 and the dedicated stack register 7-The type of the target event and the threshold of the number of occurrences (Fig. 12,
(See FIG. 13).

【0020】割込み制御部3は、トラップフラグ3aの
設定内容が「ON:有効」のとき、各種割込みの発生に
基づいて、データ採取部5やセレクタ兼データ採取部5
aに資源情報採取用のトリガー信号を通知し、また、資
源情報収集プログラム2に割込み信号を通知する。
When the setting of the trap flag 3a is "ON: valid", the interrupt control unit 3 determines whether the data collection unit 5 or the selector / data collection unit 5
a is notified of a trigger signal for collecting resource information, and the resource information collection program 2 is notified of an interrupt signal.

【0021】セレクタ兼データ採取部5aは、専用スタ
ックレジスタ7の全段に資源情報が格納されたことに基
づいて、資源情報収集プログラム2に対し割込み信号を
通知する。
The selector / data collection unit 5a notifies the resource information collection program 2 of an interrupt signal based on the fact that the resource information has been stored in all the stages of the dedicated stack register 7.

【0022】割込みの通知を受けた資源情報収集プログ
ラム2は、これを契機として、専用レジスタ6や専用ス
タックレジスタ7の資源情報を読み出す。
The resource information collection program 2 having received the notification of the interrupt reads the resource information of the dedicated register 6 and the dedicated stack register 7 in response to the notification.

【0023】資源情報収集プログラム2は、割込み発生
とは関連のない任意のタイミングで専用レジスタ6など
から資源情報を読み出してもよく、この場合、割込み制
御部3から資源情報収集プログラム2への割込み信号の
通知は不要である。
The resource information collection program 2 may read the resource information from the dedicated register 6 or the like at any timing unrelated to the occurrence of the interrupt. In this case, the interruption control unit 3 interrupts the resource information collection program 2 No signaling is required.

【0024】以下、個々の実施の形態を説明する。図1
は、全種別の資源情報の収集システム(専用レジスタ使
用)を示す説明図である。
Hereinafter, individual embodiments will be described. FIG.
FIG. 2 is an explanatory diagram showing a system for collecting resource information of all types (using a dedicated register).

【0025】資源情報収集プログラム2がトラップフラ
グ3aを「ON:有効」に設定した状態で割込みが発生
すると、 ・割込み制御部3はデータ採取用のトリガー信号および
資源情報収集プログラム2への割込み信号を出力し、 ・トリガー信号を受けたデータ採取部5はすべての資源
情報4を採取して、それぞれ種別ごとの専用レジスタ6
に保持し、 ・割込み信号を受けた資源情報収集プログラム2は専用
レジスタ6から資源情報4を獲得する処理へと移行す
る。
When an interrupt occurs in a state where the resource information collection program 2 sets the trap flag 3a to "ON: valid", the interrupt control unit 3 generates a trigger signal for data collection and an interrupt signal to the resource information collection program 2. The data collection unit 5 that has received the trigger signal collects all the resource information 4 and stores a dedicated register 6 for each type.
The resource information collection program 2 having received the interrupt signal shifts to a process of acquiring the resource information 4 from the dedicated register 6.

【0026】レジスタ6の内容はトリガー信号に基づい
て更新されるので、資源情報収集プログラム2は常に当
該更新後の新たな資源情報を専用レジスタ6から読み出
すことができる。
Since the contents of the register 6 are updated based on the trigger signal, the resource information collection program 2 can always read the updated new resource information from the dedicated register 6.

【0027】図2は、図1に対応の処理手順を示す説明
図であり、その内容は次のようになっている。なお、資
源情報収集プログラム2は前準備としてトラップフラグ
3aのON/OFFを設定する。 (s11) 割込みを契機として次のステップに進む。 (s12) 割込み制御部3が、トラップフラグ3aは「オ
ン」であるかどうかを判断して、「 YES 」 の場合は次の
ステップに進み、「NO」 の場合は割込み処理を終了す
る。 (s13) 割込み制御部3がトリガー信号をデータ採取部5
に通知し、また割込み信号を資源情報収集プログラム2
に通知して、次のステップおよびステップ(s15)に進
む。 (s14) データ採取部5がすべての資源情報4を採取して
その種別ごとに専用レジスタ6に格納し、割込み処理を
終了する。 (s15) 資源情報収集プログラム2が走行を開始して、次
のステップに進む。 (s16) 資源情報収集プログラム2が、今すぐ資源情報4
を専用レジスタ6から読み出すかどうかを判断して、
「 YES 」の場合は次のステップに進み、「NO」 の場合は
割込み処理を終了する。 (s17) 資源情報収集プログラム2が任意の資源情報4を
それに対応した各専用レジスタ6から読み出して、割込
み処理を終了する。
FIG. 2 is an explanatory diagram showing a processing procedure corresponding to FIG. 1, and the contents are as follows. The resource information collection program 2 sets ON / OFF of the trap flag 3a as preparation. (s11) The next step is triggered by the interruption. (s12) The interrupt control unit 3 determines whether or not the trap flag 3a is “ON”. If “YES”, the process proceeds to the next step. If “NO”, the interrupt process ends. (s13) The interrupt control unit 3 sends the trigger signal to the data collection unit 5
To the resource information collection program 2
And proceeds to the next step and step (s15). (s14) The data collecting unit 5 collects all the resource information 4 and stores it in the dedicated register 6 for each type, and terminates the interrupt processing. (s15) The resource information collection program 2 starts running, and proceeds to the next step. (s16) Resource information collection program 2 is now resource information 4
Is determined from the dedicated register 6 and
If “YES”, proceed to the next step, and if “NO”, end the interrupt processing. (s17) The resource information collection program 2 reads out any resource information 4 from each dedicated register 6 corresponding to the resource information 4, and terminates the interrupt processing.

【0028】ステップ(s16) の判断に際しては、資源情
報収集プログラム2が、 ・前回の資源情報読出し時から今回の割込みまでの合計
割込み回数が基準回数に達しているかどうか、 ・前回の資源情報読出し時から今回の割込み信号の受け
取りまでの時間が基準時間を超えているかどうか、など
を調べる。図4以下の処理手順における同様の各ステッ
プ(s26) ,(s39) ,(s52) ,(s67) ,(s86) でも、この
判断手法を用いる。
In the determination of step (s16), the resource information collection program 2 checks whether the total number of interrupts from the previous resource information reading to the current interrupt has reached the reference number, It is checked whether the time from the time to the reception of the current interrupt signal exceeds the reference time. This determination method is also used in the similar steps (s26), (s39), (s52), (s67), and (s86) in the processing procedure of FIG.

【0029】図3は、資源情報収集プログラムが設定し
た単一種別の選択種資源情報の収集システム(専用レジ
スタ使用)を示す説明図である。
FIG. 3 is an explanatory diagram showing a collection system (using a dedicated register) for single-type selected type resource information set by the resource information collection program.

【0030】本明細書では、資源情報収集プログラム2
が設定した種別の資源情報を必要に応じて「選択種資源
情報」という。
In this specification, the resource information collection program 2
The resource information of the type set by is referred to as “selected type resource information” as necessary.

【0031】資源情報収集プログラム2がトラップフラ
グ3aを「ON:有効」に設定した状態で、割込みが発
生すると、 ・割込み制御部3は、データ採取用のトリガー信号およ
び資源情報収集プログラム2への割込み信号を出力し、 ・トリガー信号を受けたセレクタ兼データ採取部5a
は、選択種資源情報を採取して専用レジスタ6に格納
し、 ・割込み信号を受けた資源情報収集プログラム2は、専
用レジスタ6から選択種資源情報を獲得する処理へと移
行する。
When an interrupt occurs while the resource information collection program 2 sets the trap flag 3a to "ON: valid", the interrupt control unit 3 sends a trigger signal for data collection and a request to the resource information collection program 2. An interrupt signal is output, and a selector / data sampling unit 5a receiving a trigger signal
Collects the selected species resource information and stores it in the dedicated register 6. The resource information collection program 2 having received the interrupt signal shifts to a process of acquiring the selected species resource information from the dedicated register 6.

【0032】図4は、図3に対応の処理手順を示す説明
図であり、その内容は次のようになっている。なお、資
源情報収集プログラム2は、前準備として、トラップフ
ラグ3aのON/OFFを設定し、またセレクタ兼デー
タ採取部5aに対して採取資源情報の種別を一つだけ設
定する。 (s21) 割込みを契機として次のステップに進む。 (s22) 割込み制御部3が、トラップフラグ3aは「オ
ン」であるかどうかを判断して、「 YES 」 の場合は次の
ステップに進み、「NO」 の場合は割込み処理を終了す
る。 (s23)割込み制御部3がトリガー信号をセレクタ兼デー
タ採取部5aに通知し、また割込み信号を資源情報収集
プログラム2に通知して、次のステップおよびステップ
(s25) に進む。 (s24) セレクタ兼データ採取部5aが選択種資源情報を
採取し、それを専用レジスタ6に格納して、割込み処理
を終了する。 (s25) 資源情報収集プログラム2が走行を開始して、次
のステップに進む。 (s26) 資源情報収集プログラム2が、今すぐ資源情報4
を専用レジスタ6から読み出すかどうかを判断して、「
YES 」 の場合は次のステップに進み、「NO」 の場合は割
込み処理を終了する。 (s27) 資源情報収集プログラム2が選択種資源情報を専
用レジスタ6から読み出して、割込み処理を終了する。
FIG. 4 is an explanatory diagram showing a processing procedure corresponding to FIG. 3, and the contents are as follows. Note that the resource information collection program 2 sets ON / OFF of the trap flag 3a as preparation, and sets only one type of collection resource information to the selector / data collection unit 5a. (s21) The interruption proceeds to the next step. (s22) The interrupt control unit 3 determines whether or not the trap flag 3a is "ON". If "YES", the process proceeds to the next step, and if "NO", the interrupt process ends. (s23) The interrupt control unit 3 notifies the trigger signal to the selector / data collection unit 5a, and notifies the resource information collection program 2 of the interrupt signal.
Proceed to (s25). (s24) The selector / data collection unit 5a collects the selected seed resource information, stores it in the dedicated register 6, and ends the interrupt processing. (s25) The resource information collection program 2 starts running, and proceeds to the next step. (s26) The resource information collection program 2 now has the resource information 4
Is determined from the dedicated register 6 and “
If “YES”, proceed to the next step, and if “NO”, end the interrupt processing. (s27) The resource information collection program 2 reads the selected species resource information from the dedicated register 6, and ends the interrupt processing.

【0033】図5は、資源情報収集プログラムが設定し
た複数種別の選択種資源情報の収集システム(専用レジ
スタ使用)を示す説明図である。
FIG. 5 is an explanatory diagram showing a collection system (using a dedicated register) for a plurality of types of selected type resource information set by the resource information collection program.

【0034】この収集システムは、図3において専用セ
レクタ兼データ採取部5aと専用レジスタ6とをそれぞ
れN個設け、かつ双方を1対1の関係に対応させたもの
である。
In this collection system, N dedicated selector / data sampling units 5a and N dedicated registers 6 are provided in FIG. 3 and both correspond to one to one.

【0035】これにより、資源情報収集プログラム2
は、複数種別にわたる資源情報、例えば相互に依存性が
ある資源情報だけをそれぞれの専用レジスタ6から一回
のタイミングで読み出すことができる。
Thus, the resource information collection program 2
Can read resource information of a plurality of types, for example, only resource information mutually dependent, from each dedicated register 6 at one time.

【0036】図5の収集システムに対応の処理手順と図
4の処理手順とは、資源情報収集プログラム2の、前準
備の内容や、専用レジスタ6からの選択種資源情報の獲
得手法が相違する。
The processing procedure corresponding to the collection system shown in FIG. 5 and the processing procedure shown in FIG. 4 are different from each other in the contents of the preparation of the resource information collection program 2 and the method of acquiring the selected type resource information from the dedicated register 6. .

【0037】すなわち、図5の資源情報収集プログラム
2は、 ・前準備として、セレクタ兼データ採取部5aに対して
(自ら期待する)採取資源情報の種別を複数個設定し、 ・当該複数の選択種資源情報をそれぞれの専用レジスタ
6から読み出す。
That is, the resource information collection program 2 in FIG. 5 sets: a plurality of types of collection resource information (which is expected by itself) in the selector / data collection unit 5a as preparatory steps; The seed resource information is read from each dedicated register 6.

【0038】また、セレクタ兼データ採取部5aは、資
源情報収集プログラム2が設定した選択種資源情報をそ
れぞれ割込み制御部3からのトリガー信号に基づいて採
取し、当該資源情報をその種別ごとに専用レジスタ6に
格納する。
The selector / data collection unit 5a collects the selected type resource information set by the resource information collection program 2 based on a trigger signal from the interrupt control unit 3, and dedicates the resource information for each type. Stored in register 6.

【0039】図6は、資源情報収集プログラムが設定し
た単一種別の資源情報の収集システム(専用スタックレ
ジスタ使用:その1)を示す説明図である。
FIG. 6 is an explanatory diagram showing a system for collecting resource information of a single type set by the resource information collection program (using a dedicated stack register: part 1).

【0040】資源情報収集プログラム2がトラップフラ
グ3aを「ON:有効」に設定した状態で、割込みが発
生すると、割込み制御部3は資源情報採取用のトリガー
信号を出力する(資源情報収集プログラム2への割込み
信号は出力しない)。
When an interrupt occurs while the resource information collection program 2 sets the trap flag 3a to "ON: valid", the interrupt control unit 3 outputs a trigger signal for collecting resource information (the resource information collection program 2). No interrupt signal is output.)

【0041】セレクタ兼データ採取部5aは、このトリ
ガー信号を受けるごとに選択種資源情報を採取してn段
の専用スタックレジスタ7に順次格納し、そのn段目ま
で選択種資源情報を格納した時点で採取処理を中断す
る。
Each time the selector / data collecting unit 5a receives the trigger signal, it collects the selected seed resource information and sequentially stores the selected seed resource information in the n-stage dedicated stack register 7, and stores the selected seed resource information up to the n-th stage. Stop the collection process at this point.

【0042】この採取処理の中断にともない、割込み信
号が資源情報収集プログラム2に通知される。割込み信
号を受けた当該プログラムは専用スタックレジスタ7の
任意の段から選択種資源情報を読み出す。
When the collection process is interrupted, an interrupt signal is notified to the resource information collection program 2. The program that has received the interrupt signal reads the selected seed resource information from an arbitrary stage of the dedicated stack register 7.

【0043】図7は、図6に対応の処理手順を示す説明
図であり、その内容は次のようになっている。資源情報
収集プログラム2は、前準備として、トラップフラグ3
aのON/OFFを設定し、セレクタ兼データ採取部5
aに採取資源情報の種別を設定し、また専用スタックレ
ジスタ7を初期化する。 (s31) 割込みを契機として次のステップに進む。 (s32) 割込み制御部3が、トラップフラグ3aは「オ
ン」であるかどうかを判断して、「 YES 」 の場合は次の
ステップに進み、「NO」 の場合は割込み処理を終了す
る。 (s33) 割込み制御部3が資源情報採取用のトリガー信号
をセレクタ兼データ採取部5aに通知して、次のステッ
プに進む。 (s34) セレクタ兼データ採取部5aが選択種資源情報を
採取し、それを専用スタックレジスタ7に格納して、次
のステップに進む。 (s35) セレクタ兼データ採取部5aが、専用スタックレ
ジスタ7の最終段まで資源情報が格納されているかどう
かを判断して、「 YES 」 の場合は次のステップに進み、
「NO」 の場合は割込み処理を終了する。 (s36) セレクタ兼データ採取部5aが選択種資源情報の
採取処理を一時停止状態にして、次のステップに進む。 (s37) セレクタ兼データ採取部5aが割込み信号を資源
情報収集プログラム2に通知して、次のステップに進
む。なお、セレクタ兼データ採取部5aの動作はいった
ん終了する。 (s38) 資源情報収集プログラム2が走行を開始して、次
のステップに進む。 (s39) 資源情報収集プログラム2が、今すぐに資源情報
4を専用スタックレジスタ7から読み出すかどうかを判
断して、「 YES 」 の場合は次のステップに進み、「NO」
の場合はステップ(s41) に進む。 (s40) 資源情報収集プログラム2が選択種資源情報を専
用スタックレジスタ7の任意の段から読み出して、次の
ステップに進む。 (s41) 資源情報収集プログラム2が、選択種資源情報の
採取を続けるかどうかを判断して、「 YES 」 の場合は次
のステップに進み、「NO」 の場合は割込み処理を終了す
る。 (s42) 資源情報収集プログラム2が専用スタックレジス
タ7を初期化して、次のステップに進む。 (s43) 資源情報収集プログラム2がセレクタ兼データ採
取部5aに選択種資源情報の採取一時停止の解除を指示
して、割込み処理を終了する。
FIG. 7 is an explanatory diagram showing a processing procedure corresponding to FIG. 6, and the contents are as follows. The resource information collection program 2 performs a trap flag 3
a ON / OFF setting, and a selector / data collection unit 5
The type of the collected resource information is set in a, and the dedicated stack register 7 is initialized. (s31) The interruption proceeds to the next step. (s32) The interrupt control unit 3 determines whether or not the trap flag 3a is "ON". If "YES", the process proceeds to the next step. If "NO", the interrupt process ends. (s33) The interrupt control unit 3 notifies the trigger signal for collecting resource information to the selector / data collecting unit 5a, and proceeds to the next step. (s34) The selector / data collection unit 5a collects the selected seed resource information, stores it in the dedicated stack register 7, and proceeds to the next step. (s35) The selector / data collection unit 5a determines whether resource information is stored up to the last stage of the dedicated stack register 7. If "YES", the process proceeds to the next step.
If “NO”, the interrupt processing ends. (s36) The selector / data collection unit 5a suspends the collection processing of the selected species resource information, and proceeds to the next step. (s37) The selector / data collection unit 5a notifies the resource information collection program 2 of the interrupt signal, and proceeds to the next step. Note that the operation of the selector / data collection unit 5a ends once. (s38) The resource information collection program 2 starts running, and proceeds to the next step. (s39) The resource information collection program 2 determines whether or not the resource information 4 is immediately read from the dedicated stack register 7. If "YES", the process proceeds to the next step and "NO".
In the case of, the process proceeds to step (s41). (s40) The resource information collection program 2 reads the selected type resource information from an arbitrary stage of the dedicated stack register 7, and proceeds to the next step. (s41) The resource information collection program 2 determines whether or not to continue collecting the selected species resource information. If “YES”, the process proceeds to the next step. If “NO”, the interrupt process ends. (s42) The resource information collection program 2 initializes the dedicated stack register 7, and proceeds to the next step. (s43) The resource information collection program 2 instructs the selector / data collection unit 5a to cancel the suspension of the collection of the selected type resource information, and ends the interrupt processing.

【0044】図8は、資源情報収集プログラムが設定し
た単一種別の選択種資源情報の収集システム(専用スタ
ックレジスタ使用:その2)を示す説明図である。
FIG. 8 is an explanatory diagram showing a collection system (using a dedicated stack register: part 2) of single type of selected type resource information set by the resource information collection program.

【0045】資源情報収集プログラム2がトラップフラ
グ3aを「ON:有効」に設定した状態で、割込みが発
生すると、 ・割込み制御部3は、データ採取用のトリガー信号およ
び資源情報収集プログラム2への割込み信号を出力し、 ・トリガー信号を受けたセレクタ兼データ採取部5a
は、設定資源情報を採取して専用スタックレジスタ7に
格納し、 ・割込み制御部3からの割込み信号、またはセレクタ兼
データ採取部5aからの割込み信号(図6参照)を受け
た資源情報収集プログラム2は、専用スタックレジスタ
7から選択種資源情報を獲得する処理へと移行する。
When an interrupt occurs while the resource information collection program 2 sets the trap flag 3a to "ON: valid", the interrupt control unit 3 sends a trigger signal for data collection and a request to the resource information collection program 2. An interrupt signal is output, and a selector / data sampling unit 5a receiving a trigger signal
Collects the set resource information and stores it in the dedicated stack register 7. A resource information collection program which receives an interrupt signal from the interrupt control unit 3 or an interrupt signal (see FIG. 6) from the selector / data collecting unit 5 a 2 shifts to a process of acquiring the selected species resource information from the dedicated stack register 7.

【0046】図8の資源情報収集システムは、このよう
に、資源情報収集プログラム2が割込み制御部3および
セレクタ兼データ採取部5aの双方から割込み通知を受
ける点で、図6のシステムと相違している。
The resource information collection system of FIG. 8 differs from the system of FIG. 6 in that the resource information collection program 2 receives an interrupt notification from both the interrupt control unit 3 and the selector / data collection unit 5a. ing.

【0047】すなわち、トラップフラグ3aを「ON:
有効」に設定した状態では、期待する割込み要因の発生
ごとに、割込み制御部3から資源情報収集プログラム2
に対して直接割込み信号が通知される。
That is, the trap flag 3a is set to “ON:
In the state of “valid”, the interrupt control unit 3 sends the resource information collection program 2 every time an expected interrupt factor occurs.
Is directly notified of the interrupt signal.

【0048】これにより、資源情報収集プログラム2
は、割込み発生ごと(割込み制御部3への割込み発生ご
と)の資源情報獲得処理と、n回の当該割込み発生ごと
の資源情報獲得処理とを選択することができる。
Thus, the resource information collection program 2
Can select a resource information acquisition process for each interrupt occurrence (every interruption to the interrupt control unit 3) and a resource information acquisition process for each of the n occurrences of the interrupt.

【0049】図9は、図8に対応の処理手順を示す説明
図であり、その内容は次のようになっている。ステップ
(s51) 乃至(s55) を付加したことが図7の処理手順と相
違し、当該ステップ以外の手順や資源情報収集プログラ
ム2の前準備の内容は図7のものと同一である。 (s31) 割込みを契機として次のステップに進む。 (s32) 割込み制御部3が、トラップフラグ3aは「オ
ン」であるかどうかを判断して、「 YES 」 の場合は次の
ステップに進み、「NO」 の場合は割込み処理を終了す
る。 (s33′) 割込み制御部3がデータ採取用のトリガー信号
をセレクタ兼データ採取部5aに通知し、また割込み信
号を資源情報収集プログラム2に通知して、次のステッ
プおよびステップ(s51) に進む。 (s34) セレクタ兼データ採取部5aが選択種資源情報を
採取し、それを専用スタックレジスタ7に格納して、次
のステップに進む。 (s35) セレクタ兼データ採取部5aが、専用スタックレ
ジスタ7の最終段まで資源情報が格納されているかどう
かを判断して、「 YES 」 の場合は次のステップに進み、
「NO」 の場合は割込み処理を終了する。 (s36) セレクタ兼データ採取部5aが選択種資源情報の
採取処理を一時停止状態にして、次のステップに進む。 (s37) セレクタ兼データ採取部5aが割込み信号を資源
情報収集プログラム2に通知して、次のステップに進
む。なお、セレクタ兼データ採取部5aの動作はいった
ん終了する。 (s38) 資源情報収集プログラム2が走行を開始して、次
のステップに進む。 (s39) 資源情報収集プログラム2が、今すぐに資源情報
4を専用スタックレジスタ7から読み出すかどうかを判
断して、「 YES 」 の場合は次のステップに進み、「NO」
の場合はステップ(s41) に進む。 (s40) 資源情報収集プログラム2が選択種資源情報を専
用スタックレジスタ7の任意の段から読み出して、次の
ステップに進む。 (s41) 資源情報収集プログラム2が、選択種資源情報の
採取を続けるかどうかを判断して、「 YES 」 の場合は次
のステップに進み、「NO」 の場合は割込み処理を終了す
る。 (s42) 資源情報収集プログラム2が専用スタックレジス
タ7を初期化して、次のステップに進む。 (s43) 資源情報収集プログラム2がセレクタ兼データ採
取部5aに設定資源情報の採取一時停止の解除を指示し
て、割込み処理を終了する。 (s51) 資源情報収集プログラム2が走行を開始して、次
のステップに進む。 (s52) 資源情報収集プログラム2が、今すぐに資源情報
4を専用スタックレジスタ7から読み出すかどうかを判
断して、「 YES 」 の場合は次のステップに進み、「NO」
の場合はステップ(s54) に進む。 (s53) 資源情報収集プログラム2が選択種資源情報を専
用スタックレジスタ7の任意の段から読み出して、次の
ステップに進む。 (s54) 資源情報収集プログラム2が、選択種資源情報の
採取を一時停止するかどうかを判断して、「 YES 」 の場
合は次のステップに進み、「NO」 の場合は割込み処理を
終了する。 (s55) 資源情報収集プログラム2がセレクタ兼データ採
取部5aに対し選択種資源情報の採取一時停止を指示す
るか、またはトラップフラグ3aを「OFF」に変更し
て、割込み処理を終了する。
FIG. 9 is an explanatory diagram showing a processing procedure corresponding to FIG. 8, and the contents are as follows. Steps
7 is different from the processing procedure of FIG. 7 in that steps (s51) to (s55) are added, and the procedure other than the steps and the contents of the preparation for the resource information collection program 2 are the same as those in FIG. (s31) The interruption proceeds to the next step. (s32) The interrupt control unit 3 determines whether or not the trap flag 3a is "ON". If "YES", the process proceeds to the next step. If "NO", the interrupt process ends. (s33 ') The interrupt control unit 3 notifies the trigger signal for data collection to the selector / data collection unit 5a and the interrupt signal to the resource information collection program 2, and proceeds to the next step and step (s51). . (s34) The selector / data collection unit 5a collects the selected seed resource information, stores it in the dedicated stack register 7, and proceeds to the next step. (s35) The selector / data collection unit 5a determines whether resource information is stored up to the last stage of the dedicated stack register 7. If "YES", the process proceeds to the next step.
If “NO”, the interrupt processing ends. (s36) The selector / data collection unit 5a suspends the collection processing of the selected species resource information, and proceeds to the next step. (s37) The selector / data collection unit 5a notifies the resource information collection program 2 of the interrupt signal, and proceeds to the next step. Note that the operation of the selector / data collection unit 5a ends once. (s38) The resource information collection program 2 starts running, and proceeds to the next step. (s39) The resource information collection program 2 determines whether or not the resource information 4 is immediately read from the dedicated stack register 7. If "YES", the process proceeds to the next step and "NO".
In the case of, the process proceeds to step (s41). (s40) The resource information collection program 2 reads the selected type resource information from an arbitrary stage of the dedicated stack register 7, and proceeds to the next step. (s41) The resource information collection program 2 determines whether or not to continue collecting the selected species resource information. If “YES”, the process proceeds to the next step. If “NO”, the interrupt process ends. (s42) The resource information collection program 2 initializes the dedicated stack register 7, and proceeds to the next step. (s43) The resource information collection program 2 instructs the selector / data collection unit 5a to cancel the suspension of the collection of the set resource information, and ends the interrupt processing. (s51) The resource information collection program 2 starts running, and proceeds to the next step. (s52) The resource information collection program 2 judges whether to immediately read the resource information 4 from the dedicated stack register 7, and if "YES", proceeds to the next step and proceeds to "NO".
In the case of, the process proceeds to step (s54). (s53) The resource information collection program 2 reads the selected type resource information from an arbitrary stage of the dedicated stack register 7, and proceeds to the next step. (s54) The resource information collection program 2 determines whether or not to suspend the collection of the selected species resource information. If “YES”, proceed to the next step; if “NO”, end the interrupt processing. . (s55) The resource information collection program 2 instructs the selector / data collection unit 5a to suspend the collection of the selected type resource information, or changes the trap flag 3a to "OFF", and ends the interrupt processing.

【0050】図10は、シングルステップ割込み(1命
令毎割込み)に基づく、資源情報収集プログラムが設定
した選択種資源情報の収集システム(専用レジスタ使
用)を示す説明図である。
FIG. 10 is an explanatory diagram showing a collection system (using a dedicated register) for selected type resource information set by the resource information collection program based on a single step interrupt (interrupt for each instruction).

【0051】この場合のトラップフラグ3aはシングル
ステップ割込みモード用の制御フラグとしてのみ、すな
わち1命令毎の割込みの有効/無効を設定するための制
御フラグとしてのみ動作する。
In this case, the trap flag 3a operates only as a control flag for the single-step interrupt mode, that is, only as a control flag for setting the enable / disable of the interrupt for each instruction.

【0052】資源情報収集プログラム2がトラップフラ
グ3aを「ON:有効」に設定した状態で、資源情報採
取対象プログラムの1命令実行にともなう割込みが発生
すると、 ・割込み制御部3は、資源情報採取用のトリガー信号お
よび資源情報収集プログラム2への割込み信号を出力
し、 ・トリガー信号を受けたセレクタ兼データ採取部5a
は、選択種資源情報を採取して専用レジスタ6に格納
し、 ・割込み信号を受けた資源情報収集プログラム2は、専
用レジスタ6から選択種資源情報を獲得する処理へと移
行する。
When the resource information collection program 2 sets the trap flag 3a to "ON: valid" and an interrupt occurs with the execution of one instruction of the resource information collection target program, the interrupt control unit 3 Trigger signal and an interrupt signal to the resource information collection program 2 are output.
Collects the selected species resource information and stores it in the dedicated register 6. The resource information collection program 2 having received the interrupt signal shifts to a process of acquiring the selected species resource information from the dedicated register 6.

【0053】すなわち、トラップフラグ3aの設定内容
が「ON:有効」の場合、資源情報採取対象プログラム
の1命令実行毎に発生する割込みに基づき資源情報収集
プログラム2が専用レジスタ6の資源情報を獲得し、そ
の後で資源情報採取対象プログラムの次の命令を実行す
ることを繰り返す。
That is, when the setting of the trap flag 3a is "ON: valid", the resource information collection program 2 acquires the resource information of the dedicated register 6 based on an interrupt generated each time the instruction of the resource information collection target program is executed. Thereafter, the execution of the next instruction of the resource information collection target program is repeated.

【0054】これにより、資源情報収集プログラム2
は、資源情報採取対象プログラムの1命令毎の資源情報
を獲得して、いわば被測定システムの全挙動を把握する
ことができる。
Thus, the resource information collection program 2
Can acquire the resource information for each instruction of the resource information collection target program, so as to understand the overall behavior of the measured system.

【0055】図11は、図10に対応の処理手順を示す
説明図であり、その内容は次のようになっている。な
お、資源情報収集プログラム2は、前準備として、トラ
ップフラグ3aのON/OFFを設定し、またセレクタ
兼データ採取部5aに対して採取資源情報の種別を設定
する。 (s61) 割込み(1命令毎割込み)を契機として次のステ
ップに進む。 (s62) 割込み制御部3がトラップフラグ3aを「OF
F」に設定して、次のステップに進む。ここでトラップ
フラグ3aを「OFF」に設定するのは資源情報採取対
象プログラム以外のプログラムでの命令実行に基づく割
込み要求を無効にするため、例えば資源情報収集プログ
ラム2の命令実行に基づいて割込みが発生することを防
止するためである。なお、この設定をおこなう前のトラ
ップフラグ3aの内容は保持しておく。 (s63) 割込み制御部3が、上記割込み(1命令毎割込
み)は有効であったかどうか、すなわちステップ(s61)
のときのトラップフラグ3aは「ON」であったかどう
かを判断して、「 YES 」 の場合は次のステップに進み、
「NO」 の場合は割込み処理を終了する。 (s64) 割込み制御部3が資源情報採取用のトリガー信号
をセレクタ兼データ採取部5aに通知し、また割込み信
号を資源情報収集プログラム2に通知して、次のステッ
プにおよびステップ(s66) に進む。 (s65) セレクタ兼データ採取部5aが選択種資源情報を
採取し、それを専用レジスタ6に格納して、割込み処理
を終了する。 (s66) 資源情報収集プログラム2が走行を開始して、次
のステップに進む。 (s67) 資源情報収集プログラム2が、今すぐに資源情報
4を専用レジスタ6から読み出すかどうかを判断して、
「 YES 」 の場合は次のステップに進み、「NO」 の場合は
ステップ(s69) に進む。 (s68) 資源情報収集プログラム2が選択種資源情報をレ
ジスタ6から読み出して、次のステップに進む。 (s69) 資源情報収集プログラム2が、資源情報採取対象
プログラムの1命令毎の資源情報採取処理を継続するか
どうかを判断して、「 YES 」 の場合は次のステップに進
み、「NO」 の場合は割込み処理を終了する。 (s70) 資源情報収集プログラム2がトラップフラグ3a
を「ON」に設定して、割込み処理を終了する。
FIG. 11 is an explanatory diagram showing a processing procedure corresponding to FIG. 10, and the contents are as follows. The resource information collection program 2 sets ON / OFF of the trap flag 3a and sets the type of the collected resource information for the selector / data collecting unit 5a as preparation. (s61) The next step is triggered by an interrupt (interrupt for each instruction). (s62) The interrupt control unit 3 sets the trap flag 3a to “OF”.
F "and proceed to the next step. Here, the trap flag 3a is set to “OFF” because an interrupt request based on the execution of an instruction in a program other than the resource information collection target program is invalidated. This is to prevent occurrence. It should be noted that the contents of the trap flag 3a before this setting are held. (s63) The interrupt control unit 3 determines whether or not the interrupt (interrupt for each instruction) is valid, that is, step (s61).
It is determined whether or not the trap flag 3a at the time of is "ON", and if "YES", the process proceeds to the next step.
If “NO”, the interrupt processing ends. (s64) The interrupt control unit 3 notifies the trigger signal for collecting resource information to the selector / data collecting unit 5a, and notifies the interrupt signal to the resource information collection program 2, and proceeds to the next step and step (s66). move on. (s65) The selector / data collection unit 5a collects the selected seed resource information, stores it in the dedicated register 6, and ends the interrupt processing. (s66) The resource information collection program 2 starts running, and proceeds to the next step. (s67) The resource information collection program 2 determines whether to read the resource information 4 from the dedicated register 6 immediately,
If “YES”, proceed to the next step; if “NO”, proceed to step (s69). (s68) The resource information collection program 2 reads the selected species resource information from the register 6, and proceeds to the next step. (s69) The resource information collection program 2 determines whether or not to continue the resource information collection process for each instruction of the resource information collection target program. If “YES”, proceed to the next step and proceed to “NO”. In this case, the interrupt processing ends. (s70) The resource information collection program 2 sets the trap flag 3a.
Is set to “ON”, and the interrupt processing ends.

【0056】図12は、資源情報収集プログラムが設定
する種別の対象イベントの発生にともなう選択種資源情
報の収集システム(イベントカウンタ,専用レジスタ使
用)を示す説明図である。資源情報収集プログラム2は
対象イベントの発生回数(閾値)や、採取資源情報の種
別も設定している。
FIG. 12 is an explanatory diagram showing a collection system (using an event counter and a dedicated register) for selected type resource information when a target event of the type set by the resource information collection program occurs. The resource information collection program 2 also sets the number of occurrences (threshold) of the target event and the type of the collected resource information.

【0057】資源情報収集プログラム2がトラップフラ
グ3aを「ON:有効」に設定した状態で、イベントカ
ウンタ8のオーバーフロー割込みが発生する、すなわち
設定済の対象イベント(例えばキャッシュミス,分岐予
測ミスなど)の発生回数が設定閾値を超えると、 ・割込み制御部3は、データ採取用のトリガー信号およ
び資源情報収集プログラム2への割込み信号を出力し、 ・トリガー信号を受けたセレクタ兼データ採取部5a
は、選択種資源情報を採取して専用レジスタ6に格納
し、 ・割込み信号を受けた資源情報収集プログラム2は、専
用レジスタ6から選択種資源情報を獲得する処理へと移
行する。
When the resource information collection program 2 sets the trap flag 3a to "ON: valid", an overflow interrupt of the event counter 8 occurs, that is, a set target event (for example, a cache miss, a branch prediction miss, or the like). When the number of occurrences exceeds the set threshold, the interrupt control unit 3 outputs a trigger signal for data collection and an interrupt signal to the resource information collection program 2, and the selector / data collection unit 5a receiving the trigger signal
Collects the selected species resource information and stores it in the dedicated register 6. The resource information collection program 2 having received the interrupt signal shifts to a process of acquiring the selected species resource information from the dedicated register 6.

【0058】なお、イベントカウンタ8は、カウント値
が閾値を超えるといったんゼロクリアされ、その後の対
象イベントの発生回数をカウントし続ける。
The event counter 8 is cleared to zero as soon as the count value exceeds the threshold value, and continues to count the number of occurrences of the target event thereafter.

【0059】図12において、トラップフラグ3aが
「ON:有効」の場合、対象イベントの発生回数が閾値
を超えるごとにオーバーフロー割込みが発生して、資源
情報収集プログラム2は選択種資源情報をレジスタ6か
ら獲得する。
In FIG. 12, when the trap flag 3a is "ON: valid", an overflow interrupt is generated each time the number of times of occurrence of the target event exceeds the threshold, and the resource information collection program 2 stores the selected type resource information in the register 6 To get from.

【0060】これにより、資源情報収集プログラム2
は、オーバーヘッドがほとんどなくて限りなく実運用動
作に近い状態で、かつ、統計的に有意な選択種資源情報
を獲得できる。
Thus, the resource information collection program 2
Is capable of acquiring statistically significant selected species resource information in a state close to an actual operation operation with almost no overhead.

【0061】例えば命令毎トレースの場合に約900倍
ものオーバーヘッドがかかるマシン上での、イベントベ
ースのオーバーフロー割込みトレースにともなうオーバ
ーヘッドは1.02倍以下であった。
For example, the overhead associated with event-based overflow interrupt tracing on a machine that takes about 900 times as much overhead as tracing for each instruction is less than 1.02 times.

【0062】図12の獲得処理は、トラップフラグ3a
を無効にするか、対象イベントの設定を無効にするまで
繰り返し実行される。
The acquisition process shown in FIG.
Is executed repeatedly until the setting of the target event is invalidated.

【0063】図13は、図12に対応の処理手順を示す
説明図であり、その内容は次のようになっている。な
お、資源情報収集プログラム2は、前準備として、トラ
ップフラグ3aのON/OFFを設定し、セレクタ兼デ
ータ採取部5aに対して採取資源情報の種別を設定し、
またイベントカウンタ8に対して対象イベントの種別と
その発生回数の閾値を設定する。 (s81) イベントカウンタ8のオーバーフロー割込みを契
機として次のステップに進む。 (s82) 割込み制御部3が、トラップフラグ3aは「オ
ン」であるかどうかを判断して、「 YES 」 の場合は次の
ステップに進み、「NO」 の場合は割込み処理を終了す
る。 (s83) 割込み制御部3が資源情報採取用のトリガー信号
をセレクタ兼データ採取部5aに通知し、また割込み信
号を資源情報収集プログラム2に通知して、次のステッ
プおよびステップ(s85) に進む。 (s84) セレクタ兼データ採取部5aが選択種資源情報を
採取し、それを専用レジスタ6に格納して、割込み処理
を終了する。 (s85) 資源情報収集プログラム2が走行を開始して、次
のステップに進む。 (s86) 資源情報収集プログラム2が、今すぐに資源情報
4を専用レジスタ6から読み出すかどうかを判断して、
「 YES 」 の場合は次のステップに進み、「NO」 の場合は
割込み処理を終了する。 (s87) 資源情報収集プログラム2が選択種資源情報を専
用レジスタ6から読み出して、割込み処理を終了する。
FIG. 13 is an explanatory diagram showing a processing procedure corresponding to FIG. 12, and the contents are as follows. The resource information collection program 2 sets ON / OFF of the trap flag 3a as a preparation, sets the type of the collected resource information to the selector / data collection unit 5a,
Further, the type of the target event and the threshold value of the number of occurrences are set for the event counter 8. (s81) The next step is triggered by the overflow interrupt of the event counter 8. (s82) The interrupt control unit 3 determines whether or not the trap flag 3a is "ON". If "YES", the process proceeds to the next step, and if "NO", the interrupt process ends. (s83) The interrupt control unit 3 notifies the trigger signal for resource information collection to the selector / data collection unit 5a, and notifies the interrupt signal to the resource information collection program 2, and proceeds to the next step and step (s85). . (s84) The selector / data collecting unit 5a collects the selected seed resource information, stores it in the dedicated register 6, and ends the interrupt processing. (s85) The resource information collection program 2 starts running, and proceeds to the next step. (s86) The resource information collection program 2 determines whether to read the resource information 4 from the dedicated register 6 immediately,
If “YES”, proceed to the next step; if “NO”, end the interrupt processing. (s87) The resource information collection program 2 reads the selected species resource information from the dedicated register 6, and ends the interrupt processing.

【0064】図14は、図12の対象イベントの発生元
フラグを専用レジスタに付加したときの様子を示す説明
図である。なお、説明の便宜上、1命令あたりのオペラ
ンド数を最大2個までとする命令セットの使用、および
キャッシュミスの発生を前提としている。
FIG. 14 is an explanatory diagram showing a state in which the source flag of the target event in FIG. 12 is added to a dedicated register. For convenience of explanation, it is assumed that an instruction set with a maximum of two operands per instruction is used and that a cache miss occurs.

【0065】ここで、オペランド♯1および♯2を持つ
命令の実行時にキャッシュミスが発生したとき、データ
採取部5およびセレクタ兼データ採取部5aは、 ・オペランド♯1および♯2それぞれの資源情報を専用
レジスタ6に格納し、 ・キャッシュヒットしたオペランド♯1の格納域に、そ
の旨を示すイベント発生元フラグ「0:無効」も保持
し、 ・キャッシュヒットしなかったオペランド♯2の格納域
に、その旨を示すイベント発生元フラグ「1:発生元」
も保持している。
Here, when a cache miss occurs during the execution of an instruction having operands $ 1 and $ 2, data collection unit 5 and selector / data collection unit 5a store the resource information of operands $ 1 and $ 2. In the dedicated register 6, ・ In the storage area of the operand # 1 that has hit the cache, the event occurrence source flag “0: invalid” indicating that fact is also held. In the storage area of the operand # 2 that has not hit the cache, Event source flag "1: source" indicating this
Also holds.

【0066】これにより、資源情報収集プログラム2
は、専用レジスタ6に格納された選択種資源情報から、
対象イベントのキャッシュミスに関与するオペランド♯
1および♯2を確認できるだけでなく、対象イベントの
ペナルティ発生元についても特定することができる。
As a result, the resource information collection program 2
From the selected species resource information stored in the dedicated register 6,
Operands involved in cache miss of the target event
Not only can 1 and # 2 be confirmed, but also the source of the penalty of the target event can be specified.

【0067】なお、資源情報の格納手段としてレジスタ
を用いる場合は勿論のこと、当該手段としてスタックレ
ジスタを用いる場合にも、採取資源情報の種別設定を単
一にするか複数にするかは任意である。この種別設定を
複数とするときには、設定内容に対応する個数のレジス
タ/スタックレジスタを用いればよい。
In addition to using a register as the resource information storage means, as well as using a stack register as the means, it is optional whether the type setting of the collected resource information is single or plural. is there. When a plurality of types are set, the number of registers / stack registers corresponding to the set contents may be used.

【0068】図15は、コンピュータ読み取り可能な記
録媒体からプログラムを読み取って実行するコンピュー
タシステムの概要を示す説明図であり、20はコンピュ
ータシステム、21はCPUやディスクドライブ装置な
どを内蔵した本体部、22は本体部21からの指示によ
り画像を表示するディスプレイ、23は表示画面、24
はコンピュータシステム20に種々の情報を入力するた
めのキーボード、25は表示画面23の任意の位置を指
定するマウス、26は外部のデータベース(DASDな
どの回線先メモリ)、27は外部のデータベース26に
アクセスするモデム、28はCD−ROMやフロッピー
(登録商標)ディスクなどの可搬型記録媒体をそれぞれ
示している。
FIG. 15 is an explanatory diagram showing an outline of a computer system which reads a program from a computer-readable recording medium and executes the program. 20 is a computer system, 21 is a main unit incorporating a CPU and a disk drive device, etc. Reference numeral 22 denotes a display for displaying an image in accordance with an instruction from the main body unit 21;
Is a keyboard for inputting various information to the computer system 20, 25 is a mouse for specifying an arbitrary position on the display screen 23, 26 is an external database (line memory such as DASD), and 27 is an external database 26. The modem 28 to be accessed is a portable recording medium such as a CD-ROM or a floppy (registered trademark) disk.

【0069】プログラムを格納する記録媒体としては、 ・プログラム提供者側のデータベース26(回線先メモ
リ) ・可搬型記録媒体28 ・本体部21側のRAMやハードディスク などのいずれでもよく、当該プログラムは本体部21に
ローディングされてその主メモリ上で実行される。
The recording medium for storing the program may be any of a database 26 (line destination memory) on the program provider side, a portable recording medium 28, and a RAM or a hard disk on the main body 21 side. It is loaded into the unit 21 and executed on its main memory.

【0070】[0070]

【発明の効果】本発明は、このように、ハードウェアの
動作で採取対象の資源情報を採取・格納し、ソフトウェ
アがレジスタなどからこの格納情報を読み出しているの
で、資源情報採取にともなう被測定システムへの影響を
少なくするとともに、レジスタなどを読み出すといった
簡単な操作で各種の資源情報、例えば従来のソフトウェ
アによる手法では採取が困難であった資源情報や、採取
は可能であるが実行環境上での計算等を要した資源情報
なども獲得することができる。
As described above, according to the present invention, the resource information to be collected is collected and stored by the operation of the hardware, and the stored information is read out from the register or the like by the software. In addition to reducing the impact on the system, various operations such as reading registers and other resource information can be performed by simple operations, such as resource information that was difficult to collect using conventional software methods. The resource information and the like which required the calculation of can also be obtained.

【0071】また、ソフトウェアが、採取対象の資源情
報の種別や、資源情報採取の契機となる割込みの有効/
無効の設定を行なっているので、資源情報の収集態様を
選択的に設定して資源情報収集装置の利便性を高めるこ
とができる。
Further, the software can determine the type of the resource information to be collected and the validity / invalidity of the interrupt which triggers the collection of the resource information.
Since the invalidation is set, the collection mode of the resource information can be selectively set to enhance the convenience of the resource information collection device.

【0072】また、ペナルティ発生元などを示す付加情
報も格納しているので、被測定システムの性能ペナルテ
ィやエラーの特定やその原因解析を正確かつ簡単に行な
うことができる。
Further, since additional information indicating a penalty generation source and the like is also stored, it is possible to accurately and easily specify the performance penalty and error of the measured system and analyze the cause thereof.

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

【図1】本発明の、全種別の資源情報の収集システム
(専用レジスタ使用)を示す説明図である。
FIG. 1 is an explanatory diagram showing a system for collecting resource information of all types (using a dedicated register) according to the present invention.

【図2】本発明の、図1に対応の処理手順を示す説明図
である。
FIG. 2 is an explanatory diagram showing a processing procedure corresponding to FIG. 1 of the present invention.

【図3】本発明の、資源情報収集プログラムが設定した
単一種別の選択種資源情報の収集システム(専用レジス
タ使用)を示す説明図である。
FIG. 3 is an explanatory diagram showing a collection system (using a dedicated register) for single-type selected type resource information set by a resource information collection program according to the present invention;

【図4】本発明の、図3に対応の処理手順を示す説明図
である。
FIG. 4 is an explanatory diagram showing a processing procedure corresponding to FIG. 3 of the present invention.

【図5】本発明の、資源情報収集プログラムが設定した
複数種別の選択種資源情報の収集システム(専用レジス
タ使用)を示す説明図である。
FIG. 5 is an explanatory diagram showing a collection system (using a dedicated register) of a plurality of types of selected type resource information set by a resource information collection program according to the present invention.

【図6】本発明の、資源情報収集プログラムが設定した
単一種別の選択種資源情報の収集システム(専用スタッ
クレジスタ使用:その1)を示す説明図である。
FIG. 6 is an explanatory diagram showing a collection system of single type of selected type resource information set by a resource information collection program (using a dedicated stack register: 1) according to the present invention;

【図7】本発明の、図6に対応の処理手順を示す説明図
である。
FIG. 7 is an explanatory diagram showing a processing procedure corresponding to FIG. 6 of the present invention.

【図8】本発明の、資源情報収集プログラムが設定した
単一種別の選択種資源情報の収集システム(専用スタッ
クレジスタ使用:その2)を示す説明図である。
FIG. 8 is an explanatory diagram showing a collection system of single type of selected type resource information set by a resource information collection program (using a dedicated stack register: part 2) according to the present invention;

【図9】本発明の、図8に対応の処理手順を示す説明図
である。
FIG. 9 is an explanatory diagram showing a processing procedure corresponding to FIG. 8 of the present invention.

【図10】本発明の、シングルステップ割込み(1命令
毎割込み)に基づく、資源情報収集プログラムが設定し
た選択種資源情報の収集システム(専用レジスタ使用)
を示す説明図である。
FIG. 10 is a collection system of selected type resource information set by a resource information collection program based on a single step interrupt (interrupt for each instruction) of the present invention (using a dedicated register).
FIG.

【図11】本発明の、図10に対応の処理手順を示す説
明図である。
FIG. 11 is an explanatory diagram showing a processing procedure corresponding to FIG. 10 of the present invention.

【図12】本発明の、資源情報収集プログラムが設定す
る種別の対象イベントの発生にともなう選択種資源情報
の収集システム(イベントカウンタ,専用レジスタ使
用)を示す説明図である。
FIG. 12 is an explanatory diagram showing a system (an event counter and a dedicated register are used) for collecting selected type resource information when a target event of the type set by the resource information collection program occurs, according to the present invention;

【図13】本発明の、図12に対応の処理手順を示す説
明図である。
FIG. 13 is an explanatory diagram showing a processing procedure corresponding to FIG. 12 of the present invention.

【図14】本発明の、図12の対象イベントの発生元フ
ラグを専用レジスタに付加したときの様子を示す説明図
である。
FIG. 14 is an explanatory diagram showing a state when the source flag of the target event of FIG. 12 is added to a dedicated register according to the present invention.

【図15】本発明の、コンピュータ読み取り可能な記録
媒体からプログラムを読み取って実行するコンピュータ
システムの概要を示す説明図である。
FIG. 15 is an explanatory diagram showing an outline of a computer system for reading and executing a program from a computer-readable recording medium according to the present invention.

【符号の説明】[Explanation of symbols]

1:プロセッサ 2:資源情報収集プログラム 3:割込み制御部 3a:割込みの有効/無効を制御するトラップフラグ
(TF) 4:各種資源情報 5:データ採取部(資源情報採取手段) 5a:セレクタ兼データ採取部(資源情報採取手段) 6:資源情報の専用レジスタ(資源情報格納手段) 7:資源情報の専用スタックレジスタ(資源情報格納手
段) 8:イベントカウンタ 9:主記憶 10:キャッシュ 20:コンピュータシステム 21:CPUやディスクドライブ装置などを内蔵した本
体部 22:ディスプレイ 23:表示画面 24:キーボード 25:マウス 26:外部のデータベース(DASDなどの回線先メモ
リ) 27:モデム 28:CD−ROMやフロッピーディスクなどの可搬型
記録媒体
1: Processor 2: Resource information collection program 3: Interrupt control unit 3a: Trap flag (TF) for controlling enable / disable of interrupt 4: Various resource information 5: Data collection unit (resource information collection unit) 5a: Selector / data Collection unit (resource information collection unit) 6: Resource information dedicated register (resource information storage unit) 7: Resource information dedicated stack register (resource information storage unit) 8: Event counter 9: Main memory 10: Cache 20: Computer system 21: Main body with built-in CPU, disk drive, etc. 22: Display 23: Display screen 24: Keyboard 25: Mouse 26: External database (line destination memory such as DASD) 27: Modem 28: CD-ROM or floppy disk Portable recording media such as

───────────────────────────────────────────────────── フロントページの続き (72)発明者 平井 聡 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 佐藤 充 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 (72)発明者 成瀬 彰 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Satoshi Hirai 4-1-1, Uedanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture Inside Fujitsu Limited (72) Inventor Mitsuru Sato 4-1-1, Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture No. 1 Inside Fujitsu Limited (72) Inventor Akira Naruse 4-1-1 Kamikodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Inside Fujitsu Limited

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 情報処理に関連の資源情報を獲得する資
源情報収集装置において、 資源情報採取用の指示信号を出力する採取指示手段と、 この指示信号に基づいて前記資源情報を採取するハード
ウェア態様の資源情報採取手段と、 採取した資源情報を格納する資源情報格納手段とを備
え、 ソフトウェアの動作により、この資源情報格納手段から
前記資源情報を読み出すようにしたことを特徴とする資
源情報収集装置。
1. A resource information collecting apparatus for obtaining resource information related to information processing, a collecting instruction means for outputting a resource information collecting instruction signal, and a hardware for collecting the resource information based on the instruction signal. Resource information collecting means, comprising: resource information collecting means for storing the collected resource information; and reading the resource information from the resource information storing means by operation of software. apparatus.
【請求項2】 前記採取指示手段は、割込みを契機とし
て前記指示信号を出力し、かつ、ソフトウェアが当該割
込みの有効/無効を設定することを特徴とする請求項1
記載の資源情報収集装置。
2. The method according to claim 1, wherein said sampling instructing means outputs said instruction signal in response to an interrupt, and software sets validity / invalidity of said interrupt.
Resource information collection device as described.
【請求項3】 前記資源情報採取手段は、採取対象の資
源情報種別を選択する機能を備え、かつ、ソフトウェア
が当該資源情報種別を設定することを特徴とする請求項
1または2記載の資源情報収集装置。
3. The resource information collection device according to claim 1, wherein the resource information collection unit has a function of selecting a resource information type to be collected, and software sets the resource information type. Collection device.
【請求項4】 前記資源情報格納手段は、対象イベント
の直接的な発生元となる資源情報を示す付加情報を併せ
て格納することを特徴とする請求項1乃至3記載の資源
情報収集装置。
4. The resource information collection device according to claim 1, wherein said resource information storage means additionally stores additional information indicating resource information which is a direct source of the target event.
【請求項5】 情報処理に関連の資源情報を獲得するた
めのプログラムを記憶したコンピュータ読み取り可能な
記録媒体において、 当該プログラムが、資源情報採取用の指示信号に基づい
てハードウェア態様の手段で採取された前記資源情報を
その格納手段から読み出す機能を、コンピュータに実現
させるためのものである、ことを特徴とする資源情報収
集用プログラム記録媒体。
5. A computer-readable recording medium storing a program for acquiring resource information related to information processing, wherein the program is collected by hardware means based on an instruction signal for collecting resource information. A resource information collection program recording medium for causing a computer to realize a function of reading the obtained resource information from its storage means.
【請求項6】 情報処理に関連の資源情報を獲得するた
めのプログラムにおいて、 当該プログラムが、資源情報採取用の指示信号に基づい
てハードウェア態様の手段で採取された前記資源情報を
その格納手段から読み出す機能を、コンピュータに実現
させるためのものである、ことを特徴とする資源情報収
集用プログラム。
6. A program for acquiring resource information related to information processing, said program storing said resource information collected by means of hardware mode based on an instruction signal for collecting resource information. A resource information collection program for causing a computer to realize a function of reading from a resource.
JP2001011805A 2000-01-21 2001-01-19 Source information collecting device, recording medium of program for source information collection and program for source information collection Pending JP2001273173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001011805A JP2001273173A (en) 2000-01-21 2001-01-19 Source information collecting device, recording medium of program for source information collection and program for source information collection

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2000-13124 2000-01-21
JP2000013124 2000-01-21
JP2001011805A JP2001273173A (en) 2000-01-21 2001-01-19 Source information collecting device, recording medium of program for source information collection and program for source information collection

Publications (1)

Publication Number Publication Date
JP2001273173A true JP2001273173A (en) 2001-10-05

Family

ID=26583933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001011805A Pending JP2001273173A (en) 2000-01-21 2001-01-19 Source information collecting device, recording medium of program for source information collection and program for source information collection

Country Status (1)

Country Link
JP (1) JP2001273173A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007524274A (en) * 2003-06-24 2007-08-23 メンター グラフィックス コーポレーション Data compaction and pin assignment
JP2009059005A (en) * 2007-08-29 2009-03-19 Panasonic Corp Debugging system, debugging device, and method
JP2011204275A (en) * 2006-03-29 2011-10-13 Hitachi Ltd Method and apparatus for simulating microcomputer-based system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007524274A (en) * 2003-06-24 2007-08-23 メンター グラフィックス コーポレーション Data compaction and pin assignment
JP2011204275A (en) * 2006-03-29 2011-10-13 Hitachi Ltd Method and apparatus for simulating microcomputer-based system
US8700379B2 (en) 2006-03-29 2014-04-15 Hitachi, Ltd Method and apparatus for simulating microcomputer-based systems
JP2009059005A (en) * 2007-08-29 2009-03-19 Panasonic Corp Debugging system, debugging device, and method

Similar Documents

Publication Publication Date Title
US8615619B2 (en) Qualifying collection of performance monitoring events by types of interrupt when interrupt occurs
JP4749745B2 (en) Method and apparatus for autonomous test case feedback using hardware assistance for code coverage
US7197586B2 (en) Method and system for recording events of an interrupt using pre-interrupt handler and post-interrupt handler
US5937437A (en) Method and apparatus for monitoring address translation performance
US7620777B2 (en) Method and apparatus for prefetching data from a data structure
US7299319B2 (en) Method and apparatus for providing hardware assistance for code coverage
US8171457B2 (en) Autonomic test case feedback using hardware assistance for data coverage
US5615357A (en) System and method for verifying processor performance
US7814466B2 (en) Method and apparatus for graphically marking instructions for instrumentation with hardware assistance
US20070261033A1 (en) Method and apparatus for selectively marking and executing instrumentation code
US20070260849A1 (en) Method and apparatus for executing instrumentation code using a target processor
US20060242389A1 (en) Job level control of simultaneous multi-threading functionality in a processor
US20050091645A1 (en) Adaptive instrumentation runtime monitoring and analysis
EP2825963B1 (en) Run-time instrumentation reporting
US7082486B2 (en) Method and apparatus for counting interrupts by type
US20070261032A1 (en) Method and apparatus for hardware assisted profiling of code
US7296130B2 (en) Method and apparatus for providing hardware assistance for data access coverage on dynamically allocated data
US5862371A (en) Method and system for instruction trace reconstruction utilizing performance monitor outputs and bus monitoring
US20030005423A1 (en) Hardware assisted dynamic optimization of program execution
US7865703B2 (en) Method and apparatus for executing instrumentation code within alternative processor resources
US8135915B2 (en) Method and apparatus for hardware assistance for prefetching a pointer to a data structure identified by a prefetch indicator
US7783866B2 (en) Method and apparatus for executing instrumentation code using processor instructions
JP2001273173A (en) Source information collecting device, recording medium of program for source information collection and program for source information collection
US20050210450A1 (en) Method and appartus for hardware assistance for data access coverage
US20030004974A1 (en) Configurable system monitoring for dynamic optimization of program execution

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040326

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070529

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071009