Skip to main content

Module time

Module time 

Source
Expand description

The time module provides fundamental types and utilities for managing time within the discrete event simulation.

This includes SimTime for representing absolute simulation time, Duration for time intervals, MicroStep for ordering events within the same SimTime, and TickStatus/MicroStepStatus for tracking the current state of time progression.

Structs§

Duration
Represents a duration of simulation time.
MicroStep
Represents the sequence of micro-steps within a single simulation tick.
MicroStepStatus
Tracks the current state of micro-steps within a simulation tick.
SimTime
Represents a specific point in simulation time.
TickStatus
Tracks the simulation’s progress through time ticks, including handled skips.

Type Aliases§

TimeTick
Represents a duration or point in time measured in simulation ticks.