Flush all dirty cache lines to RAM then invalidate every level cold.
(&mut self)
| 157 | size: 256 * 1024, // 256KB |
| 158 | block_size: 64, |
| 159 | associativity: 8, |
| 160 | write_back: true, |
| 161 | read_only: false, |
| 162 | }; |
| 163 | let l2_cache = Cache::new(l2_params, l3_cache); |
| 164 | |
| 165 | // L1: 4KB, 64-byte blocks, 2-way set associative |
| 166 | let l1_params = CacheParams { |
| 167 | size: 4096, // 4KB |
| 168 | block_size: 64, |
| 169 | associativity: 2, |
no test coverage detected