Expand description
Values for working with a simulated duration. Use EmulatedTime to represent an instant in time.
In Rust, use EmulatedTime to represent an instant in time, or
SimulationTime to represent a time interval. SimulationTime is meant to
replace SimulationTime from the C APIs.
This module contains some identically-named constants defined as C macros in
main/core/definitions.h.
Modules§
Structs§
Constants§
- SIMTIME_
INVALID  - Invalid simulation time.
 - SIMTIME_
MAX  - Maximum and minimum valid values.
 - SIMTIME_
MIN  - SIMTIME_
ONE_ HOUR  - Represents one hour in simulation time.
 - SIMTIME_
ONE_ MICROSECOND  - Represents one microsecond in simulation time.
 - SIMTIME_
ONE_ MILLISECOND  - Represents one millisecond in simulation time.
 - SIMTIME_
ONE_ MINUTE  - Represents one minute in simulation time.
 - SIMTIME_
ONE_ NANOSECOND  - Represents one nanosecond in simulation time.
 - SIMTIME_
ONE_ SECOND  - Represents one second in simulation time.
 
Type Aliases§
- CSimulation
Time  - The same as the type alias in the ‘main/cshadow.rs’ bindings.