Skip to content

Conversation

evgenyfedorov2
Copy link
Member

@evgenyfedorov2 evgenyfedorov2 commented Jun 30, 2025

  1. Rename CalculateCpuUsageWithoutHostDelta to UseLinuxCpuUsageV2.
  2. Remove UseDeltaNrPeriodsForCpuCalculation option and merge its logic with UseLinuxCpuUsageV2.
  3. Remove debug logs and metrics.
  4. Minor code massaging.
Microsoft Reviewers: Open in CodeFlow

@evgenyfedorov2 evgenyfedorov2 force-pushed the users/evgenyfedorov2/refactor_linux_cgroup_options branch 2 times, most recently from 07b5619 to 54a0b83 Compare June 30, 2025 09:43
Update CompatibilitySuppressions
Remove unnecessary logging and metrics
Rename CalculateCpuUsageWithoutHostDelta to UseLinuxCpuUsageV2
Remove UseDeltaNrPeriosForCpuCalculaton
@evgenyfedorov2 evgenyfedorov2 force-pushed the users/evgenyfedorov2/refactor_linux_cgroup_options branch from 54a0b83 to 4e16fae Compare June 30, 2025 10:09
@evgenyfedorov2 evgenyfedorov2 marked this pull request as ready for review June 30, 2025 11:04
@evgenyfedorov2 evgenyfedorov2 requested review from a team as code owners June 30, 2025 11:04
@evgenyfedorov2
Copy link
Member Author

@nivebb8 do you want to review this? We are removing debug logs, metrics, and adjusting code to use only one boolean flag instead of two.

evgenyfedorov2 added 2 commits July 3, 2025 07:04
…ptions

# Conflicts:
#	src/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring/CompatibilitySuppressions.xml
@evgenyfedorov2 evgenyfedorov2 enabled auto-merge (squash) July 3, 2025 05:08
This reverts commit 6a57a63.
@evgenyfedorov2 evgenyfedorov2 merged commit 95a6013 into dotnet:main Jul 3, 2025
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants