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