NetLogo 7.0.0-beta2:

profiler:exclusive-time

profiler:exclusive-time procedure-name

Reports the exclusive time, in milliseconds, that procedure-name was running for. Exclusive time is the time from when the procedure was entered, until it finishes, but does not include any time spent in other user-defined procedures which it calls.

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

Take me to the full Profiler Extension Dictionary