Module nimprof

Profiling support for Nim. This is an embedded profiler that requires --profiler:on. You only need to import this module to get a profiling report at program exit.

Procs

proc setSamplingFrequency(intervalInUs: int) {...}{.raises: [], tags: [].}
set this to change the sampling frequency. Default value is 5ms. Set it to 0 to disable time based profiling; it uses an imprecise instruction count measure instead then.   Source Edit
proc disableProfiling() {...}{.raises: [], tags: [].}
  Source Edit
proc enableProfiling() {...}{.raises: [], tags: [].}
"is greater or equals" operator. This is the same as y <= x.   Source Edit