JP2007304765A - プロセッサシステム及びプロセッサシステムの性能測定方法 - Google Patents
プロセッサシステム及びプロセッサシステムの性能測定方法 Download PDFInfo
- Publication number
- JP2007304765A JP2007304765A JP2006131246A JP2006131246A JP2007304765A JP 2007304765 A JP2007304765 A JP 2007304765A JP 2006131246 A JP2006131246 A JP 2006131246A JP 2006131246 A JP2006131246 A JP 2006131246A JP 2007304765 A JP2007304765 A JP 2007304765A
- Authority
- JP
- Japan
- Prior art keywords
- task
- processor
- executed
- evaluation
- storage unit
- 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
- 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)
Abstract
【解決手段】プロセッサシステム1は、複数のタスクを切り替えて実行するCPU10、CPU10で実行されるタスクを識別するためのタスクIDを格納するタスクID格納部12、タスクIDの少なくとも一部の領域と比較される評価IDを格納する評価ID格納部14、CPU10で実行されるタスクの性能測定値を計測するカウンタ16、及び、タスクID格納部12に格納されたタスクIDと、評価ID格納部14された評価IDとを照合し、照合結果に応じてカウンタ16を動作させるマッチング部15とを備える。
【選択図】図1
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 (13)
- 複数のタスクを切り替えて実行するプロセッサと、
前記プロセッサで実行されるタスクを識別するためのタスクIDを格納するタスクID格納部と、
前記タスクIDの少なくとも一部の領域と比較される評価IDを格納する評価ID格納部と、
前記プロセッサで実行されるタスクの性能測定値を計測するカウンタと、
前記タスクID格納部に格納されたタスクIDと、前記評価ID格納部された評価IDとを照合し、照合結果に応じて前記カウンタを動作させるマッチング部と、
を備えるプロセッサシステム。 - 前記評価IDの値は可変である請求項1に記載のプロセッサシステム。
- 前記タスクIDには、タスクが属するタスクグループを示すタスクグループ識別領域が設けられ、
前記マッチング部は、前記タスクグループ識別領域と前記評価IDとを照合する請求項1に記載のプロセッサシステム。 - 前記評価IDは、性能測定の対象とするタスクのタスクグループを指定するマッチング識別子と、前記タスクIDのうちの前記タスクグループ識別領域を指定するマスク値とを含む請求項3に記載のプロセッサシステム。
- 前記タスクグループ識別領域の値は、前記プロセッサで実行されるタスクの呼び出し元タスクに応じて決定される請求項3に記載のプロセッサシステム。
- 前記タスクIDには、タスクが使用するリソースを指定するリソース識別領域が設けられており、
前記マッチング部は、前記リソース識別領域と前記評価IDとを照合する請求項1に記載のプロセッサシステム。 - 複数のタスクを切り替えて実行するプロセッサと、
前記プロセッサで実行されるタスクを識別するタスクIDを格納するタスクID格納部と、
前記プロセッサで実行されるタスクの性能測定を行う性能測定部とを備え、
前記タスクIDには、タスクが属するタスクグループを示すタスクグループ識別領域が設けられており、
前記性能測定部は、
前記タスクID格納部に格納されたタスクIDのタスクグループ識別領域を参照することにより、前記プロセッサで実行されるタスクが性能測定の対象となるタスクグループに属するタスクか否かを判定し、
前記プロセッサで実行されるタスクが性能測定の対象である場合に、当該タスクに対する性能測定を行うプロセッサシステム。 - 前記タスクグループ識別領域によって、前記プロセッサで実行されるタスクが使用するリソースが指定される請求項7に記載のプロセッサシステム。
- 前記タスクグループ識別領域の値は、前記プロセッサで実行されるタスクの呼び出し元タスクに応じて決定される請求項7に記載のプロセッサシステム。
- 前記性能測定部は、
前記タスクIDの少なくとも一部の領域と比較される評価IDを格納する評価ID格納部と、
前記プロセッサで実行されるタスクの性能測定値を計測するカウンタと、
前記タスクID格納部に格納されたタスクIDと、前記評価ID格納部に格納された評価IDとを比較し、比較結果に応じて前記カウンタを動作させるマッチング部と、
を備える請求項7に記載のプロセッサシステム。 - プロセッサ、前記プロセッサで実行されるタスクを識別するタスクIDを格納するタスクID格納部、及び前記プロセッサで実行されるタスクの性能測定値を計測するカウンタを有するプロセッサシステムにおける性能測定方法であって、
前記タスクIDには、タスクが属するタスクグループを示すタスクグループ識別領域が設けられており、
前記プロセッサで実行されるタスクの切り替えに応じて、前記プロセッサにおいて新たに実行されるタスクのタスクIDを前記タスクID格納部に格納し、
前記タスクID格納部に格納されたタスクIDのタスクグループ識別領域を参照することにより、前記プロセッサで実行されるタスクが性能測定の対象となるタスクグループに属するタスクか否かを判定し、
前記プロセッサで実行されるタスクが性能測定の対象である場合に、当該タスクの性能測定値を前記カウンタに計測させる、性能測定方法。 - 前記タスクグループ識別領域によって、前記プロセッサで実行されるタスクが使用するリソースが指定される請求項11に記載の方法。
- 前記前記タスクID格納部に格納するタスクID値を、前記プロセッサで実行されるタスクの呼び出し元タスクに応じて決定する請求項11に記載の方法。
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 true JP2007304765A (ja) | 2007-11-22 |
JP4971679B2 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009140130A (ja) * | 2007-12-05 | 2009-06-25 | Nec Electronics Corp | データ処理装置及びデータ処理装置の制御方法 |
JP2010003057A (ja) * | 2008-06-19 | 2010-01-07 | Fujitsu Microelectronics Ltd | プロセッサ、性能プロファイリング装置、性能プロファイリングプログラムおよび性能プロファイリング方法 |
JP2010160716A (ja) * | 2009-01-09 | 2010-07-22 | Toyota Motor Corp | 検証装置 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2008299667B2 (en) * | 2007-09-12 | 2013-05-02 | Bae Systems Plc | Urgency based scheduling |
JP2010244393A (ja) * | 2009-04-08 | 2010-10-28 | Renesas Electronics Corp | パフォーマンス評価装置、及びパフォーマンス評価方法 |
US9733644B2 (en) | 2012-07-17 | 2017-08-15 | Elwha Llc | Unmanned device interaction methods and systems |
US20140025233A1 (en) | 2012-07-17 | 2014-01-23 | Elwha Llc | Unmanned device utilization methods and systems |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0244457A (ja) * | 1988-08-05 | 1990-02-14 | Mitsubishi Electric Corp | プログラマブル制御装置 |
JPH03164966A (ja) * | 1989-11-24 | 1991-07-16 | Nec Software Ltd | 情報処理システム |
JP2005216078A (ja) * | 2004-01-30 | 2005-08-11 | Nec Corp | 計算機システム性能測定分析用のトランザクションプロファイルの生成システム、その生成方法及びプログラム |
JP2006092029A (ja) * | 2004-09-21 | 2006-04-06 | Fujitsu Ltd | マイクロコンピュータ及びトレース制御方法 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
-
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
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0244457A (ja) * | 1988-08-05 | 1990-02-14 | Mitsubishi Electric Corp | プログラマブル制御装置 |
JPH03164966A (ja) * | 1989-11-24 | 1991-07-16 | Nec Software Ltd | 情報処理システム |
JP2005216078A (ja) * | 2004-01-30 | 2005-08-11 | Nec Corp | 計算機システム性能測定分析用のトランザクションプロファイルの生成システム、その生成方法及びプログラム |
JP2006092029A (ja) * | 2004-09-21 | 2006-04-06 | Fujitsu Ltd | マイクロコンピュータ及びトレース制御方法 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009140130A (ja) * | 2007-12-05 | 2009-06-25 | Nec Electronics Corp | データ処理装置及びデータ処理装置の制御方法 |
US8938742B2 (en) | 2007-12-05 | 2015-01-20 | Renesa Electronics Corporation | Processing system for switching between execution of a normal task and a management task |
US9223573B2 (en) | 2007-12-05 | 2015-12-29 | Renesas Electronics Corporation | Data processing device and method of controlling the same |
JP2010003057A (ja) * | 2008-06-19 | 2010-01-07 | Fujitsu Microelectronics Ltd | プロセッサ、性能プロファイリング装置、性能プロファイリングプログラムおよび性能プロファイリング方法 |
JP2010160716A (ja) * | 2009-01-09 | 2010-07-22 | Toyota Motor Corp | 検証装置 |
Also Published As
Publication number | Publication date |
---|---|
US20070277178A1 (en) | 2007-11-29 |
JP4971679B2 (ja) | 2012-07-11 |
US7996658B2 (en) | 2011-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4971679B2 (ja) | プロセッサシステム及びプロセッサシステムの性能測定方法 | |
CN111309372A (zh) | 定时任务执行方法、装置、计算机设备和存储介质 | |
US9043806B2 (en) | Information processing device and task switching method | |
CN114510339B (zh) | 一种计算任务调度方法、装置、电子设备及可读存储介质 | |
JP4905974B2 (ja) | プログラムプロファイリング装置、プログラムプロファイリング方法、及びプログラム | |
US11288164B2 (en) | Dynamic distributed tracing instrumentation in a microservice architecture | |
JP2017531852A (ja) | リソースリーク検出の方法、装置及びシステム | |
US20100095305A1 (en) | Simultaneous multithread instruction completion controller | |
US10967813B2 (en) | Vehicle control device | |
JP2006164185A (ja) | デバッグ装置 | |
WO2020073200A1 (zh) | 调试程序的方法和系统 | |
CN111045730A (zh) | 一种用于risc-v架构的硬件快速中断处理系统及其方法 | |
CN105912394B (zh) | 线程处理方法和系统 | |
CN110659125A (zh) | 一种分析任务执行方法、装置、系统及电子设备 | |
US9058207B2 (en) | Simulation apparatus, method, and computer-readable recording medium | |
JP6666216B2 (ja) | 電子制御装置、解析システム | |
JP2018163656A (ja) | 追跡データ表現 | |
JP2005215816A (ja) | ハードウェアモニタを用いた性能プロファイリング方法 | |
US8468394B2 (en) | Method of tracing selected activities within a data processing system by tagging selected items and tracing the tagged items | |
CN111090575B (zh) | 测试方法 | |
CN112860529A (zh) | 通用分析装置与方法 | |
CN109002322B (zh) | 用于执行部件模块级验证的寄存器分配与释放方法及部件 | |
US20220156074A1 (en) | Electronic device and multiplexing method of spatial | |
EP2284708B1 (en) | Microprogammable device code tracing | |
US20200409753A1 (en) | External exception handling |
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 |