| 8 | /// to remain stable across releases. |
| 9 | #[derive(Args, Debug, Clone)] |
| 10 | pub struct ExperimentalArgs { |
| 11 | /// Enable valgrind's --fair-sched option. |
| 12 | #[arg( |
| 13 | long, |
| 14 | default_value_t = false, |
| 15 | help_heading = "Experimental", |
| 16 | env = "CODSPEED_EXPERIMENTAL_FAIR_SCHED" |
| 17 | )] |
| 18 | pub experimental_fair_sched: bool, |
| 19 | |
| 20 | /// Enable Valgrind cycle estimation (--cycle-estimation) in simulation mode. |
| 21 | #[arg( |
| 22 | long, |
| 23 | default_value_t = false, |
| 24 | help_heading = "Experimental", |
| 25 | env = "CODSPEED_CYCLE_ESTIMATION" |
| 26 | )] |
| 27 | pub cycle_estimation: bool, |
| 28 | } |
| 29 | |
| 30 | impl ExperimentalArgs { |
| 31 | /// Returns the names of all experimental flags that were explicitly set by the user. |
nothing calls this directly
no outgoing calls
no test coverage detected