Skip to content
Commit 95aebc44 authored by Josh Triplett's avatar Josh Triplett Committed by Len Brown
Browse files

turbostat: Add a helper to parse a single int out of a file



Many different chunks of code in turbostat open a file, parse a single
int out of it, and close it.  Factor that out into a common function.

Signed-off-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 74823419
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment