MiceOnABeam Product Documentation

Modified: 4/1/2013 8:37 PM
Recently changed articles You can subscribe to this wiki article using an RSS feed reader.

Performance Analysis Options

Enable Performance Analsis
  • Enabled: When enabled, the code generator will automatically insert code to capture and output execution timings for the selected model components.

Note: The Performance Analysis feature is only available with the Professional version of MiceOnABeam.

Reporting
  • Count: When selected, the number of times each selected model component has been executed will be saved.
  • Total Time: When selected, the cumulative total execution time for each selected model component will be calculated and saved.
  • Average Time: When selected, the running average execution time for each selected model component will be calculated and saved.
  • Each Time: When selected, each time a model component is executed at run-time, the value of it's current Elapsed Time and the cumulative totals for Total Time and Average Time (if selected) will be output.
  • On Final State: When selected, a report will be output containing the current values of the execution timings for all selected model components whenever the script model transitions to a Final State.
  • On Terminate Point: When selected, a report will be output containing the current values of the execution timings for all selected model components whenever the script model transitions to a Terminate Point.
Components Monitored

In this section the model components whose execution timings will be monitored are selected. For each component type, you select one of the following values:

  • None: When selected, no model components of the corresponding type will be monitored.
  • All: When selected, all model components of the corresponding type will be monitored.
  • Specify: When Specify is selected for State Entry/Exit, State Functions or Transitions, the specific model components to be monitored are indicated by manually inserting in their respective code segments the #stats and #endstats compiler directives. #stats indicates the start of timing measurements for the code segment. #endstats indicates the end of timing measurements for the code segment.

When Specify is selected for Events, you must choose one or more events from the Event List.

Events
  • Event List: This list is only enabled when Specify has been selected for the Events component. Execution timings will be calculated and saved for each selected LSL event.
  • Clear: Clears all selected LSL events in the Event List.

 

 

Tags:
Home: MiceOnABeam Product Documentation Copyright © 2010-2018 MiceOnABeam Software