diff options
author | Sung Yoon Whang <suwhang@microsoft.com> | 2019-02-21 14:19:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 14:19:27 -0800 |
commit | 2dfd1779ae9eebe89b223cff6fd77825301971dd (patch) | |
tree | cc1694ef83deb63b2f178d3f4b195d2bb679d1e0 /src/vm/ceemain.cpp | |
parent | a006c44d06d56829a230bbbce17b74b21a0b8842 (diff) | |
download | coreclr-2dfd1779ae9eebe89b223cff6fd77825301971dd.tar.gz coreclr-2dfd1779ae9eebe89b223cff6fd77825301971dd.tar.bz2 coreclr-2dfd1779ae9eebe89b223cff6fd77825301971dd.zip |
Remove unused perfcounter code (#22742)
* removing references to COUNTER_ONLY, ENABLE_PERF_COUNTERS in src/vm directory
* removing perfcounters* files
* Fix build
* Remove PerfCounterSupportedBuild
* Some more cleanup on the GC side
Diffstat (limited to 'src/vm/ceemain.cpp')
-rw-r--r-- | src/vm/ceemain.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/vm/ceemain.cpp b/src/vm/ceemain.cpp index 3b50c02f46..41b6fe0b6f 100644 --- a/src/vm/ceemain.cpp +++ b/src/vm/ceemain.cpp @@ -144,7 +144,6 @@ #include "cordbpriv.h" #include "comdelegate.h" #include "appdomain.hpp" -#include "perfcounters.h" #include "eventtrace.h" #include "corhost.h" #include "binder.h" @@ -795,12 +794,6 @@ void EEStartupHelper(COINITIEE fFlags) } #endif // FEATURE_PREJIT -#ifdef ENABLE_PERF_COUNTERS - hr = PerfCounters::Init(); - _ASSERTE(SUCCEEDED(hr)); - IfFailGo(hr); -#endif - #ifdef FEATURE_INTERPRETER Interpreter::Initialize(); #endif // FEATURE_INTERPRETER @@ -1779,11 +1772,6 @@ part2: } #endif /* SHOULD_WE_CLEANUP */ -#ifdef ENABLE_PERF_COUNTERS - // Terminate Perf Counters as late as we can (to get the most data) - PerfCounters::Terminate(); -#endif // ENABLE_PERF_COUNTERS - //@TODO: find the right place for this VirtualCallStubManager::UninitStatic(); |