(mode: &RunnerMode)
| 19 | |
| 20 | impl From<&RunnerMode> for runner_shared::measurement_mode::MeasurementMode { |
| 21 | fn from(mode: &RunnerMode) -> Self { |
| 22 | match mode { |
| 23 | #[allow(deprecated)] |
| 24 | RunnerMode::Instrumentation | RunnerMode::Simulation => Self::Simulation, |
| 25 | RunnerMode::Walltime => Self::Walltime, |
| 26 | #[cfg(target_os = "linux")] |
| 27 | RunnerMode::Memory => Self::Memory, |
| 28 | RunnerMode::Telemetry => Self::Telemetry, |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | /// Register the active runner mode(s) for the current shell session. |
nothing calls this directly
no outgoing calls
no test coverage detected