target.ProfilingFreezingOverhead クラス
パッケージ: target
停止および再開の計測オーバーヘッドの取得
説明
target.ProfilingFreezingOverhead
オブジェクトを使用して、タイマーを停止および再開する際の計測オーバーヘッドを取得します。
target.ProfilingFreezingOverhead
オブジェクトの作成には関数 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.ProfilingFreezingOverhead
オブジェクトを作成します。
freezingOverhead = target.create('ProfilingFreezingOverhead', ... 'Name', 'Timer Freezing Overhead'); freezingOverhead.Value = 30; freezingOverhead.Counter = timer;
バージョン履歴
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)