BehaviourComposer: ignore everything before this.
Defines 'profile' that can be used in the command line to profile the next n ticks.
Define profile procedure
Begin NetLogo code:
to profile-command [n] profiler:start ;; start profiling repeat n [ go ] ;; run something you want to measure profiler:stop ;; stop profiling print profiler:report ;; view the results profiler:reset ;; clear the data end
End NetLogo codeSee http://ccl.northwestern.edu/netlogo/docs/profiler.html for more information.
BehaviourComposer: ignore everything after this.