Skip to content

Instantly share code, notes, and snippets.

@devicenull
Created June 19, 2015 13:50
Show Gist options
  • Save devicenull/2d36234b89030b83e41d to your computer and use it in GitHub Desktop.
Save devicenull/2d36234b89030b83e41d to your computer and use it in GitHub Desktop.
# Get msr-tools from https://www.kernel.org/pub/linux/utils/cpu/msr-tools/
Run:
./rdmsr -d -f 15:8 0x199 -> (IA32_PERF_CTL) This gives you the p-state that the OS is requesting
./rdmsr -d -f 15:8 0x198 -> (IA32_PERF_STATUS) This gives you the p-state that the processor is delivering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment