MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / stats

Method stats

crates/virtual-machine/src/cpu/predictor.rs:77–79  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

75 }
76
77 /// Clear PHT and BTB, preserving stats. Called on an address-space change so
78 /// another process's entries at the same virtual PCs cannot mispredict.
79 pub fn clear(&mut self) {
80 self.pht = [1u8; PHT_SIZE];
81 self.btb.clear();
82 }

Callers 1

predictor_statsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected