minor cleanup vmprofiler (#21783)

This commit is contained in:
ringabout
2023-05-04 15:44:46 +08:00
committed by GitHub
parent 34b78be396
commit c34950f8f5

View File

@@ -28,7 +28,7 @@ proc leave*(prof: var Profiler, c: PCtx) {.inline.} =
proc dump*(conf: ConfigRef, pd: ProfileData): string =
var data = pd.data
echo "\nprof: µs #instr location"
result = "\nprof: µs #instr location"
for i in 0..<32:
var tMax: float
var infoMax: ProfileInfo