Searched refs:cacheStore (Results 1 - 2 of 2) sorted by relevance

/gem5/src/learning_gem5/part2/
H A Dsimple_cache.cc343 auto it = cacheStore.find(block_addr);
344 if (it != cacheStore.end()) {
365 assert(cacheStore.find(pkt->getAddr()) == cacheStore.end());
369 if (cacheStore.size() >= capacity) {
374 bucket = random_mt.random(0, (int)cacheStore.bucket_count() - 1);
375 } while ( (bucket_size = cacheStore.bucket_size(bucket)) == 0 );
376 auto block = std::next(cacheStore.begin(bucket),
394 cacheStore.erase(block->first);
404 cacheStore[pk
[all...]
H A Dsimple_cache.hh294 std::unordered_map<Addr, uint8_t*> cacheStore; member in class:SimpleCache

Completed in 6 milliseconds