Macro gbench::log[][src]

macro_rules! log {
    ($($arg : tt) *) => { ... };
}
Expand description

Logs data to a benchmarking file

let a = 0;
log!("A: {}", a);

will queue this BenchData

Log {
    log: "A: 0",
    ts: /* event's timestamp */,
    tid: /* event's thread of execution */,
}