first version of a memory profiler

This commit is contained in:
Araq 2012-10-10 00:41:34 +02:00
commit d43febf81e
8 changed files with 115 additions and 54 deletions

View file

@ -20,7 +20,7 @@ import
when hasTinyCBackend:
import tccgen
when defined(profiler):
when defined(profiler) or defined(memProfiler):
{.hint: "Profiling support is turned on!".}
import nimprof