Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2.0.0] Add timestamped polling #173

Open
rountree opened this issue Sep 14, 2024 · 0 comments · May be fixed by #174
Open

[v2.0.0] Add timestamped polling #173

rountree opened this issue Sep 14, 2024 · 0 comments · May be fixed by #174

Comments

@rountree
Copy link
Collaborator

I've reimplemented this idea multiple times and have finally settled on the following.

The idea is simple: Replace isrdmsr with a bit vector that has flags for reading, writing, and polling, along with a set of flags for when to read MPERF (at the start of the op, at the end, and before each polled read).

This feature is the best way to get a handle on how long it takes for certain MSRs to be updated, e.g., energy and temperature. It can also be useful for implementing what is effectively a userspace signal: the op completes (and the ioctl() returns) when the value of the given MSR changes.

@rountree rountree linked a pull request Sep 14, 2024 that will close this issue
@rountree rountree changed the title Add timestamped polling [v2.0] Add timestamped polling Sep 23, 2024
@rountree rountree changed the title [v2.0] Add timestamped polling [v2.0.0] Add timestamped polling Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant