target.ProfilingTaskOverhead クラス
名前空間: target
説明
target.ProfilingTaskOverhead
オブジェクトを使用して、タスクをプロファイリングする際のインストルメンテーション オーバーヘッドを取得します。
target.ProfilingTaskOverhead
オブジェクトの作成には関数 target.create
を使用します。
プロパティ
Value
— インストルメンテーション オーバーヘッド
スカラー
タスクをプロファイリングする際のインストルメンテーション オーバーヘッドを指定します。
属性:
GetAccess | public |
SetAccess | public |
データ型: int
Counter
— タイマー
target.Timer オブジェクト
プロセッサのタイマーの詳細を提供するオブジェクト。
属性:
GetAccess | public |
SetAccess | public |
データ型: int
MinimumBenchmarkIterations
— インストルメンテーション オーバーヘッド
100 (既定値) | スカラー
ベンチマーク プログラムが実行する最小の反復回数を指定して、インストルメンテーション オーバーヘッド値を計算します。
属性:
GetAccess | public |
SetAccess | public |
データ型: int
例
タスクのインストルメンテーション オーバーヘッドの指定
タイマーに対するタスクのインストルメンテーション オーバーヘッドを手動で指定します。
target.Processor
オブジェクトと target.Timer
オブジェクトを取得します。
processor = target.get('Processor', 'myProcessorObjectId'); timer = target.get('Timer', 'myTimerObjectId');
target.ProfilingTaskOverhead
オブジェクトを作成します。
taskOverhead = target.create('ProfilingTaskOverhead', ... 'Name', 'Timer Task Overhead'); taskOverhead.Value = 10; taskOverhead.Counter = timer;
バージョン履歴
R2021a で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)