(profiler_override: Option<WalltimeProfiler>)
| 54 | |
| 55 | impl WallTimeExecutor { |
| 56 | pub fn new(profiler_override: Option<WalltimeProfiler>) -> Self { |
| 57 | Self { |
| 58 | profiler: select_profiler(profiler_override), |
| 59 | benchmark_state: OnceCell::new(), |
| 60 | profiling_sysctls: OnceCell::new(), |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | /// Prepare the benchmark command wrapped with the necessary environment variables for |
| 65 | /// introspection and environment forwarding ahead of privilege escalation and isolation. |
nothing calls this directly
no test coverage detected