183 lines
6.1 KiB
Rust
183 lines
6.1 KiB
Rust
|
// Generated by gen_tick.py. DO NOT EDIT.
|
||
|
|
||
|
#[cfg(feature = "tick-hz-1")]
|
||
|
pub const TICK_HZ: u64 = 1;
|
||
|
#[cfg(feature = "tick-hz-10")]
|
||
|
pub const TICK_HZ: u64 = 10;
|
||
|
#[cfg(feature = "tick-hz-100")]
|
||
|
pub const TICK_HZ: u64 = 100;
|
||
|
#[cfg(feature = "tick-hz-1_000")]
|
||
|
pub const TICK_HZ: u64 = 1_000;
|
||
|
#[cfg(feature = "tick-hz-10_000")]
|
||
|
pub const TICK_HZ: u64 = 10_000;
|
||
|
#[cfg(feature = "tick-hz-100_000")]
|
||
|
pub const TICK_HZ: u64 = 100_000;
|
||
|
#[cfg(feature = "tick-hz-1_000_000")]
|
||
|
pub const TICK_HZ: u64 = 1_000_000;
|
||
|
#[cfg(feature = "tick-hz-10_000_000")]
|
||
|
pub const TICK_HZ: u64 = 10_000_000;
|
||
|
#[cfg(feature = "tick-hz-100_000_000")]
|
||
|
pub const TICK_HZ: u64 = 100_000_000;
|
||
|
#[cfg(feature = "tick-hz-1_000_000_000")]
|
||
|
pub const TICK_HZ: u64 = 1_000_000_000;
|
||
|
#[cfg(feature = "tick-hz-2")]
|
||
|
pub const TICK_HZ: u64 = 2;
|
||
|
#[cfg(feature = "tick-hz-4")]
|
||
|
pub const TICK_HZ: u64 = 4;
|
||
|
#[cfg(feature = "tick-hz-8")]
|
||
|
pub const TICK_HZ: u64 = 8;
|
||
|
#[cfg(feature = "tick-hz-16")]
|
||
|
pub const TICK_HZ: u64 = 16;
|
||
|
#[cfg(feature = "tick-hz-32")]
|
||
|
pub const TICK_HZ: u64 = 32;
|
||
|
#[cfg(feature = "tick-hz-64")]
|
||
|
pub const TICK_HZ: u64 = 64;
|
||
|
#[cfg(feature = "tick-hz-128")]
|
||
|
pub const TICK_HZ: u64 = 128;
|
||
|
#[cfg(feature = "tick-hz-256")]
|
||
|
pub const TICK_HZ: u64 = 256;
|
||
|
#[cfg(feature = "tick-hz-512")]
|
||
|
pub const TICK_HZ: u64 = 512;
|
||
|
#[cfg(feature = "tick-hz-1_024")]
|
||
|
pub const TICK_HZ: u64 = 1_024;
|
||
|
#[cfg(feature = "tick-hz-2_048")]
|
||
|
pub const TICK_HZ: u64 = 2_048;
|
||
|
#[cfg(feature = "tick-hz-4_096")]
|
||
|
pub const TICK_HZ: u64 = 4_096;
|
||
|
#[cfg(feature = "tick-hz-8_192")]
|
||
|
pub const TICK_HZ: u64 = 8_192;
|
||
|
#[cfg(feature = "tick-hz-16_384")]
|
||
|
pub const TICK_HZ: u64 = 16_384;
|
||
|
#[cfg(feature = "tick-hz-32_768")]
|
||
|
pub const TICK_HZ: u64 = 32_768;
|
||
|
#[cfg(feature = "tick-hz-65_536")]
|
||
|
pub const TICK_HZ: u64 = 65_536;
|
||
|
#[cfg(feature = "tick-hz-131_072")]
|
||
|
pub const TICK_HZ: u64 = 131_072;
|
||
|
#[cfg(feature = "tick-hz-262_144")]
|
||
|
pub const TICK_HZ: u64 = 262_144;
|
||
|
#[cfg(feature = "tick-hz-524_288")]
|
||
|
pub const TICK_HZ: u64 = 524_288;
|
||
|
#[cfg(feature = "tick-hz-1_048_576")]
|
||
|
pub const TICK_HZ: u64 = 1_048_576;
|
||
|
#[cfg(feature = "tick-hz-2_097_152")]
|
||
|
pub const TICK_HZ: u64 = 2_097_152;
|
||
|
#[cfg(feature = "tick-hz-4_194_304")]
|
||
|
pub const TICK_HZ: u64 = 4_194_304;
|
||
|
#[cfg(feature = "tick-hz-8_388_608")]
|
||
|
pub const TICK_HZ: u64 = 8_388_608;
|
||
|
#[cfg(feature = "tick-hz-16_777_216")]
|
||
|
pub const TICK_HZ: u64 = 16_777_216;
|
||
|
#[cfg(feature = "tick-hz-2_000_000")]
|
||
|
pub const TICK_HZ: u64 = 2_000_000;
|
||
|
#[cfg(feature = "tick-hz-3_000_000")]
|
||
|
pub const TICK_HZ: u64 = 3_000_000;
|
||
|
#[cfg(feature = "tick-hz-4_000_000")]
|
||
|
pub const TICK_HZ: u64 = 4_000_000;
|
||
|
#[cfg(feature = "tick-hz-6_000_000")]
|
||
|
pub const TICK_HZ: u64 = 6_000_000;
|
||
|
#[cfg(feature = "tick-hz-8_000_000")]
|
||
|
pub const TICK_HZ: u64 = 8_000_000;
|
||
|
#[cfg(feature = "tick-hz-9_000_000")]
|
||
|
pub const TICK_HZ: u64 = 9_000_000;
|
||
|
#[cfg(feature = "tick-hz-12_000_000")]
|
||
|
pub const TICK_HZ: u64 = 12_000_000;
|
||
|
#[cfg(feature = "tick-hz-16_000_000")]
|
||
|
pub const TICK_HZ: u64 = 16_000_000;
|
||
|
#[cfg(feature = "tick-hz-18_000_000")]
|
||
|
pub const TICK_HZ: u64 = 18_000_000;
|
||
|
#[cfg(feature = "tick-hz-24_000_000")]
|
||
|
pub const TICK_HZ: u64 = 24_000_000;
|
||
|
#[cfg(feature = "tick-hz-32_000_000")]
|
||
|
pub const TICK_HZ: u64 = 32_000_000;
|
||
|
#[cfg(feature = "tick-hz-36_000_000")]
|
||
|
pub const TICK_HZ: u64 = 36_000_000;
|
||
|
#[cfg(feature = "tick-hz-48_000_000")]
|
||
|
pub const TICK_HZ: u64 = 48_000_000;
|
||
|
#[cfg(feature = "tick-hz-64_000_000")]
|
||
|
pub const TICK_HZ: u64 = 64_000_000;
|
||
|
#[cfg(feature = "tick-hz-72_000_000")]
|
||
|
pub const TICK_HZ: u64 = 72_000_000;
|
||
|
#[cfg(feature = "tick-hz-96_000_000")]
|
||
|
pub const TICK_HZ: u64 = 96_000_000;
|
||
|
#[cfg(feature = "tick-hz-128_000_000")]
|
||
|
pub const TICK_HZ: u64 = 128_000_000;
|
||
|
#[cfg(feature = "tick-hz-144_000_000")]
|
||
|
pub const TICK_HZ: u64 = 144_000_000;
|
||
|
#[cfg(feature = "tick-hz-192_000_000")]
|
||
|
pub const TICK_HZ: u64 = 192_000_000;
|
||
|
#[cfg(feature = "tick-hz-256_000_000")]
|
||
|
pub const TICK_HZ: u64 = 256_000_000;
|
||
|
#[cfg(feature = "tick-hz-288_000_000")]
|
||
|
pub const TICK_HZ: u64 = 288_000_000;
|
||
|
#[cfg(feature = "tick-hz-384_000_000")]
|
||
|
pub const TICK_HZ: u64 = 384_000_000;
|
||
|
#[cfg(feature = "tick-hz-512_000_000")]
|
||
|
pub const TICK_HZ: u64 = 512_000_000;
|
||
|
#[cfg(feature = "tick-hz-576_000_000")]
|
||
|
pub const TICK_HZ: u64 = 576_000_000;
|
||
|
#[cfg(feature = "tick-hz-768_000_000")]
|
||
|
pub const TICK_HZ: u64 = 768_000_000;
|
||
|
#[cfg(not(any(
|
||
|
feature = "tick-hz-1",
|
||
|
feature = "tick-hz-10",
|
||
|
feature = "tick-hz-100",
|
||
|
feature = "tick-hz-1_000",
|
||
|
feature = "tick-hz-10_000",
|
||
|
feature = "tick-hz-100_000",
|
||
|
feature = "tick-hz-1_000_000",
|
||
|
feature = "tick-hz-10_000_000",
|
||
|
feature = "tick-hz-100_000_000",
|
||
|
feature = "tick-hz-1_000_000_000",
|
||
|
feature = "tick-hz-2",
|
||
|
feature = "tick-hz-4",
|
||
|
feature = "tick-hz-8",
|
||
|
feature = "tick-hz-16",
|
||
|
feature = "tick-hz-32",
|
||
|
feature = "tick-hz-64",
|
||
|
feature = "tick-hz-128",
|
||
|
feature = "tick-hz-256",
|
||
|
feature = "tick-hz-512",
|
||
|
feature = "tick-hz-1_024",
|
||
|
feature = "tick-hz-2_048",
|
||
|
feature = "tick-hz-4_096",
|
||
|
feature = "tick-hz-8_192",
|
||
|
feature = "tick-hz-16_384",
|
||
|
feature = "tick-hz-32_768",
|
||
|
feature = "tick-hz-65_536",
|
||
|
feature = "tick-hz-131_072",
|
||
|
feature = "tick-hz-262_144",
|
||
|
feature = "tick-hz-524_288",
|
||
|
feature = "tick-hz-1_048_576",
|
||
|
feature = "tick-hz-2_097_152",
|
||
|
feature = "tick-hz-4_194_304",
|
||
|
feature = "tick-hz-8_388_608",
|
||
|
feature = "tick-hz-16_777_216",
|
||
|
feature = "tick-hz-2_000_000",
|
||
|
feature = "tick-hz-3_000_000",
|
||
|
feature = "tick-hz-4_000_000",
|
||
|
feature = "tick-hz-6_000_000",
|
||
|
feature = "tick-hz-8_000_000",
|
||
|
feature = "tick-hz-9_000_000",
|
||
|
feature = "tick-hz-12_000_000",
|
||
|
feature = "tick-hz-16_000_000",
|
||
|
feature = "tick-hz-18_000_000",
|
||
|
feature = "tick-hz-24_000_000",
|
||
|
feature = "tick-hz-32_000_000",
|
||
|
feature = "tick-hz-36_000_000",
|
||
|
feature = "tick-hz-48_000_000",
|
||
|
feature = "tick-hz-64_000_000",
|
||
|
feature = "tick-hz-72_000_000",
|
||
|
feature = "tick-hz-96_000_000",
|
||
|
feature = "tick-hz-128_000_000",
|
||
|
feature = "tick-hz-144_000_000",
|
||
|
feature = "tick-hz-192_000_000",
|
||
|
feature = "tick-hz-256_000_000",
|
||
|
feature = "tick-hz-288_000_000",
|
||
|
feature = "tick-hz-384_000_000",
|
||
|
feature = "tick-hz-512_000_000",
|
||
|
feature = "tick-hz-576_000_000",
|
||
|
feature = "tick-hz-768_000_000",
|
||
|
)))]
|
||
|
pub const TICK_HZ: u64 = 1_000_000;
|