Simulink Profile Report: Simulink Profiler Help
Summary Legend:
- Total recorded time:
- Total time for simulating the model.
- Number of Block Methods:
- Total number of methods called by individual blocks in the model.
- Number of Internal Methods:
- Total number of internal Simulink methods called by the model.
- Number of Model Methods:
- Number of methods called by the model.
- Number of Nonvirtual Subsystem Methods:
- Number of methods called by any nonvirtual subsystems in the model.
- Clock precision:
- Precision of the profiler's time measurement.
Function List Legend:
- Time:
- Time spent in this function, including all child functions called.
- Calls:
- Number of times this function was called.
- Time/call:
- Time spent per call.
- Self time:
- Total time spent in this function, not including any calls to child functions.
- Location:
- Link to the location of the block in your model. Use the link "Clear Hilited Blocks"at the top of the page to unhilite all blocks. (Note: you must use the MATLAB Help browser to use these hyperlinks).
Note: In accelerated mode, individual blocks will not show up in the profiler, unless they are executed internally in Simulink (e.g. a scope runs in Simulink instead of the generated code). Rerun in normal mode to get a more detailed analysis of the simulation.
Model execution pseudocode:
- Sim()
- ModelInitialize() - Set up the model for simulation
- ModelExecute() - Advance in time from t = Tstart to Tfinal
- Output() - Execute the output methods of blocks in the model at time t
- Update() - Execute the update methods of blocks in the model at time t
- SolverStep() - Update continuous states and locate zero crossings (minor time steps)
- Integrate() - Integrate states using derivs computed by calling:
- MinorOutput()
- MinorDeriv()
- EndIntegrate
- DetectZC() - Locate any zero crossings using repeated calls to:
- MinorOutput()
- MinorZeroCrossings()
- EndDetectZC
- EndSolverStep
- Set time t = tnew
- EndModelExecute
- ModelTerminate
- EndSim