Searched refs:GhostCache (Results 1 – 3 of 3) sorted by relevance
83 class GhostCache {85 explicit GhostCache(std::shared_ptr<Cache> sim_cache);86 ~GhostCache() = default;88 GhostCache(const GhostCache&) = delete;89 GhostCache& operator=(const GhostCache&) = delete;90 GhostCache(GhostCache&&) = delete;91 GhostCache& operator=(GhostCache&&) = delete;104 CacheSimulator(std::unique_ptr<GhostCache>&& ghost_cache,121 std::unique_ptr<GhostCache> ghost_cache_;130 PrioritizedCacheSimulator(std::unique_ptr<GhostCache>&& ghost_cache, in PrioritizedCacheSimulator()[all …]
16 GhostCache::GhostCache(std::shared_ptr<Cache> sim_cache) in GhostCache() function in ROCKSDB_NAMESPACE::GhostCache19 bool GhostCache::Admit(const Slice& lookup_key) { in Admit()30 CacheSimulator::CacheSimulator(std::unique_ptr<GhostCache>&& ghost_cache, in CacheSimulator()206 std::unique_ptr<GhostCache> ghost_cache; in InitializeCaches()209 ghost_cache.reset(new GhostCache( in InitializeCaches()
96 TEST_F(CacheSimulatorTest, GhostCache) { in TEST_F() argument99 std::unique_ptr<GhostCache> ghost_cache(new GhostCache( in TEST_F()145 std::unique_ptr<GhostCache> ghost_cache(new GhostCache( in TEST_F()181 std::unique_ptr<GhostCache> ghost_cache(new GhostCache( in TEST_F()455 std::unique_ptr<GhostCache> ghost_cache(new GhostCache( in TEST_F()