Skip to main content

Module bench_metrics

Module bench_metrics 

Source
Expand description

Benchmark-only engine counters shared by the runtime layers.

Forge installs these thread-local counters through the bench-metrics feature. Every recorder is an inline no-op without the feature.

Modulesยง

enabled ๐Ÿ”’

Macrosยง

amount_recorder ๐Ÿ”’
recorder ๐Ÿ”’

Structsยง

BenchmarkCounters
Raw work counters captured for one fixed-seed benchmark sample.

Functionsยง

measure_reset
Time one handler reset when benchmark metrics are enabled.
record_aura_event
record_aura_slot_visit
record_damage_action_setup
record_damage_event
record_damage_owner_setup
record_damage_plan_keyed_lookup
record_damage_plan_raw_binary_search
record_damage_setup_stages
record_damage_target
record_damage_target_setup
record_event
record_game_data_hot_read
record_keyed_lookup
record_planned_aura_bindings
record_planned_aura_projection_bindings
record_planned_aura_spell_bindings
record_planned_guardian_slot_visit
record_planned_rotation_projection_binding
record_rotation_ast_lowering
record_rotation_evaluation
record_scanned_aura_definitions
record_scanned_aura_projections
record_scanned_aura_spells
record_scanned_rotation_projection_spell
record_target_plan_runtime_fallback
record_target_plan_runtime_lowering
reset
Clear counters before a measured sample.
snapshot
Snapshot the current counters.