()
| 25 | |
| 26 | impl Default for BranchPredictor { |
| 27 | fn default() -> Self { |
| 28 | Self { |
| 29 | pht: [1u8; PHT_SIZE], // start weakly-not-taken |
| 30 | btb: HashMap::new(), |
| 31 | stats: PredictorStats::default(), |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | impl BranchPredictor { |
nothing calls this directly
no outgoing calls
no test coverage detected