Home
last modified time | relevance | path

Searched refs:GhostCache (Results 1 – 3 of 3) sorted by relevance

/rocksdb-6.9/utilities/simulator_cache/
Dcache_simulator.h83 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 …]
Dcache_simulator.cc16 GhostCache::GhostCache(std::shared_ptr<Cache> sim_cache) in GhostCache() function in ROCKSDB_NAMESPACE::GhostCache
19 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()
Dcache_simulator_test.cc96 TEST_F(CacheSimulatorTest, GhostCache) { in TEST_F() argument
99 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()