JP2007249534A - 性能解析装置、性能解析方法、性能解析プログラム、および記録媒体 - Google Patents
性能解析装置、性能解析方法、性能解析プログラム、および記録媒体 Download PDFInfo
- Publication number
- JP2007249534A JP2007249534A JP2006071335A JP2006071335A JP2007249534A JP 2007249534 A JP2007249534 A JP 2007249534A JP 2006071335 A JP2006071335 A JP 2006071335A JP 2006071335 A JP2006071335 A JP 2006071335A JP 2007249534 A JP2007249534 A JP 2007249534A
- Authority
- JP
- Japan
- Prior art keywords
- instruction address
- change
- total amount
- performance analysis
- instruction
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3471—Address tracing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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
- G06F11/3466—Performance evaluation by tracing or monitoring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/86—Event-based monitoring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/88—Monitoring involving counting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/885—Monitoring specific for caches
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
【解決手段】性能解析装置300では、設定部301により、ハードウェアカウンタ213に性能モニタリングしたいイベントを設定する。つぎに、検出部302により、タイマ214からの割り込み信号発生時の命令アドレスを検出する。そして、算出部303により、検出命令アドレスにおけるハードウェアカウンタ213の計数値の変化量ΔPを算出し、検出命令アドレスごとに変化量ΔPを累積保持する。つぎに、特定部304により、イベントに対応する命令アドレスを特定して、表示制御部306により変化量総計のグラフを表示画面に表示する。
【選択図】図3
Description
まず、この発明の実施の形態にかかる性能解析装置のハードウェア構成について説明する。図1は、この発明の実施の形態にかかる性能解析装置のハードウェア構成を示すブロック図である。
つぎに、この発明の実施の形態にかかる性能解析装置の機能的構成について説明する。図3は、この発明の実施の形態にかかる性能解析装置の機能的構成を示すブロック図である。図3において、性能解析装置300は、設定部301と、検出部302と、算出部303と、特定部304と、表示部305と、表示制御部306と、から構成されている。
つぎに、この発明の実施の形態にかかる性能解析装置300の性能解析処理手順について説明する。図6は、この発明の実施の形態にかかる性能解析装置300の性能解析処理手順を示すフローチャートである。図6において、まず、設定部301により、ハードウェアカウンタ213に性能モニタリングしたいイベントを設定する(ステップS601)。
202 メモリ
203 性能解析用プロセッサ
211 プロセッサコア
212 キャッシュ
213 ハードウェアカウンタ
214 タイマ
221 解析対象プログラム
222 性能解析プログラム
223 検出命令アドレス/変化量総計対応テーブル
300 性能解析装置
301 設定部
302 検出部
303 算出部
304 特定部
305 表示部
306 表示制御部
Claims (10)
- 解析対象プログラムを実行させるプロセッサ内のハードウェアカウンタにより発生回数が計数されるイベントを設定する設定手段と、
前記解析対象プログラムの実行中において、前記プロセッサから所定時間間隔で発生する割り込み信号の発生時における命令アドレスを検出する検出手段と、
前記設定手段によって設定されたイベントの発生回数を示す前記ハードウェアカウンタの計数値の変化量の総計を、前記検出手段によって検出された命令アドレスごとに算出する算出手段と、
表示画面を有する表示手段と、
前記表示画面を制御して、前記算出手段によって算出された前記命令アドレスごとの変化量の総計を表示する表示制御手段と、
を備えることを特徴とする性能解析装置。 - 前記算出手段によって前記変化量の総計が算出された命令アドレスの中から、前記イベントに対応する命令アドレスを特定する特定手段を備え、
前記表示制御手段は、
前記特定手段によって特定された命令アドレスを、当該命令アドレスの前記変化量の総計に関連付けて表示することを特徴とする請求項1に記載の性能解析装置。 - 前記表示制御手段は、
前記命令アドレスごとの変化量の総計を、前記命令アドレスの命令を含む実行単位に基づいて表示することを特徴とする請求項1または2に記載の性能解析装置。 - 解析対象プログラムを実行させるプロセッサ内のハードウェアカウンタにより発生回数が計数されるイベントを設定する設定工程と、
前記解析対象プログラムの実行中において、前記プロセッサから所定時間間隔で発生する割り込み信号の発生時における命令アドレスを検出する検出工程と、
前記設定工程によって設定されたイベントの発生回数を示す前記ハードウェアカウンタの計数値の変化量の総計を、前記検出工程によって検出された命令アドレスごとに算出する算出工程と、
前記算出工程によって算出された前記命令アドレスごとの変化量の総計を表示画面に表示する表示工程と、
を含んだことを特徴とする性能解析方法。 - 前記算出工程によって前記変化量の総計が算出された命令アドレスの中から、前記イベントに対応する命令アドレスを特定する特定工程を含み、
前記表示工程は、
前記特定工程によって特定された命令アドレスを、当該命令アドレスの前記変化量の総計に関連付けて表示することを特徴とする請求項4に記載の性能解析方法。 - 前記表示工程は、
前記命令アドレスごとの変化量の総計を、前記命令アドレスの命令を含む実行単位に基づいて表示することを特徴とする請求項4または5に記載の性能解析方法。 - 解析対象プログラムを実行させるプロセッサ内のハードウェアカウンタにより発生回数が計数されるイベントを設定させる設定工程と、
前記解析対象プログラムの実行中において、前記プロセッサから所定時間間隔で発生する割り込み信号の発生時における命令アドレスを検出させる検出工程と、
前記設定工程によって設定されたイベントの発生回数を示す前記ハードウェアカウンタの計数値の変化量の総計を、前記検出工程によって検出された命令アドレスごとに算出させる算出工程と、
前記算出工程によって算出された前記命令アドレスごとの変化量の総計を表示画面に表示させる表示工程と、
をコンピュータに実行させることを特徴とする性能解析プログラム。 - 前記算出工程によって前記変化量の総計が算出された命令アドレスの中から、前記イベントに対応する命令アドレスを特定させる特定工程を前記コンピュータに実行させ、
前記表示工程は、
前記特定工程によって特定された命令アドレスを、当該命令アドレスの前記変化量の総計に関連付けて表示させることを特徴とする請求項7に記載の性能解析プログラム。 - 前記表示工程は、
前記命令アドレスごとの変化量の総計を、前記命令アドレスの命令を含む実行単位に基づいて表示させることを特徴とする請求項7または8に記載の性能解析プログラム。 - 請求項7〜9のいずれか一つに記載の性能解析プログラムを記録した前記コンピュータに読み取り可能な記録媒体。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006071335A JP4832125B2 (ja) | 2006-03-15 | 2006-03-15 | 性能解析装置、性能解析方法、性能解析プログラム、および記録媒体 |
US11/524,398 US7660974B2 (en) | 2006-03-15 | 2006-09-21 | Method and apparatus for analyzing performance, and computer product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006071335A JP4832125B2 (ja) | 2006-03-15 | 2006-03-15 | 性能解析装置、性能解析方法、性能解析プログラム、および記録媒体 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007249534A true JP2007249534A (ja) | 2007-09-27 |
JP4832125B2 JP4832125B2 (ja) | 2011-12-07 |
Family
ID=38519323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006071335A Expired - Fee Related JP4832125B2 (ja) | 2006-03-15 | 2006-03-15 | 性能解析装置、性能解析方法、性能解析プログラム、および記録媒体 |
Country Status (2)
Country | Link |
---|---|
US (1) | US7660974B2 (ja) |
JP (1) | JP4832125B2 (ja) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009129301A (ja) * | 2007-11-27 | 2009-06-11 | Nec Electronics Corp | 自己診断回路及び自己診断方法 |
EP2230602A1 (en) | 2009-03-18 | 2010-09-22 | Fujitsu Limited | Processing apparatus and method for acquiring log information |
JP2016224811A (ja) * | 2015-06-02 | 2016-12-28 | 富士通株式会社 | 情報処理装置、実行情報記録プログラムおよび実行情報記録方法 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4832125B2 (ja) * | 2006-03-15 | 2011-12-07 | 富士通セミコンダクター株式会社 | 性能解析装置、性能解析方法、性能解析プログラム、および記録媒体 |
US8136124B2 (en) | 2007-01-18 | 2012-03-13 | Oracle America, Inc. | Method and apparatus for synthesizing hardware counters from performance sampling |
JP5029245B2 (ja) * | 2007-09-20 | 2012-09-19 | 富士通セミコンダクター株式会社 | プロファイリング方法及びプログラム |
GB0912507D0 (en) | 2009-07-17 | 2009-08-26 | Skype Ltd | Reducing processing resources incurred by a user interface |
JP5510543B2 (ja) * | 2010-06-30 | 2014-06-04 | 富士通株式会社 | 情報処理装置の使用量解析方法、情報処理システム及びそのプログラム |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59208661A (ja) * | 1983-05-12 | 1984-11-27 | Hitachi Ltd | 計算機の負荷測定方法 |
JPH03118644A (ja) * | 1989-09-29 | 1991-05-21 | Nippondenso Co Ltd | プログラム実行モニタ |
JPH05241854A (ja) * | 1992-02-04 | 1993-09-21 | Nec Corp | プログラム走行状態モニタ方式 |
JPH0683608A (ja) * | 1992-09-04 | 1994-03-25 | Fujitsu Ltd | プログラム解析支援装置 |
JP2002073379A (ja) * | 2000-08-30 | 2002-03-12 | Toshiba Corp | プログラム性能測定装置および性能測定方法 |
JP2002259166A (ja) * | 2001-03-01 | 2002-09-13 | Nec Corp | 運用レポート作成方式、運用レポート作成方法および運用レポート作成用プログラム |
JP2004318538A (ja) * | 2003-04-17 | 2004-11-11 | Fujitsu Ltd | 性能モニタリング方式 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2777496B2 (ja) * | 1991-02-28 | 1998-07-16 | インターナショナル・ビジネス・マシーンズ・コーポレイション | コンピュータシステムにおいてマルチプロセスをプロファイリングする際の使用方法 |
JPH0535549A (ja) | 1991-07-31 | 1993-02-12 | Toshiba Corp | ソフトウエア負荷解析支援システム |
JPH0934850A (ja) | 1995-07-21 | 1997-02-07 | Hitachi Ltd | 並列計算機における性能データの表示方法 |
US6230313B1 (en) * | 1998-12-23 | 2001-05-08 | Cray Inc. | Parallelism performance analysis based on execution trace information |
US7093108B2 (en) * | 2001-02-01 | 2006-08-15 | Arm Limited | Apparatus and method for efficiently incorporating instruction set information with instruction addresses |
US7093236B2 (en) * | 2001-02-01 | 2006-08-15 | Arm Limited | Tracing out-of-order data |
US7080289B2 (en) * | 2001-10-10 | 2006-07-18 | Arm Limited | Tracing multiple data access instructions |
US7657875B2 (en) * | 2005-04-12 | 2010-02-02 | International Business Machines Corporation | System and method for collecting a plurality of metrics in a single profiling run of computer code |
JP4832125B2 (ja) * | 2006-03-15 | 2011-12-07 | 富士通セミコンダクター株式会社 | 性能解析装置、性能解析方法、性能解析プログラム、および記録媒体 |
-
2006
- 2006-03-15 JP JP2006071335A patent/JP4832125B2/ja not_active Expired - Fee Related
- 2006-09-21 US US11/524,398 patent/US7660974B2/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59208661A (ja) * | 1983-05-12 | 1984-11-27 | Hitachi Ltd | 計算機の負荷測定方法 |
JPH03118644A (ja) * | 1989-09-29 | 1991-05-21 | Nippondenso Co Ltd | プログラム実行モニタ |
JPH05241854A (ja) * | 1992-02-04 | 1993-09-21 | Nec Corp | プログラム走行状態モニタ方式 |
JPH0683608A (ja) * | 1992-09-04 | 1994-03-25 | Fujitsu Ltd | プログラム解析支援装置 |
JP2002073379A (ja) * | 2000-08-30 | 2002-03-12 | Toshiba Corp | プログラム性能測定装置および性能測定方法 |
JP2002259166A (ja) * | 2001-03-01 | 2002-09-13 | Nec Corp | 運用レポート作成方式、運用レポート作成方法および運用レポート作成用プログラム |
JP2004318538A (ja) * | 2003-04-17 | 2004-11-11 | Fujitsu Ltd | 性能モニタリング方式 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009129301A (ja) * | 2007-11-27 | 2009-06-11 | Nec Electronics Corp | 自己診断回路及び自己診断方法 |
EP2230602A1 (en) | 2009-03-18 | 2010-09-22 | Fujitsu Limited | Processing apparatus and method for acquiring log information |
US8731688B2 (en) | 2009-03-18 | 2014-05-20 | Fujitsu Limited | Processing apparatus and method for acquiring log information |
JP2016224811A (ja) * | 2015-06-02 | 2016-12-28 | 富士通株式会社 | 情報処理装置、実行情報記録プログラムおよび実行情報記録方法 |
Also Published As
Publication number | Publication date |
---|---|
JP4832125B2 (ja) | 2011-12-07 |
US7660974B2 (en) | 2010-02-09 |
US20070220237A1 (en) | 2007-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4832125B2 (ja) | 性能解析装置、性能解析方法、性能解析プログラム、および記録媒体 | |
US7239980B2 (en) | Method and apparatus for adaptive tracing with different processor frequencies | |
JP5040136B2 (ja) | チューニング支援装置、チューニング支援プログラム、チューニング支援プログラムを記録したコンピュータ読み取り可能な記録媒体およびチューニング支援方法 | |
US9576382B2 (en) | Method and apparatus for visualizing and interactively manipulating profile data | |
US10127129B2 (en) | Non-invasive time-based profiling tool | |
JP4381436B2 (ja) | シナリオ生成装置およびシナリオ生成プログラム | |
KR20070121649A (ko) | 소프트웨어 프로그램의 성능분석 방법 및 장치 | |
JP2013545380A (ja) | 入力設定の自動調整 | |
JP5749996B2 (ja) | アプリケーション・コードの実行表示用のシステムおよび方法 | |
JP2008077183A (ja) | スクロール制御プログラム、記録媒体、スクロール制御装置およびスクロール制御方法 | |
JP2009075817A (ja) | ログ解析方法、ログ格納装置及びプログラム | |
CN113467877B (zh) | 一种数据显示系统及方法 | |
JP2013182617A (ja) | 同期ズームするためのシステム及び方法 | |
US20190279137A1 (en) | Evaluation of output-producing asset productivity | |
EP2410429A1 (en) | System and method for use in indicating execution of application code | |
JP2007280174A (ja) | 操作履歴記録装置 | |
JP4370274B2 (ja) | 検証支援装置、検証支援方法、および検証支援プログラム | |
JP2009259275A (ja) | シナリオ生成装置およびシナリオ生成プログラム | |
JP2016139244A (ja) | 情報処理装置、情報処理方法、及び、コンピュータ・プログラム | |
JP7452553B2 (ja) | 入力表示システム、補助情報表示方法、及びプログラム | |
JP2006338460A (ja) | 環境測定システムおよび環境測定プログラム | |
JP4055204B2 (ja) | 波形測定装置 | |
JP2011198390A (ja) | スクロール制御プログラム、記録媒体、スクロール制御装置およびスクロール制御方法 | |
JP5489857B2 (ja) | プラントの制御プログラム設計支援装置 | |
JP2008250469A (ja) | プロファイリング支援プログラム、該プログラムを記録した記録媒体、プロファイリングプログラム、該プログラムを記録した記録媒体、プロファイリング方法、およびコンピュータ |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20080730 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081105 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101029 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110705 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110913 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110920 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4832125 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140930 Year of fee payment: 3 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |