| 218 | } |
| 219 | |
| 220 | static inline int |
| 221 | raw_to_percent(int x) |
| 222 | { |
| 223 | MPASS(x <= 0xff && x >= 0); |
| 224 | return (round10(x * 1000 / 0xff)); |
| 225 | } |
| 226 | |
| 227 | /* Range of MSR_IA32_ENERGY_PERF_BIAS is more limited: 0-0xf. */ |
| 228 | static inline int |
no test coverage detected