6 references to GetTotalAllocatedBytes
AnalyzerRunner (3)
PerformanceTracker.cs (3)
30
var initialTotalAllocatedBytes = GC.
GetTotalAllocatedBytes
(preciseMemory);
41
public long AllocatedBytes => GC.
GetTotalAllocatedBytes
(true) - _initialTotalAllocatedBytes;
50
var allocatedBytes = GC.
GetTotalAllocatedBytes
(preciseMemory) - _initialTotalAllocatedBytes;
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\RuntimeMetrics.cs (1)
46
() => GC.
GetTotalAllocatedBytes
(),
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\AppDomain.cs (1)
218
public long MonitoringTotalAllocatedMemorySize => GC.
GetTotalAllocatedBytes
(precise: false);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\RuntimeEventSource.cs (1)
98
_allocRateCounter ??= new IncrementingPollingCounter("alloc-rate", this, () => GC.
GetTotalAllocatedBytes
()) { DisplayName = "Allocation Rate", DisplayUnits = "B", DisplayRateTimeScale = new TimeSpan(0, 0, 1) };