Skip to main content

MAX_RATE_TARGET_HZ

Constant MAX_RATE_TARGET_HZ 

Source
pub const MAX_RATE_TARGET_HZ: u64 = 1_000_000_000; // 1_000_000_000u64
Expand description

Maximum representable Copper runtime rate target in whole Hertz.

Copper stores runtime periods in integer nanoseconds, so anything above 1 GHz would round down to a zero-duration period.