Human-readable label for this executor.
(&self)
| 25 | impl ExecutorName { |
| 26 | /// Human-readable label for this executor. |
| 27 | pub fn label(&self) -> &'static str { |
| 28 | match self { |
| 29 | ExecutorName::Valgrind => "CPU Simulation", |
| 30 | ExecutorName::WallTime => "Walltime", |
| 31 | ExecutorName::Memory => "Memory", |
| 32 | ExecutorName::Analysis => "Analysis", |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | /// Icon for this executor. |
| 37 | pub fn icon(&self) -> Icon { |
no outgoing calls
no test coverage detected