diff --git a/src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Orchestrations/MetricsProviders/MemInfoFileMemoryMetricsProvider.cs b/src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Orchestrations/MetricsProviders/MemInfoFileMemoryMetricsProvider.cs
index e735913..960b6ef 100644
--- a/src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Orchestrations/MetricsProviders/MemInfoFileMemoryMetricsProvider.cs
+++ b/src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Orchestrations/MetricsProviders/MemInfoFileMemoryMetricsProvider.cs
@@ -27,9 +27,9 @@ public MemInfoFileMemoryMetricsProvider(
}
///
- /// Get the memory usage in percentage. 25.5 for 25.5%.
+ /// Get the memory usage in percentage.
///
- ///
+ /// Returns the memory usages in form of 100 x percentage. For example, 25.5 for 25.5%.
public float GetNextValue()
{
(float total, float free) = GetMetrics();
diff --git a/src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Orchestrations/ResourceUsageSource.cs b/src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Orchestrations/ResourceUsageSource.cs
index ee12360..aa8f47a 100644
--- a/src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Orchestrations/ResourceUsageSource.cs
+++ b/src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Orchestrations/ResourceUsageSource.cs
@@ -19,13 +19,14 @@ namespace Microsoft.ApplicationInsights.Profiler.Shared.Orchestrations;
internal sealed class ResourceUsageSource : IResourceUsageSource
{
- private readonly BaselineTracker? _cpuBaselineTracker;
- private readonly BaselineTracker? _memoryBaselineTracker;
private float _currentCPUBaseline = 0f;
private float _currentMemoryBaseline = 0f;
+ private bool _disposed = false;
+
+ private readonly BaselineTracker? _cpuBaselineTracker;
+ private readonly BaselineTracker? _memoryBaselineTracker;
private readonly UserConfigurationBase _userConfigurations;
private readonly ILogger _logger;
- private bool _disposed = false;
///
/// Aggregates CPU and RAM usage in recent times.