MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / ExperimentalArgs

Class ExperimentalArgs

src/cli/experimental.rs:10–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8/// to remain stable across releases.
9#[derive(Args, Debug, Clone)]
10pub 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
30impl ExperimentalArgs {
31 /// Returns the names of all experimental flags that were explicitly set by the user.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected