JP4971679B2 - プロセッサシステム及びプロセッサシステムの性能測定方法 - Google Patents
プロセッサシステム及びプロセッサシステムの性能測定方法 Download PDFInfo
- Publication number
- JP4971679B2 JP4971679B2 JP2006131246A JP2006131246A JP4971679B2 JP 4971679 B2 JP4971679 B2 JP 4971679B2 JP 2006131246 A JP2006131246 A JP 2006131246A JP 2006131246 A JP2006131246 A JP 2006131246A JP 4971679 B2 JP4971679 B2 JP 4971679B2
- Authority
- JP
- Japan
- Prior art keywords
- task
- processor
- storage unit
- performance measurement
- processor system
- 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
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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Description
本実施の形態にかかるプロセッサシステム1の構成を図1に示す。図1において、CPU(Central Processing Unit)10は、メモリ11に格納されたシステムプログラム111及びユーザプログラム112を実行する演算処理部である。
本実施の形態にかかるプロセッサシステム2の構成を図6に示す。プロセッサシステム2は、TID格納部12に格納するTID値を動的に決定することが可能なシステムプログラム211を備える点がプロセッサシステム1と相違する。なお、CPU10、メモリ11、TID格納部12、及び性能測定部13は、上述したプロセッサシステム1が有するものと同一であるため、詳細な説明を省略する。
上述した発明の実施の形態1及び2では、プロセッサシステム1及び2が1つの性能測定部13を備えるものとして説明した。しかしながら、プロセッサシステム1及び2は、複数の性能測定部13を備えることとしても良い。また、性能測定部13で計測される性能情報はタスクの実行時間に限られない。例えば、タスク実行中に発生したメモリアクセス回数、特定の命令の発生回数などを計測することとしてもよい。つまり、性能測定部13は、あるイベントの発生回数を、カウンタ16を用いて計測するものであって、計測対象とするイベントは、タスク実行クロック数、メモリアクセス回数などプロセッサシステム内での様々なイベントを対象とすることが可能である。
10 CPU(Central Processing Unit)
11 メモリ
12 TID格納部
13 性能測定部
14 評価ID格納部
15 マッチング部
16 カウンタ
111、211 システムプログラム
112 ユーザプログラム
113 デバッガプログラム
141 PMID格納部
142 PMEN格納部
151、152 評価範囲選択回路
153 比較回路
Claims (8)
- 複数のタスクを切り替えて実行するプロセッサと、
前記プロセッサで実行されるタスクの切り替えに応じて、前記プロセッサにおいて新たに実行される第1のタスクを識別するためのタスクIDを格納するタスクID格納部と、ここで、前記タスクIDの一部には、前記第1のタスクが属するタスクグループを示すタスクグループ識別領域が設けられており、
前記第1のタスクの性能測定値を計測するカウンタと、
前記タスクID格納部に格納された前記タスクIDに含まれる前記タスクグループ識別領域が特定の評価IDと一致する場合に、前記第1のタスクの性能測定値を前記カウンタに計測させるマッチング部と、
を備えるプロセッサシステム。 - 前記評価IDの値は可変である請求項1に記載のプロセッサシステム。
- 性能測定の対象とされるタスクグループを指定する値が前記タスクグループ識別領域に対応する領域に設定されたマッチング識別子を格納する第1の格納部と、
前記タスクIDのうちの前記タスクグループ識別領域、及び前記マッチング識別子のうちの前記タスクグループ識別領域に対応する領域を指定するマスク値を格納する第2の格納部と、
前記マッチング識別子及び前記マスク値から前記評価IDを生成する評価範囲選択部と、
をさらに備える請求項1に記載のプロセッサシステム。 - 前記タスクグループ識別領域の値は、前記第1のタスクの呼び出し元タスクに応じて決定される請求項1〜3のいずれか1項に記載のプロセッサシステム。
- 前記タスクグループ識別領域は、タスクが使用するリソースを指定するリソース識別領域である請求項1〜3のいずれか1項に記載のプロセッサシステム。
- プロセッサ、前記プロセッサで実行されるタスクを識別するタスクIDを格納するタスクID格納部、及び前記プロセッサで実行されるタスクの性能測定値を計測するカウンタを有するプロセッサシステムにおける性能測定方法であって、
前記タスクIDの一部には、タスクが属するタスクグループを示すタスクグループ識別領域が設けられており、
前記プロセッサで実行されるタスクの切り替えに応じて、前記プロセッサにおいて新たに実行される第1のタスクのタスクIDを前記タスクID格納部に格納し、
前記タスクID格納部に格納された前記タスクIDの前記タスクグループ識別領域が特定の評価IDと一致するかを判定し、
前記タスクグループ識別領域が前記評価IDと一致する場合に、前記第1のタスクの性能測定値を前記カウンタに計測させる、性能測定方法。 - 前記タスクグループ識別領域によって、前記第1のタスクが使用するリソースが指定される請求項6に記載の方法。
- 前記タスクID格納部に格納するタスクID値を、前記第1のタスクの呼び出し元タスクに応じて決定する請求項6又は7に記載の方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006131246A JP4971679B2 (ja) | 2006-05-10 | 2006-05-10 | プロセッサシステム及びプロセッサシステムの性能測定方法 |
US11/737,039 US7996658B2 (en) | 2006-05-10 | 2007-04-18 | Processor system and method for monitoring performance of a selected task among a plurality of tasks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006131246A JP4971679B2 (ja) | 2006-05-10 | 2006-05-10 | プロセッサシステム及びプロセッサシステムの性能測定方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007304765A JP2007304765A (ja) | 2007-11-22 |
JP4971679B2 true JP4971679B2 (ja) | 2012-07-11 |
Family
ID=38750945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006131246A Active JP4971679B2 (ja) | 2006-05-10 | 2006-05-10 | プロセッサシステム及びプロセッサシステムの性能測定方法 |
Country Status (2)
Country | Link |
---|---|
US (1) | US7996658B2 (ja) |
JP (1) | JP4971679B2 (ja) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2008299667B2 (en) * | 2007-09-12 | 2013-05-02 | Bae Systems Plc | Urgency based scheduling |
JP2009140130A (ja) | 2007-12-05 | 2009-06-25 | Nec Electronics Corp | データ処理装置及びデータ処理装置の制御方法 |
JP5326374B2 (ja) * | 2008-06-19 | 2013-10-30 | 富士通セミコンダクター株式会社 | プロセッサ、性能プロファイリング装置、性能プロファイリングプログラムおよび性能プロファイリング方法 |
JP2010160716A (ja) * | 2009-01-09 | 2010-07-22 | Toyota Motor Corp | 検証装置 |
JP2010244393A (ja) * | 2009-04-08 | 2010-10-28 | Renesas Electronics Corp | パフォーマンス評価装置、及びパフォーマンス評価方法 |
US9044543B2 (en) | 2012-07-17 | 2015-06-02 | Elwha Llc | Unmanned device utilization methods and systems |
US9061102B2 (en) | 2012-07-17 | 2015-06-23 | Elwha Llc | Unmanned device interaction methods and systems |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2663540B2 (ja) * | 1988-08-05 | 1997-10-15 | 三菱電機株式会社 | プログラマブル制御装置 |
JPH03164966A (ja) * | 1989-11-24 | 1991-07-16 | Nec Software Ltd | 情報処理システム |
JPH05151004A (ja) | 1991-11-30 | 1993-06-18 | Nec Corp | タスクのcpu占有時間測定方法 |
US5657253A (en) * | 1992-05-15 | 1997-08-12 | Intel Corporation | Apparatus for monitoring the performance of a microprocessor |
US5835705A (en) * | 1997-03-11 | 1998-11-10 | International Business Machines Corporation | Method and system for performance per-thread monitoring in a multithreaded processor |
US6098169A (en) * | 1997-12-23 | 2000-08-01 | Intel Corporation | Thread performance analysis by monitoring processor performance event registers at thread switch |
US7448025B2 (en) * | 2000-12-29 | 2008-11-04 | Intel Corporation | Qualification of event detection by thread ID and thread privilege level |
JP3937341B2 (ja) * | 2004-01-30 | 2007-06-27 | 日本電気株式会社 | 計算機システム性能測定分析用のトランザクションプロファイルの生成システム、その生成方法及びプログラム |
US20050183065A1 (en) * | 2004-02-13 | 2005-08-18 | Wolczko Mario I. | Performance counters in a multi-threaded processor |
US7441242B2 (en) * | 2004-04-22 | 2008-10-21 | International Business Machines Corporation | Monitoring performance of a logically-partitioned computer |
US7401206B2 (en) * | 2004-06-30 | 2008-07-15 | Sun Microsystems, Inc. | Apparatus and method for fine-grained multithreading in a multipipelined processor core |
JP2006092029A (ja) * | 2004-09-21 | 2006-04-06 | Fujitsu Ltd | マイクロコンピュータ及びトレース制御方法 |
-
2006
- 2006-05-10 JP JP2006131246A patent/JP4971679B2/ja active Active
-
2007
- 2007-04-18 US US11/737,039 patent/US7996658B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
US7996658B2 (en) | 2011-08-09 |
JP2007304765A (ja) | 2007-11-22 |
US20070277178A1 (en) | 2007-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4971679B2 (ja) | プロセッサシステム及びプロセッサシステムの性能測定方法 | |
US8141053B2 (en) | Call stack sampling using a virtual machine | |
US20070067778A1 (en) | System and method for communication in a multithread processor | |
CN111309372A (zh) | 定时任务执行方法、装置、计算机设备和存储介质 | |
US9043806B2 (en) | Information processing device and task switching method | |
CN114510339B (zh) | 一种计算任务调度方法、装置、电子设备及可读存储介质 | |
JP4905974B2 (ja) | プログラムプロファイリング装置、プログラムプロファイリング方法、及びプログラム | |
US10967813B2 (en) | Vehicle control device | |
JP2006164185A (ja) | デバッグ装置 | |
WO2020073200A1 (zh) | 调试程序的方法和系统 | |
CN105912394B (zh) | 线程处理方法和系统 | |
CN110659125A (zh) | 一种分析任务执行方法、装置、系统及电子设备 | |
US9058207B2 (en) | Simulation apparatus, method, and computer-readable recording medium | |
JP6666216B2 (ja) | 電子制御装置、解析システム | |
JP2018163656A (ja) | 追跡データ表現 | |
CN112860529B (zh) | 通用分析装置与方法 | |
JP2005215816A (ja) | ハードウェアモニタを用いた性能プロファイリング方法 | |
US8468394B2 (en) | Method of tracing selected activities within a data processing system by tagging selected items and tracing the tagged items | |
US20040268297A1 (en) | Generating a model of software in execution | |
CN111090575B (zh) | 测试方法 | |
CN111796571A (zh) | 设备故障检测方法、装置、计算机设备和存储介质 | |
US20160196140A1 (en) | Data processing device, method of reporting predicate values, and data carrier | |
CN117667223B (zh) | 一种数据冒险解决方法、计算引擎、处理器及电子设备 | |
US11681527B2 (en) | Electronic device and multiplexing method of spatial | |
CN109002322B (zh) | 用于执行部件模块级验证的寄存器分配与释放方法及部件 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090213 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110222 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110406 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111011 |
|
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: 20120327 |
|
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: 20120406 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150413 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4971679 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |