added cpuTime to VM (#12346)
* added cpuTime to VM * Hide VM-time cpuTime() behind --benchmarkVM flag
This commit is contained in:
parent
412011eb96
commit
26676066cc
4 changed files with 14 additions and 0 deletions
|
|
@ -792,6 +792,8 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
|
|||
discard "the default"
|
||||
else:
|
||||
localError(conf, info, "unknown Nim version; currently supported values are: {1.0}")
|
||||
of "benchmarkvm":
|
||||
processOnOffSwitchG(conf, {optBenchmarkVM}, arg, pass, info)
|
||||
of "":
|
||||
conf.projectName = "-"
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue