mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 05:23:20 +00:00
Fix missing import in nimprof.nim when --threads:on
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user