diff options
author | Sung Yoon Whang <suwhang@microsoft.com> | 2019-05-24 20:16:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-24 20:16:11 -0700 |
commit | b676246c1dd880b7290a1313cdac309fe020aa6f (patch) | |
tree | b53cc47a0b8fbac8de9276abb9d46667f2c482f0 /src/gc/gcimpl.h | |
parent | 852f40d5f1a3cff4d381c2de2d2a86fe8b1f29b4 (diff) | |
download | coreclr-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/gc/gcimpl.h')
-rw-r--r-- | src/gc/gcimpl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gc/gcimpl.h b/src/gc/gcimpl.h index b3aeb36516..b1d4e07981 100644 --- a/src/gc/gcimpl.h +++ b/src/gc/gcimpl.h @@ -306,6 +306,10 @@ protected: public: Object * NextObj (Object * object); + + int GetLastGCPercentTimeInGC(); + + size_t GetLastGCGenerationSize(int gen); }; #endif // GCIMPL_H_ |