summaryrefslogtreecommitdiff
path: root/src/inc/switches.h
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2017-02-10 09:40:45 -0800
committerPat Gavlin <pagavlin@microsoft.com>2017-02-10 09:40:45 -0800
commite7bad4948b0f2544e30995decf4163ec41185639 (patch)
treeddb9a66d31e9e94dd4c5de09df3a07dfeeb29a21 /src/inc/switches.h
parent28d04376fe54aea392d75d478bd468f14d134e67 (diff)
downloadcoreclr-e7bad4948b0f2544e30995decf4163ec41185639.tar.gz
coreclr-e7bad4948b0f2544e30995decf4163ec41185639.tar.bz2
coreclr-e7bad4948b0f2544e30995decf4163ec41185639.zip
Report bytes allocated in the JIT time log.
This adds a new column, "Total Bytes Allocated", to the JIT time log. This column reports the total number of bytes requested from the host by the JIT's arena allocator. This change also enables `FEATURE_JIT_TIMER` by default (which only affects JIT32).
Diffstat (limited to 'src/inc/switches.h')
-rw-r--r--src/inc/switches.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/inc/switches.h b/src/inc/switches.h
index bb3ca28e12..762077a8f4 100644
--- a/src/inc/switches.h
+++ b/src/inc/switches.h
@@ -198,12 +198,10 @@
// This is just for convenience in doing performance investigations in a checked-out enlistment.
// #define FEATURE_ENABLE_NO_RANGE_CHECKS
-#ifndef FEATURE_CORECLR
// This controls whether a compilation-timing feature that relies on Windows APIs, if available, else direct
// hardware instructions (rdtsc), for accessing high-resolution hardware timers is enabled. This is disabled
// in Silverlight (just to avoid thinking about whether the extra code space is worthwhile).
#define FEATURE_JIT_TIMER
-#endif // FEATURE_CORECLR
// This feature in RyuJIT supersedes the FEATURE_JIT_TIMER. In addition to supporting the time log file, this
// feature also supports using COMPlus_JitTimeLogCsv=a.csv, which will dump method-level and phase-level timing