NetLogo 7.0.0-beta2:

profiler:inclusive-time

profiler:inclusive-time procedure-name

Reports the inclusive time, in milliseconds, that procedure-name was running for. Inclusive time is the time from when the procedure was entered, until it finishes.

If procedure-name is not defined, then reports 0.

Take me to the full Profiler Extension Dictionary