macro_rules! perf_record {
    ( $id:expr, $total:expr, $total_size:expr ) => { ... };
}