dscale 0.4.0

A fast & deterministic simulation framework for testing and benchmarking distributed systems
Documentation
1
2
3
4
5
6
7
8
/// Logs a debug message prefixed with the current simulation time and process rank.
/// Controlled by the `RUST_LOG` environment variable.
#[macro_export]
macro_rules! debug_process {
    ($($arg:tt)+) => {
        log::debug!("[Now: {} | P{}] {}", now(), rank(), format_args!($($arg)+));
    }
}