WoW Lab

WoW Lab

Toolkit

Simulate

Quick SimBest in BagsDrop Optimizer

Rotations

BrowseNew Rotation

Plan

Traits
P

Developer

DocsBibleEngineHooksMCP ServerMetricsUI Showcase

Misc

AboutBlog

© 2025 WoW Lab

  1. Home
  2. Bible
  3. Event System

Event System

Timing wheel scheduling, event types, and arena allocation

February 13, 2026
Edit

Timing wheel data structure for O(1) event scheduling, wheel size 32768 slots (5-bit shift), bitmap tracking for occupied slots, arena-based allocation with free list, sequence numbers for FIFO ordering within same timestamp, SimEvent variants (GcdEnd, CastComplete, SpellDamage, AuraExpire, AuraTick, CooldownReady, ChargeReady, AutoAttack, PetAttack, ResourceTick, ProcIcdEnd, SimEnd), events_processed and events_scheduled metrics, SimTime(u32) millisecond resolution, why timing wheel over binary heap (cache locality, O(1) insert/pop vs O(log n)).

Next steps

Damage Resolution
Discrete Event Simulation
Damage Resolution

Navigation

IntroductionGlossaryReferences

Overview

Mechanics

Game Data

Simulation

Discrete Event SimulationEvent SystemDamage ResolutionRotation CompilerSpec HandlersMetrics and Statistics

Infrastructure

Portal