# Module nimprof

Profiling support for Nimrod. This is an embedded profiler that requires `--profiler:on`. You only need to import this module to get a profiling report at program exit.Timer support for the realtime GC. Based on https://github.com/jckarter/clay/blob/master/compiler/src/hirestimer.cpp

# Imports

hashes, algorithm, strutils, tables, sets

# Types

    TNanos = int64

# 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.

    proc disableProfiling() {.raises: [], tags: [].}

    proc enableProfiling() {.raises: [], tags: [].}

Generated: 2013-05-21 09:55:25 UTC