summaryrefslogtreecommitdiff
path: root/src/vm/ecalllist.h
diff options
context:
space:
mode:
authorSung Yoon Whang <suwhang@microsoft.com>2019-05-24 20:16:11 -0700
committerGitHub <noreply@github.com>2019-05-24 20:16:11 -0700
commitb676246c1dd880b7290a1313cdac309fe020aa6f (patch)
treeb53cc47a0b8fbac8de9276abb9d46667f2c482f0 /src/vm/ecalllist.h
parent852f40d5f1a3cff4d381c2de2d2a86fe8b1f29b4 (diff)
downloadcoreclr-b676246c1dd880b7290a1313cdac309fe020aa6f.tar.gz
coreclr-b676246c1dd880b7290a1313cdac309fe020aa6f.tar.bz2
coreclr-b676246c1dd880b7290a1313cdac309fe020aa6f.zip
Add more runtime GC counters (#24561)
* Add Series/CounterType to CounterPayload and IncrementingCounterPayload * merging with master * Add Generation sizes counter * Some cleanup * Add allocation rate counter * Fix build * add Allocation Rate runtime counter * Fix a potential div by zero exception * Add back in code commented out * Add LOH size counter * Fix linux build * GetTotalAllocated -> GetTotalAllocation * PR feedback * More cleanup + renaming per PR feedback * undo comments * more pr feedback * Use existing GC.GetTotalAllocatedBytes API instead * Remove duplicate GetTotalAllocation * More PR feedback * Fix x86 build * Match type between C++/C# * remove unused variables'
Diffstat (limited to 'src/vm/ecalllist.h')
-rw-r--r--src/vm/ecalllist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vm/ecalllist.h b/src/vm/ecalllist.h
index b69b52e9e9..343d739367 100644
--- a/src/vm/ecalllist.h
+++ b/src/vm/ecalllist.h
@@ -769,6 +769,8 @@ FCFuncStart(gGCInterfaceFuncs)
QCFuncElement("_StartNoGCRegion", GCInterface::StartNoGCRegion)
QCFuncElement("_EndNoGCRegion", GCInterface::EndNoGCRegion)
FCFuncElement("GetSegmentSize", GCInterface::GetSegmentSize)
+ FCFuncElement("GetLastGCPercentTimeInGC", GCInterface::GetLastGCPercentTimeInGC)
+ FCFuncElement("GetGenerationSize", GCInterface::GetGenerationSize)
QCFuncElement("_AddMemoryPressure", GCInterface::_AddMemoryPressure)
QCFuncElement("_RemoveMemoryPressure", GCInterface::_RemoveMemoryPressure)
FCFuncElement("GetGeneration", GCInterface::GetGeneration)