6 references to GetTotalAllocatedBytes
AnalyzerRunner (3)
PerformanceTracker.cs (3)
30var initialTotalAllocatedBytes = GC.GetTotalAllocatedBytes(preciseMemory); 41public long AllocatedBytes => GC.GetTotalAllocatedBytes(true) - _initialTotalAllocatedBytes; 50var 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)
218public 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) };