Searched refs:CacheSimulator (Results 1 – 3 of 3) sorted by relevance
102 class CacheSimulator {104 CacheSimulator(std::unique_ptr<GhostCache>&& ghost_cache,106 virtual ~CacheSimulator() = default;108 CacheSimulator(const CacheSimulator&) = delete;109 CacheSimulator& operator=(const CacheSimulator&) = delete;110 CacheSimulator(CacheSimulator&&) = delete;111 CacheSimulator& operator=(CacheSimulator&&) = delete;128 class PrioritizedCacheSimulator : public CacheSimulator {132 : CacheSimulator(std::move(ghost_cache), sim_cache) {} in PrioritizedCacheSimulator()215 std::vector<std::shared_ptr<CacheSimulator>>>&[all …]
30 CacheSimulator::CacheSimulator(std::unique_ptr<GhostCache>&& ghost_cache, in CacheSimulator() function in ROCKSDB_NAMESPACE::CacheSimulator34 void CacheSimulator::Access(const BlockCacheTraceRecord& access) { in Access()205 std::shared_ptr<CacheSimulator> sim_cache; in InitializeCaches()216 sim_cache = std::make_shared<CacheSimulator>( in InitializeCaches()
110 TEST_F(CacheSimulatorTest, CacheSimulator) { in TEST_F() argument117 std::unique_ptr<CacheSimulator> cache_simulator( in TEST_F()118 new CacheSimulator(nullptr, sim_cache)); in TEST_F()149 std::unique_ptr<CacheSimulator> cache_simulator(new CacheSimulator( in TEST_F()