Function run_benchmark

Source
pub fn run_benchmark<BM>(benchmark: BM) -> Result<BenchmarkResult, String>
where BM: Benchmark,
Expand description

Runs the given benchmark on the device and prints result and information.