| 152 | } |
| 153 | |
| 154 | static bool is_hybrid_cpu(void) { |
| 155 | unsigned eax, ebx, ecx, edx; |
| 156 | cpuid(7, 0, &eax, &ebx, &ecx, &edx); |
| 157 | return !!(edx & (1u << 15)); |
| 158 | } |
| 159 | |
| 160 | static bool is_running_on_efficiency_core(void) { |
| 161 | unsigned eax, ebx, ecx, edx; |
no test coverage detected