Open code execution profiling report and specify display of time measurements.
report(
myExecutionProfile
)
report(myExecutionProfile
,
Name1, Value1, Name2, Value2, ...)
report(myExecutionProfile
,
'Units', 'Seconds', 'ScaleFactor', '1e-06', 'NumericFormat', '%0.3f')
report(myExecutionProfile
,
'baseline', executionProfileBaseline
)
When you run a SIL or PIL simulation with code execution profiling enabled, the software
generates the workspace variable that you specify in the Workspace
variable field of the Configuration Parameters dialog box. For example,
myExecutionProfile
.
report(
opens
the code execution profiling report using default display options.myExecutionProfile
)
report(
opens the report with
display options specified by the name-value character vector pairs.myExecutionProfile
,
Name1, Value1, Name2, Value2, ...)
report(
displays
time in microseconds (10-6 seconds) with
a precision of three decimal places.myExecutionProfile
,
'Units', 'Seconds', 'ScaleFactor', '1e-06', 'NumericFormat', '%0.3f')
report(
creates a report that compares execution-time performance against a baseline.myExecutionProfile
,
'baseline', executionProfileBaseline
)
Name-Value Pair | Details |
---|---|
'Units' , 'Seconds' or 'Units' , 'Ticks' |
Time measurements displayed in seconds or timer ticks. Default:
|
'ScaleFactor' , Value |
Scale factor for displayed measurements. For example, to
display measurements in microseconds, use the name-value pair
To specify the scale factor, you must also specify
|
'NumericFormat' , Convention |
Numeric format for displayed measurements. Use the
decimal convention utilized by the
ANSI® C function To specify the numeric format, you must also specify
|
'baseline' ,
executionProfileBaseline | Baseline for performance comparison.
|