Module shadow_shim_helper_rs::simulation_time
source · 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§
- Invalid simulation time.
- Maximum and minimum valid values.
- Represents one hour in simulation time.
- Represents one microsecond in simulation time.
- Represents one millisecond in simulation time.
- Represents one minute in simulation time.
- Represents one nanosecond in simulation time.
- Represents one second in simulation time.
Type Aliases§
- The same as the type alias in the ‘main/cshadow.rs’ bindings.