* @brief macOS analog of the Windows EcoQoS opt-out: pins the main thread's QoS class to * user-interactive so the scheduler prefers performance cores on Apple silicon. */
| 381 | * user-interactive so the scheduler prefers performance cores on Apple silicon. |
| 382 | */ |
| 383 | static void enableMacPerformanceMode() |
| 384 | { |
| 385 | (void)pthread_set_qos_class_self_np(QOS_CLASS_USER_INTERACTIVE, 0); |
| 386 | } |
| 387 | |
| 388 | #endif |
| 389 |
no outgoing calls
no test coverage detected