Home
last modified time | relevance | path

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

/rocksdb-6.9/utilities/simulator_cache/
Dcache_simulator.cc130 const std::string& row_key = BlockCacheTraceHelper::ComputeRowKey(access); in Access() local
144 if (status.row_key_status.find(row_key) == status.row_key_status.end()) { in Access()
148 AccessKVPair(row_key, access.referenced_data_size, Cache::Priority::HIGH, in Access()
159 status.row_key_status[row_key] = result; in Access()
171 InsertResult inserted = status.row_key_status[row_key]; in Access()
179 sim_cache_->Insert(row_key, /*value=*/nullptr, in Access()
182 status.row_key_status[row_key] = InsertResult::INSERTED; in Access()
Dcache_simulator_test.cc85 std::string row_key = kRefKeyPrefix + key + kRefKeySequenceNumber; in AssertCache() local
87 sim_cache->Lookup("0_" + ExtractUserKey(row_key).ToString()); in AssertCache()
/rocksdb-6.9/tools/block_cache_analyzer/
Dblock_cache_pysim.py679 def row_key(self, trace_record): member in Cache
751 row_key = self.row_key(trace_record)
765 if row_key not in self.get_id_row_key_map[trace_record.get_id]:
769 key=row_key,
777 self.get_id_row_key_map[trace_record.get_id][row_key] = inserted
805 and not self.get_id_row_key_map[trace_record.get_id][row_key]
810 key=row_key,
816 self.get_id_row_key_map[trace_record.get_id][row_key] = True