article

Paul Toone avatar image
0 Likes"
Paul Toone posted

Code Profiler   

The Code Profile window profiles all the flexscript code being executed in your model.

Enable Flexscript Code Profiling- Check this box to enable Code Profiling. Code profiling will remain enabled even if the Code Profile window is closed.

Reset Code Profile Data - Clears the currently accumulated profile data.

Self Time (ms) - This is the total amount of time in milliseconds that the code has taken to execute since the model began.

Total Time (ms) - This is the Self Time plus any time spent calling other functions like User Commands within the code.

Hit Count - This is the total number of times the code has been executed.

Path - The path to the flexscript node being executed.

Self Time vs Total Time

In most cases the Self Time and Total Time will be equal. However, you'll notice above that the Self Time and Total Time of the Queue1>variables/exittrigger are different. Within the exit trigger, a user command called changeLabelValues is called. The Total Time of the Queue's exit trigger is equal to it's Self Time + changeLabelValue's Self Time.



flexsim users manual
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Article

Contributors

paul.t contributed to this article

Navigation

FlexSim 2016.1