Fix missing import in nimprof.nim when --threads:on
This commit is contained in:
parent
a309a5f38a
commit
876cad3a91
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue