Fix missing import in nimprof.nim when --threads:on

This commit is contained in:
boydgreenfield
2014-05-20 16:57:33 -04:00
parent a309a5f38a
commit 876cad3a91

View File

@@ -60,6 +60,7 @@ when not defined(memProfiler):
else: interval = intervalInUs * 1000 - tickCountCorrection else: interval = intervalInUs * 1000 - tickCountCorrection
when withThreads: when withThreads:
import locks
var var
profilingLock: TLock profilingLock: TLock