solana_sdk::clock

Constant SLOT_MS

source
pub const SLOT_MS: u64 = DEFAULT_MS_PER_SLOT; // 400u64
👎Deprecated since 1.15.0: Please use DEFAULT_MS_PER_SLOT instead
Expand description

The expected duration of a slot (400 milliseconds).