Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
This commit is contained in:
commit
71de04b4ba
12 changed files with 582 additions and 58 deletions
|
|
@ -284,11 +284,11 @@ proc resetMemory =
|
|||
echo GC_getStatistics()
|
||||
|
||||
const
|
||||
SimiluateCaasMemReset = false
|
||||
SimulateCaasMemReset = false
|
||||
PrintRopeCacheStats = false
|
||||
|
||||
proc mainCommand* =
|
||||
when SimiluateCaasMemReset:
|
||||
when SimulateCaasMemReset:
|
||||
gGlobalOptions.incl(optCaasEnabled)
|
||||
|
||||
# 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),
|
||||
ffDecimal, 3)
|
||||
|
||||
when SimiluateCaasMemReset:
|
||||
when SimulateCaasMemReset:
|
||||
resetMemory()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue