JP4842889B2 - 演算処理可視化プログラム、演算処理可視化装置および演算処理可視化方法 - Google Patents
演算処理可視化プログラム、演算処理可視化装置および演算処理可視化方法 Download PDFInfo
- Publication number
- JP4842889B2 JP4842889B2 JP2007165823A JP2007165823A JP4842889B2 JP 4842889 B2 JP4842889 B2 JP 4842889B2 JP 2007165823 A JP2007165823 A JP 2007165823A JP 2007165823 A JP2007165823 A JP 2007165823A JP 4842889 B2 JP4842889 B2 JP 4842889B2
- Authority
- JP
- Japan
- Prior art keywords
- loop
- processing
- pipeline
- visualization
- information
- 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.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims description 273
- 238000012800 visualization Methods 0.000 title claims description 93
- 238000007794 visualization technique Methods 0.000 title claims description 18
- 238000000034 method Methods 0.000 claims description 79
- 230000006870 function Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 2
- 238000004088 simulation Methods 0.000 description 39
- 238000010586 diagram Methods 0.000 description 26
- 238000013461 design Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 238000011156 evaluation Methods 0.000 description 4
- 230000000875 corresponding effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3802—Instruction prefetching
- G06F9/3808—Instruction prefetching for instruction reuse, e.g. trace cache, branch target cache
- G06F9/381—Loop buffering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/32—Address formation of the next instruction, e.g. by incrementing the instruction counter
- G06F9/322—Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address
- G06F9/325—Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address for loops, e.g. loop detection or loop counter
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Advance Control (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Description
図1は、本実施の形態の概要を示す図である。図1に示すコンピュータ10は、演算装置におけるパイプライン処理の実行状況を可視化するものである。コンピュータ10は、ループ情報記憶手段11、動作情報記憶手段12、ループ判定手段13および出力手段14を有する。
以下、本実施の形態を図面を参照して詳細に説明する。本実施の形態は、演算装置におけるパイプライン処理のシミュレーションを行う1つのシミュレーション装置で構成される。本実施の形態に係るシミュレーション装置は、例えば、コンピュータに所定のシミュレーションプログラムを実行させることで実現することができる。
次に、シミュレーション装置100のモジュール構成について説明する。
図8は、可視化処理の手順を示すフローチャートである。以下、図8に示す処理をステップ番号に沿って説明する。
[ステップS16]可視化部170は、ステップS11で選択した動作情報を、新規のループに属する動作情報として一時的に保持する。そして、可視化部170は、ループフラグをON(ループ内)に設定する。
[ステップS22]可視化部170は、ステップS11で全ての動作情報を選択したか否か判断する。全ての動作情報を選択した場合には、処理が終了する。未選択の動作情報が存在する場合には、処理がステップS11に進められる。
図11は、パイプライン動作画面の表示例を示す第2の図である。図11に示すパイプライン動作画面21bは、パイプライン動作画面21aに対して操作入力が行われたときに、可視化部170によってモニタ21に表示される画面である。図11に示す通り、パイプライン動作画面21bでは、全てのパイプライン処理の実行状況が表示される。ここで、利用者は、パイプライン動作画面21bの左側に表示されている三角形を操作することで、パイプライン動作画面21aの表示に戻すことが可能である。すなわち、利用者は、必要に応じて、ループ処理部分の表示方法を切り換えることができる。
コンピュータを、
被験プログラムに含まれる命令のうちループ処理の対象となる命令のアドレスを特定するループ定義情報を記憶するループ情報記憶手段、
前記被験プログラムの実行によりパイプラインに投入された命令のアドレスと当該命令に対するパイプライン処理の実行状況を示す情報とを含む動作情報を記憶する動作情報記憶手段、
前記ループ情報記憶手段に記憶された前記ループ定義情報を参照して、前記動作情報記憶手段に記憶された前記動作情報で示される各パイプライン処理がループ処理を構成するか否か判定するループ判定手段、
前記ループ判定手段によりループ処理を構成すると判定されたパイプライン処理のうち所定のループ回数分のパイプライン処理の実行状況と、ループ処理を構成しないと判定されたパイプライン処理の実行状況とを視覚的に表した可視化情報を出力する出力手段、
として機能させることを特徴とする演算処理可視化プログラム。
被験プログラムに含まれる命令のうちループ処理の対象となる命令のアドレスを特定するループ定義情報を記憶するループ情報記憶手段と、
前記被験プログラムの実行によりパイプラインに投入された命令のアドレスと当該命令に対するパイプライン処理の実行状況を示す情報とを含む動作情報を記憶する動作情報記憶手段と、
前記ループ情報記憶手段に記憶された前記ループ定義情報を参照して、前記動作情報記憶手段に記憶された前記動作情報で示される各パイプライン処理がループ処理を構成するか否か判定するループ判定手段と、
前記ループ判定手段によりループ処理を構成すると判定されたパイプライン処理のうち所定のループ回数分のパイプライン処理の実行状況と、ループ処理を構成しないと判定されたパイプライン処理の実行状況とを視覚的に表した可視化情報を出力する出力手段と、
を有することを特徴とする演算処理可視化装置。
(付記10) 前記出力手段は、前記ループ判定手段の判定結果に基づいてループ処理で行われたループの回数を計数し、計数したループ回数を示す情報を前記可視化情報に含めて出力することを特徴とする付記7記載の演算処理可視化装置。
ループ判定手段が、被験プログラムの実行によりパイプラインに投入された命令のアドレスと当該命令に対するパイプライン処理の実行状況を示す情報とを含む動作情報を動作情報記憶手段から取得し、前記被験プログラムに含まれる命令のうちループ処理の対象となる命令のアドレスを特定するループ情報記憶手段に記憶されたループ定義情報を参照して、前記動作情報で示される各パイプライン処理がループ処理を構成するか否か判定し、
出力手段が、前記ループ判定手段によりループ処理を構成すると判定されたパイプライン処理のうち所定のループ回数分のパイプライン処理の実行状況と、ループ処理を構成しないと判定されたパイプライン処理の実行状況とを視覚的に表した可視化情報を出力する、
ことを特徴とする演算処理可視化方法。
11 ループ情報記憶手段
11a ループ定義情報
12 動作情報記憶手段
12a 動作情報
13 ループ判定手段
14 出力手段
14a 可視化情報
Claims (5)
- 演算装置におけるパイプライン処理の実行状況を可視化する演算処理可視化プログラムにおいて、
コンピュータを、
被験プログラムに含まれる命令のうちループ処理の対象となる命令のアドレスを特定するループ定義情報を記憶するループ情報記憶手段、
前記被験プログラムの実行によりパイプラインに投入された命令のアドレスと当該命令に対するパイプライン処理の実行状況を示す情報とを含む動作情報を記憶する動作情報記憶手段、
前記ループ情報記憶手段に記憶された前記ループ定義情報を参照して、前記動作情報記憶手段に記憶された前記動作情報で示される各パイプライン処理がループ処理を構成するか否か判定するループ判定手段、
前記ループ判定手段によりループ処理を構成すると判定されたパイプライン処理のうち所定のループ回数分のパイプライン処理の実行状況と、ループ処理を構成しないと判定されたパイプライン処理の実行状況とを視覚的に表した可視化情報を出力する出力手段、
として機能させることを特徴とする演算処理可視化プログラム。 - 前記出力手段が出力する前記可視化情報は、パイプラインの各ステージの状態をクロック時間と対応付けて表したものであることを特徴とする請求項1記載の演算処理可視化プログラム。
- 前記出力手段は、前記可視化情報を出力した後にループ部分の展開指示があると、ループ処理を構成すると判定された全ループ回数分のパイプライン処理の実行状況を表した他の可視化情報を出力することを特徴とする請求項1記載の演算処理可視化プログラム。
- 演算装置におけるパイプライン処理の実行状況を可視化する演算処理可視化装置において、
被験プログラムに含まれる命令のうちループ処理の対象となる命令のアドレスを特定するループ定義情報を記憶するループ情報記憶手段と、
前記被験プログラムの実行によりパイプラインに投入された命令のアドレスと当該命令に対するパイプライン処理の実行状況を示す情報とを含む動作情報を記憶する動作情報記憶手段と、
前記ループ情報記憶手段に記憶された前記ループ定義情報を参照して、前記動作情報記憶手段に記憶された前記動作情報で示される各パイプライン処理がループ処理を構成するか否か判定するループ判定手段と、
前記ループ判定手段によりループ処理を構成すると判定されたパイプライン処理のうち所定のループ回数分のパイプライン処理の実行状況と、ループ処理を構成しないと判定されたパイプライン処理の実行状況とを視覚的に表した可視化情報を出力する出力手段と、
を有することを特徴とする演算処理可視化装置。 - 演算装置におけるパイプライン処理の実行状況を可視化する演算処理可視化方法において、
ループ判定手段が、被験プログラムの実行によりパイプラインに投入された命令のアドレスと当該命令に対するパイプライン処理の実行状況を示す情報とを含む動作情報を動作情報記憶手段から取得し、前記被験プログラムに含まれる命令のうちループ処理の対象となる命令のアドレスを特定するループ情報記憶手段に記憶されたループ定義情報を参照して、前記動作情報で示される各パイプライン処理がループ処理を構成するか否か判定し、
出力手段が、前記ループ判定手段によりループ処理を構成すると判定されたパイプライン処理のうち所定のループ回数分のパイプライン処理の実行状況と、ループ処理を構成しないと判定されたパイプライン処理の実行状況とを視覚的に表した可視化情報を出力する、
ことを特徴とする演算処理可視化方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007165823A JP4842889B2 (ja) | 2007-06-25 | 2007-06-25 | 演算処理可視化プログラム、演算処理可視化装置および演算処理可視化方法 |
US12/142,499 US7917739B2 (en) | 2007-06-25 | 2008-06-19 | Storage medium storing calculation processing visualization program, calculation processing visualization apparatus, and calculation processing visualization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007165823A JP4842889B2 (ja) | 2007-06-25 | 2007-06-25 | 演算処理可視化プログラム、演算処理可視化装置および演算処理可視化方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009003826A JP2009003826A (ja) | 2009-01-08 |
JP4842889B2 true JP4842889B2 (ja) | 2011-12-21 |
Family
ID=40137748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007165823A Active JP4842889B2 (ja) | 2007-06-25 | 2007-06-25 | 演算処理可視化プログラム、演算処理可視化装置および演算処理可視化方法 |
Country Status (2)
Country | Link |
---|---|
US (1) | US7917739B2 (ja) |
JP (1) | JP4842889B2 (ja) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5564028A (en) * | 1994-01-11 | 1996-10-08 | Texas Instruments Incorporated | Pipelined data processing including instruction trace |
JP3535354B2 (ja) | 1997-08-27 | 2004-06-07 | 株式会社東芝 | ストール検出表示装置及び方法 |
US6230313B1 (en) * | 1998-12-23 | 2001-05-08 | Cray Inc. | Parallelism performance analysis based on execution trace information |
US7237234B2 (en) * | 2001-12-13 | 2007-06-26 | Texas Instruments Incorporated | Method for selective solicitation of user assistance in the performance tuning process |
US7987347B2 (en) * | 2006-12-22 | 2011-07-26 | Broadcom Corporation | System and method for implementing a zero overhead loop |
-
2007
- 2007-06-25 JP JP2007165823A patent/JP4842889B2/ja active Active
-
2008
- 2008-06-19 US US12/142,499 patent/US7917739B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US7917739B2 (en) | 2011-03-29 |
JP2009003826A (ja) | 2009-01-08 |
US20080320289A1 (en) | 2008-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11042369B1 (en) | Systems and methods for modernizing and optimizing legacy source code | |
US20120311537A1 (en) | Performance visualization including hierarchical display of performance data | |
US20110016452A1 (en) | Method and system for identifying regression test cases for a software | |
US9785416B2 (en) | Presenting a custom view in an integrated development environment based on a variable selection | |
US20070011664A1 (en) | Device and method for generating an instruction set simulator | |
JP2009129179A (ja) | プログラム並列化支援装置およびプログラム並列化支援方法 | |
TWI617983B (zh) | 代碼覆蓋率處理方法 | |
WO2006022204A1 (ja) | ソースプログラムの分析装置および方法 | |
JP2013109675A (ja) | プログラムの生成を支援する装置及び方法 | |
TWI488120B (zh) | 用於進行除錯式交易的方法及電腦可讀取儲存媒體 | |
JP2013206291A (ja) | プログラム、コード生成方法および情報処理装置 | |
US9292296B2 (en) | Code optimization based on information of readably converted executed instruction groups represented in address file | |
JP5481571B2 (ja) | コードにおける時間計算量およびフローの理解を高める方法 | |
KR101232535B1 (ko) | 가상 태스크를 이용한 멀티-코어의 성능 분석용 관계 모델링 | |
JP2018005546A (ja) | 情報処理装置、プログラム実行状態表示方法およびプログラム実行状態表示プログラム | |
JP5504960B2 (ja) | シミュレーション装置及びシミュレーション方法 | |
US9405664B2 (en) | Automating software testing | |
JP3274036B2 (ja) | プロセッサの動作モデルと論理検証用試験命令列の自動生成方法及び装置 | |
WO2012137083A1 (en) | Method, system and computer product for generating task flows for application | |
JP4842889B2 (ja) | 演算処理可視化プログラム、演算処理可視化装置および演算処理可視化方法 | |
US10579761B1 (en) | Method and system for reconstructing a graph presentation of a previously executed verification test | |
JP2009245177A (ja) | フィーチャーモデル作成支援装置及びプログラム | |
JP2008117067A (ja) | アプリケーションプログラムを生成するための装置、方法、及びプログラム | |
JPWO2017204139A1 (ja) | データ処理装置、データ処理方法、およびプログラム記録媒体 | |
JP5319643B2 (ja) | ソフトウェアプロダクトライン開発支援装置およびその方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091216 |
|
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: 20111004 |
|
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: 20111006 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4842889 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: 20141014 Year of fee payment: 3 |