allocator-statistics ( allocator -- assoc )


Vocabulary
compiler.cfg.register-allocation

Inputs
allocatoran allocator object


Outputs
assocan association of diagnostic names to values


Word description
Returns a snapshot of diagnostics for the most recent allocation in the current dynamic scope. Implementations may report evictions, splits, graph properties or other algorithm-specific counters. The default method returns an empty association. The returned data must not change when a later allocation runs. Diagnostics must not affect allocation decisions.

Definition


Methods










M: greedy-allocator allocator-statistics
drop greedy-statistics get H{ } or
clone "llvm-style-greedy" "algorithm" pick set-at
0 "fallback-count" pick set-at ;