Skip to content

Conversation

scrossley11
Copy link

Summary:
Add a monitor class for measuring /proc/stat CPU Time according to periodic ticker schedules 100ms, 1s and 60s.
Only idle time is measured, from which CPU Cores Usage is determined and stored in a MetricFrame

Reviewer: the 'tick' function is the entry point for periodic reads of /proc/stat of all periods (100ms, 1s, 60s).

Reviewed By: bigzachattack

Differential Revision: D69410258

scrossley and others added 3 commits February 15, 2025 00:12
Differential Revision: D69647262
Summary:
Add a monitor class for measuring /proc/stat CPU Time according to periodic ticker schedules 100ms, 1s and 60s.
Only idle time is measured, from which CPU Cores Usage is determined and stored in a MetricFrame

Reviewer: the 'tick' function is the entry point for periodic reads of /proc/stat of all periods (100ms, 1s, 60s).

Reviewed By: bigzachattack

Differential Revision: D69410258
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 16, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69410258

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 497ced6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants