fixed constant typo (SimulateCaasMemReset)
This commit is contained in:
parent
a21289f5d5
commit
3adceb34e0
1 changed files with 3 additions and 3 deletions
|
|
@ -284,11 +284,11 @@ proc resetMemory =
|
||||||
echo GC_getStatistics()
|
echo GC_getStatistics()
|
||||||
|
|
||||||
const
|
const
|
||||||
SimiluateCaasMemReset = false
|
SimulateCaasMemReset = false
|
||||||
PrintRopeCacheStats = false
|
PrintRopeCacheStats = false
|
||||||
|
|
||||||
proc mainCommand* =
|
proc mainCommand* =
|
||||||
when SimiluateCaasMemReset:
|
when SimulateCaasMemReset:
|
||||||
gGlobalOptions.incl(optCaasEnabled)
|
gGlobalOptions.incl(optCaasEnabled)
|
||||||
|
|
||||||
# In "nimrod serve" scenario, each command must reset the registered passes
|
# In "nimrod serve" scenario, each command must reset the registered passes
|
||||||
|
|
@ -454,6 +454,6 @@ proc mainCommand* =
|
||||||
echo " efficiency: ", formatFloat(1-(gCacheMisses.float/gCacheTries.float),
|
echo " efficiency: ", formatFloat(1-(gCacheMisses.float/gCacheTries.float),
|
||||||
ffDecimal, 3)
|
ffDecimal, 3)
|
||||||
|
|
||||||
when SimiluateCaasMemReset:
|
when SimulateCaasMemReset:
|
||||||
resetMemory()
|
resetMemory()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue