summaryrefslogtreecommitdiff
path: root/src/vm/ceeload.h
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2017-03-07 18:58:11 -0800
committerBrian Sullivan <briansul@microsoft.com>2017-03-13 12:45:14 -0700
commitc67474bd34847bf5ceff3d49f29eb4b778848748 (patch)
treeca4220191ea1fcc24361c023cfeb4fd55544ae54 /src/vm/ceeload.h
parenta7bed220d5455a705452eb0cc7248b941a6ecd99 (diff)
downloadcoreclr-c67474bd34847bf5ceff3d49f29eb4b778848748.tar.gz
coreclr-c67474bd34847bf5ceff3d49f29eb4b778848748.tar.bz2
coreclr-c67474bd34847bf5ceff3d49f29eb4b778848748.zip
Work for IBC profiling with ReadyToRun images
Incremented ReadyToRun version to 2.2 Implemented caching for IsInstrumented using IS_INSTRUMENTED_UNSET Added method Module::InitializeForProfiling() Added full support for method profile counts in ReadyToRun image
Diffstat (limited to 'src/vm/ceeload.h')
-rw-r--r--src/vm/ceeload.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vm/ceeload.h b/src/vm/ceeload.h
index ba95b2da62..2f3fe90a08 100644
--- a/src/vm/ceeload.h
+++ b/src/vm/ceeload.h
@@ -1790,6 +1790,7 @@ protected:
protected:
#ifndef DACCESS_COMPILE
virtual void Initialize(AllocMemTracker *pamTracker, LPCWSTR szName = NULL);
+ void InitializeForProfiling();
#ifdef FEATURE_PREJIT
void InitializeNativeImage(AllocMemTracker* pamTracker);
#endif
@@ -2734,6 +2735,8 @@ public:
}
#endif // FEATURE_PREJIT
+
+ BOOL HasNativeOrReadyToRunImage();
PEImageLayout * GetNativeOrReadyToRunImage();
PTR_CORCOMPILE_IMPORT_SECTION GetImportSections(COUNT_T *pCount);
PTR_CORCOMPILE_IMPORT_SECTION GetImportSectionFromIndex(COUNT_T index);
@@ -3066,6 +3069,10 @@ public:
static void ProfileDataAllocateTokenLists(ProfileEmitter * pEmitter, TokenProfileData* pTokenProfileData);
HRESULT WriteMethodProfileDataLogFile(bool cleanup);
static void WriteAllModuleProfileData(bool cleanup);
+ void SetMethodProfileList(CORCOMPILE_METHOD_PROFILE_LIST * value)
+ {
+ m_methodProfileList = value;
+ }
void CreateProfilingData();
void DeleteProfilingData();