Function glassbench::create_bench [−][src]
pub fn create_bench<S1, S2>(name: S1, title: S2, cmd: &Command) -> Bench where
S1: Into<String>,
S2: Into<String>,
Create a bench with a user defined name (instead of the file name) and command (instead of the one read in arguments)
Unless you have special reasons, you should not use this function but the glassbench! function.