Profiler Example
Model was written in NetLogo 5.0.4
•
Viewed 415 times
•
Downloaded 120 times
•
Run 1 time
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
WHAT IS IT?
This code example demonstrates the functionality of the profiler extension, which records the number of times user-defined procedures are called, and how long they take to run.
See the Interface tab for more information. See also the Profiler section of the NetLogo User Manual.
Comments and Questions
Please start the discussion about this model!
(You'll first need to log in.)
Click to Run Model
extensions [profiler] to procedure-1 output-print "procedure-1 called" end to procedure-2 output-print "procedure-2 called" procedure-1 let dummy-variable reporter-procedure end to-report reporter-procedure output-print "reporter-procedure called" report true end ; Public Domain: ; To the extent possible under law, Uri Wilensky has waived all ; copyright and related or neighboring rights to this model.
There are 9 versions of this model.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
Profiler Example.png | preview | Preview for 'Profiler Example' | over 12 years ago, by Uri Wilensky | Download |
This model does not have any ancestors.
This model does not have any descendants.