Skip to main content

Crate dscale

Crate dscale 

Source

Re-exports§

pub use message::Message;
pub use message::MessagePtr;
pub use global::broadcast;
pub use global::broadcast_within_pool;
pub use global::choose_from_pool;
pub use global::global_unique_id;
pub use global::list_pool;
pub use global::now;
pub use global::rank;
pub use global::schedule_timer_after;
pub use global::send_random_from_pool;
pub use global::send_to;
pub use time::Jiffies;
pub use time::TimerId;

Modules§

global
helpers
message
Message types and handling for inter-process communication.
time

Macros§

debug_process

Structs§

Simulation
The main simulation engine that executes distributed system simulations.
SimulationBuilder
Builder for configuring and creating DScale simulations.

Enums§

BandwidthDescription
Describes bandwidth constraints for network interfaces in the simulation.
Distributions
Probability distributions for modeling stochastic network behavior.
LatencyDescription
Describes network latency characteristics for different process relationships.

Constants§

GLOBAL_POOL
Default pool for all processes within simulation. Broadcasts by default use this pool.

Traits§

ProcessHandle
Core trait that defines the behavior of a process in DScale simulations.

Type Aliases§

Rank
Unique identifier for a process within a simulation.