dscale 0.5.1

A fast & deterministic simulation framework for benchmarking and testing distributed systems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::{Jiffies, MessagePtr, Rank, TimerId, destination::Destination};

// Produces by processes
#[derive(Clone)]
pub(crate) enum InjestableEvents {
    NetworkEvent {
        source: Rank,
        destination: Destination,
        message: MessagePtr,
    },
    TimerEvent {
        rank: Rank,
        id: TimerId,
        fire_after: Jiffies,
    },
}