Crate bitwheel

Crate bitwheel 

Source

Macros§

define_bitwheel
define_dual_bitwheel
Convenience macro for defining custom dual wheel configurations.

Structs§

BitWheel
BitWheelWithFailover
DualBitWheel
A dual-lane timer wheel with independent configurations for periodic and one-shot timers.
InsertError
OneshotCapacityInfo
Capacity information for oneshot wheel configuration.
PeriodicCapacityInfo
Capacity information for periodic wheel configuration.
PollError
TimerHandle
Handle for cancelling a pending timer.

Constants§

DEFAULT_FAILOVER_INTERVAL
DEFAULT_GEARS
DEFAULT_MAX_PROBES
DEFAULT_O_MAX_PROBES
DEFAULT_O_NUM_GEARS
DEFAULT_O_RESOLUTION_MS
DEFAULT_O_SLOT_CAP
DEFAULT_P_NUM_GEARS
DEFAULT_P_RESOLUTION_MS
DEFAULT_P_SLOT_CAP
DEFAULT_RESOLUTION_MS
DEFAULT_SLOT_CAP
PERIODIC_PROBES

Traits§

Timer
TimerDriver
Trait for timer driver implementations.

Type Aliases§

BalancedFastWheel
Low latency balanced. 5ms resolution, ~23 hours. Hotspot: 128. Memory: ~800KB. Minimal probing.
BalancedFastWheelWithFailover
Low latency balanced with failover. 5ms resolution, ~23 hours. Hotspot: 128. Memory: ~800KB. Failover check: 115ms.
BalancedLightWheel
Compact balanced. 5ms resolution, ~23 hours. Hotspot: 128. Memory: ~100KB. More probing.
BalancedLightWheelWithFailover
Compact balanced with failover. 5ms resolution, ~23 hours. Hotspot: 128. Memory: ~100KB. Failover check: 115ms.
BalancedWheel
Standard balanced. 5ms resolution, ~23 hours. Hotspot: 128. Memory: ~200KB.
BalancedWheelWithFailover
Standard balanced with failover. 5ms resolution, ~23 hours. Hotspot: 128. Memory: ~200KB. Failover check: 115ms.
BurstFastWheel
Low latency burst. 5ms resolution, ~23 hours. Hotspot: 256. Memory: ~1.6MB. Minimal probing.
BurstFastWheelWithFailover
Low latency burst with failover. 5ms resolution, ~23 hours. Hotspot: 256. Memory: ~1.6MB. Failover check: 115ms.
BurstLightWheel
Compact burst. 5ms resolution, ~23 hours. Hotspot: 256. Memory: ~200KB. More probing.
BurstLightWheelWithFailover
Compact burst with failover. 5ms resolution, ~23 hours. Hotspot: 256. Memory: ~200KB. Failover check: 115ms.
BurstWheel
Standard burst. 5ms resolution, ~23 hours. Hotspot: 256. Memory: ~400KB.
BurstWheelWithFailover
Standard burst with failover. 5ms resolution, ~23 hours. Hotspot: 256. Memory: ~400KB. Failover check: 115ms.
ExtendedDualWheel
Extended periodic + Extended oneshot. Periodic: 1s res, ~68 min. Oneshot: 16ms res, ~3 days.
ExtendedFastDualWheel
Extended periodic + Extended Fast oneshot.
ExtendedFastWheel
Low latency extended. 16ms resolution, ~3 days. Hotspot: 128. Memory: ~800KB. Minimal probing.
ExtendedFastWheelWithFailover
Low latency extended with failover. 16ms resolution, ~3 days. Hotspot: 128. Memory: ~800KB. Failover check: 368ms.
ExtendedLightDualWheel
Extended periodic + Extended Light oneshot.
ExtendedLightWheel
Compact extended. 16ms resolution, ~3 days. Hotspot: 128. Memory: ~100KB. More probing.
ExtendedLightWheelWithFailover
Compact extended with failover. 16ms resolution, ~3 days. Hotspot: 128. Memory: ~100KB. Failover check: 368ms.
ExtendedPeriodicWheel
ExtendedWheel
Standard extended. 16ms resolution, ~3 days. Hotspot: 128. Memory: ~200KB.
ExtendedWheelWithFailover
Standard extended with failover. 16ms resolution, ~3 days. Hotspot: 128. Memory: ~200KB. Failover check: 368ms.
FastBalancedDualWheel
Fast periodic + Balanced oneshot. Periodic: 25ms res, ~1.7 min. Oneshot: 5ms res, ~23 hrs.
FastBalancedFastDualWheel
Fast periodic + Balanced Fast oneshot.
FastBalancedLightDualWheel
Fast periodic + Balanced Light oneshot.
FastBurstDualWheel
Fast periodic + Burst oneshot. Periodic: 25ms res, ~1.7 min. Oneshot: 5ms res, ~23 hrs, 2x hotspot.
FastBurstFastDualWheel
Fast periodic + Burst Fast oneshot.
FastBurstLightDualWheel
Fast periodic + Burst Light oneshot.
FastPeriodicWheel
FastPreciseDualWheel
Fast periodic + Precise oneshot. Periodic: 25ms res, ~1.7 min. Oneshot: 1ms res, ~4.7 hrs.
FastPreciseFastDualWheel
Fast periodic + Precise Fast oneshot.
FastPreciseLightDualWheel
Fast periodic + Precise Light oneshot.
PreciseFastWheel
Low latency precise. 1ms resolution, ~4.7 hours. Hotspot: 128. Memory: ~800KB. Minimal probing.
PreciseFastWheelWithFailover
Low latency precise with failover. 1ms resolution, ~4.7 hours. Hotspot: 128. Memory: ~800KB. Failover check: 23ms.
PreciseLightWheel
Compact precise. 1ms resolution, ~4.7 hours. Hotspot: 128. Memory: ~100KB. More probing.
PreciseLightWheelWithFailover
Compact precise with failover. 1ms resolution, ~4.7 hours. Hotspot: 128. Memory: ~100KB. Failover check: 23ms.
PreciseWheel
Standard precise. 1ms resolution, ~4.7 hours. Hotspot: 128. Memory: ~200KB.
PreciseWheelWithFailover
Standard precise with failover. 1ms resolution, ~4.7 hours. Hotspot: 128. Memory: ~200KB. Failover check: 23ms.
RelaxedBalancedDualWheel
Relaxed periodic + Balanced oneshot. Periodic: 500ms res, ~34 min. Oneshot: 5ms res, ~23 hrs.
RelaxedBalancedFastDualWheel
Relaxed periodic + Balanced Fast oneshot.
RelaxedBalancedLightDualWheel
Relaxed periodic + Balanced Light oneshot.
RelaxedBurstDualWheel
Relaxed periodic + Burst oneshot. Periodic: 500ms res, ~34 min. Oneshot: 5ms res, ~23 hrs, 2x hotspot.
RelaxedBurstFastDualWheel
Relaxed periodic + Burst Fast oneshot.
RelaxedBurstLightDualWheel
Relaxed periodic + Burst Light oneshot.
RelaxedPeriodicWheel
RelaxedPreciseDualWheel
Relaxed periodic + Precise oneshot. Periodic: 500ms res, ~34 min. Oneshot: 1ms res, ~4.7 hrs.
RelaxedPreciseFastDualWheel
Relaxed periodic + Precise Fast oneshot.
RelaxedPreciseLightDualWheel
Relaxed periodic + Precise Light oneshot.
StandardBalancedDualWheel
Standard periodic + Balanced oneshot. Periodic: 100ms res, ~7 min. Oneshot: 5ms res, ~23 hrs.
StandardBalancedFastDualWheel
Standard periodic + Balanced Fast oneshot.
StandardBalancedLightDualWheel
Standard periodic + Balanced Light oneshot.
StandardBurstDualWheel
Standard periodic + Burst oneshot. Periodic: 100ms res, ~7 min. Oneshot: 5ms res, ~23 hrs, 2x hotspot.
StandardBurstFastDualWheel
Standard periodic + Burst Fast oneshot.
StandardBurstLightDualWheel
Standard periodic + Burst Light oneshot.
StandardPeriodicWheel
StandardPreciseDualWheel
Standard periodic + Precise oneshot. Periodic: 100ms res, ~7 min. Oneshot: 1ms res, ~4.7 hrs.
StandardPreciseFastDualWheel
Standard periodic + Precise Fast oneshot.
StandardPreciseLightDualWheel
Standard periodic + Precise Light oneshot.