@@ -91,6 +91,8 @@ pub struct OrchestratorConfig {
9191 pub extra_env : HashMap < String , String > ,
9292 /// Enable valgrind's --fair-sched option.
9393 pub fair_sched : bool ,
94+ /// Enable valgrind's --cycle-estimation option.
95+ pub cycle_estimation : bool ,
9496}
9597
9698/// Per-execution configuration passed to executors.
@@ -124,6 +126,8 @@ pub struct ExecutorConfig {
124126 pub enable_introspection : bool ,
125127 /// Enable valgrind's --fair-sched option.
126128 pub fair_sched : bool ,
129+ /// Enable valgrind's --cycle-estimation option.
130+ pub cycle_estimation : bool ,
127131}
128132
129133#[ derive( Debug , Clone , PartialEq ) ]
@@ -193,6 +197,7 @@ impl OrchestratorConfig {
193197 extra_env : self . extra_env . clone ( ) ,
194198 enable_introspection,
195199 fair_sched : self . fair_sched ,
200+ cycle_estimation : self . cycle_estimation ,
196201 }
197202 }
198203}
@@ -225,6 +230,7 @@ impl OrchestratorConfig {
225230 poll_results_options : PollResultsOptions :: new ( false , None ) ,
226231 extra_env : HashMap :: new ( ) ,
227232 fair_sched : false ,
233+ cycle_estimation : false ,
228234 }
229235 }
230236}
0 commit comments