first version of a memory profiler
This commit is contained in:
parent
cf06131dec
commit
d43febf81e
8 changed files with 115 additions and 54 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue