Skip to content
Commit 15aaa346 authored by Len Brown's avatar Len Brown
Browse files

tools turbostat: harden against cpu online/offline



Sometimes users have turbostat running in interval mode
when they take processors offline/online.

Previously, turbostat would survive, but not gracefully.

Tighten up the error checking so turbostat notices
changesn sooner, and print just 1 line on change:

turbostat: re-initialized with num_cpus %d

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