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

Feature request: measure only once #50

Open
regymm opened this issue Jun 10, 2020 · 4 comments
Open

Feature request: measure only once #50

regymm opened this issue Jun 10, 2020 · 4 comments

Comments

@regymm
Copy link

regymm commented Jun 10, 2020

Hi, I think it would be really nice if there is a command-line option to do measurement only once instead of current intel-undervolt measure, so the results printed can be easily used in scripts or by other programs.

Currently I'm developing a GUI frontend based on this program, and directly obtaining measurement results from intel-undervolt can help a lot. And maybe this function can also help other users.

@kitsunyan
Copy link
Owner

Hi.

The problem is that measure doesn't give you result immediately. I have to calculate difference between energies divided by time to get power, this it why you zeroes the first second you start measure. Is it ok to you?

@regymm
Copy link
Author

regymm commented Jun 16, 2020

Thanks for your reply. For my application, lag of a second or so won't be a problem.

@Titaniumtown
Copy link

oooh I really want this feature. I was looking how to do this in a script of mine.

@regymm
Copy link
Author

regymm commented Sep 11, 2020

I opened a pull request for this. Now you can have a try in my fork!

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

No branches or pull requests

3 participants