mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-04 12:41:34 +00:00
The CLOCK_DRIVER_USE_FAST_IDLE configure option is implemented in the shared clock driver implementation. Unfortunately, the spec files scattered the yaml to enable it for a specific BSP. This change adds the shared file spec/build/bsps/optclkfastidle.yml which is now the only place the CLOCK_DRIVER_USE_FAST_IDLE is specified. That file includes a master list of BSPs which are known to be able to run on simulators that are slow enough to benefit from this option. As a point of information, the entire riscv BSP family can run on both spike and qemu. None had the option do use fast idle. With this option enabled, the time taken for a full test run on spike for rv32i and rv64imadfc dropped by ~45%.