target.ProfilingTaskOverhead - Capture task instrumentation overhead - MATLAB (original) (raw)
Main Content
Namespace: target
Capture task instrumentation overhead
Since R2021a
Description
Use a target.ProfilingTaskOverhead
object to capture the instrumentation overhead for profiling a task.
To create a target.ProfilingTaskOverhead
object, use the target.create function.
Properties
Specify instrumentation overhead for profiling a task.
Attributes:
GetAccess | public |
---|---|
SetAccess | public |
Data Types: int
Object that provides the timer details for your processor.
Attributes:
GetAccess | public |
---|---|
SetAccess | public |
Data Types: int
Specify the minimum number of iterations that benchmark program performs to compute instrumentation overhead values.
Attributes:
GetAccess | public |
---|---|
SetAccess | public |
Data Types: int
Examples
Manually specify the task instrumentation overhead for a timer.
Retrieve the target.Processor
and target.Timer
objects.
processor = target.get('Processor', 'myProcessorObjectId'); timer = target.get('Timer', 'myTimerObjectId');
Create a target.ProfilingTaskOverhead
object.
taskOverhead = target.create('ProfilingTaskOverhead', ... 'Name', 'Timer Task Overhead'); taskOverhead.Value = 10; taskOverhead.Counter = timer;
Version History
Introduced in R2021a