added cpuTime to VM (#12346)

* added cpuTime to VM

* Hide VM-time cpuTime() behind --benchmarkVM flag
This commit is contained in:
Ico Doornekamp 2019-10-04 19:32:16 +02:00 • committed by Andreas Rumpf
commit 26676066cc
4 changed files with 14 additions and 0 deletions

View file

@ -84,6 +84,7 @@ type # please make sure we have under 32 options
optNimV2
optMultiMethods
optNimV019
optBenchmarkVM # Enables cpuTime() in the VM
TGlobalOptions* = set[TGlobalOption]