Main Content

target.ProfilingFreezingOverhead Class

Namespace: target

Capture freezing and unfreezing instrumentation overhead

Since R2021a

Description

Use a target.ProfilingFreezingOverhead object to capture the instrumentation overhead for freezing and unfreezing a timer.

To create a target.ProfilingFreezingOverhead object, use the target.create function.

Properties

expand all

Specify instrumentation overhead for freezing and unfreezing a timer.

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

collapse all

Manually specify the function 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.ProfilingFreezingOverhead object.

freezingOverhead = target.create('ProfilingFreezingOverhead', ...
                                 'Name', 'Timer Freezing Overhead');
freezingOverhead.Value = 30;
freezingOverhead.Counter = timer;

Version History

Introduced in R2021a