Home
last modified time | relevance | path

Searched refs:block_key (Results 1 – 13 of 13) sorted by relevance

/rocksdb-6.9/utilities/simulator_cache/
Dcache_simulator_test.cc136 auto handle = sim_cache->Lookup(access.block_key); in TEST_F()
307 get.block_key = "1"; in TEST_F()
333 get.block_key = "2"; in TEST_F()
338 get.block_key = "3"; in TEST_F()
347 get.block_key = "4"; in TEST_F()
358 get.block_key = "3"; in TEST_F()
368 get.block_key = "4"; in TEST_F()
379 get.block_key = "4"; in TEST_F()
391 get.block_key = "5"; in TEST_F()
407 get.block_key = std::to_string(i); in TEST_F()
[all …]
Dcache_simulator.cc40 admit = ghost_cache_->Admit(access.block_key); in Access()
42 auto handle = sim_cache_->Lookup(access.block_key); in Access()
48 sim_cache_->Insert(access.block_key, /*value=*/nullptr, access.block_size, in Access()
115 AccessKVPair(access.block_key, access.block_size, in Access()
173 access.block_key, access.block_size, ComputeBlockPriority(access), in Access()
186 AccessKVPair(access.block_key, access.block_size, in Access()
/rocksdb-6.9/trace_replay/
Dblock_cache_tracer.cc31 return 0 == fastrange64(GetSliceNPHash64(block_key), in ShouldTrace()
91 Slice input(access.block_key); in GetBlockOffsetInFile()
121 PutLengthPrefixedSlice(&trace.payload, block_key); in WriteBlockAccess()
220 Slice block_key; in ReadAccess() local
221 if (!GetLengthPrefixedSlice(&enc_slice, &block_key)) { in ReadAccess()
225 record->block_key = block_key.ToString(); in ReadAccess()
343 static_cast<uint64_t>(access.block_key.size()), in WriteHumanReadableTraceRecord()
386 uint64_t block_key = ParseUint64(record_strs[1]); in ReadAccess() local
421 PutVarint64(&tmp_block_key, block_key); in ReadAccess()
425 record->block_key += "1"; in ReadAccess()
[all …]
Dblock_cache_tracer_test.cc65 record.block_key = (kBlockKeyPrefix + std::to_string(key_id)); in WriteBlockAccess()
86 record, record.block_key, record.cf_name, record.referenced_key)); in WriteBlockAccess()
95 record.block_key = kBlockKeyPrefix + std::to_string(key_id); in GenerateAccessRecord()
119 ASSERT_EQ(kBlockKeyPrefix + std::to_string(key_id), record.block_key); in VerifyAccess()
167 ASSERT_OK(writer.WriteBlockAccess(record, record.block_key, record.cf_name, in TEST_F()
191 ASSERT_OK(writer.WriteBlockAccess(record, record.block_key, record.cf_name, in TEST_F()
230 ASSERT_OK(writer.WriteBlockAccess(record, record.block_key, record.cf_name, in TEST_F()
235 ASSERT_OK(writer.WriteBlockAccess(record, record.block_key, record.cf_name, in TEST_F()
334 PutLengthPrefixedSlice(&record.block_key, "block_key"); in TEST_F()
335 PutVarint64(&record.block_key, 333); in TEST_F()
[all …]
Dblock_cache_tracer.h82 std::string block_key; member
99 block_key = _block_key; in FillLookupContext()
109 std::string block_key; member
141 block_key(_block_key), in access_timestamp()
186 const Slice& block_key, const Slice& cf_name,
280 const Slice& block_key, const Slice& cf_name,
/rocksdb-6.9/tools/block_cache_analyzer/
Dblock_cache_trace_analyzer.cc731 uint64_t block_key, const BlockAccessInfo& block) const { in BuildLabel() argument
739 label_value_map[kGroupbyBlock] = std::to_string(block_key); in BuildLabel()
1459 for (auto const& block_key : info->unique_blocks_since_last_access) { in ComputeReuseDistance() local
1460 auto const& it = block_info_map_.find(block_key); in ComputeReuseDistance()
1478 if (block_type_aggr.block_access_info_map.find(access.block_key) == in RecordAccess()
1480 block_type_aggr.block_access_info_map[access.block_key].block_id = in RecordAccess()
1485 block_type_aggr.block_access_info_map[access.block_key]; in RecordAccess()
1490 block_info_map_[access.block_key] = &block_access_info; in RecordAccess()
1512 access.block_key); in RecordAccess()
1646 const std::string& block_key, uint64_t /*block_id*/, in PrintAccessCountStats()
[all …]
Dblock_cache_trace_analyzer_test.cc104 record.block_key = kBlockKeyPrefix + std::to_string(key_id); in WriteBlockAccess()
125 record, record.block_key, record.cf_name, record.referenced_key)); in WriteBlockAccess()
Dblock_cache_trace_analyzer.h324 TableReaderCaller caller, uint64_t block_key,
Dblock_cache_pysim.py676 def block_key(self, trace_record): member in Cache
741 self.block_key(trace_record),
795 key=self.block_key(trace_record),
/rocksdb-6.9/utilities/persistent_cache/
Dpersistent_cache_bench.cc192 Slice block_key = FillKey(k, key); in InsertKey() local
200 Status status = cache_->Insert(block_key, block.get(), FLAGS_iosize); in InsertKey()
/rocksdb-6.9/table/block_based/
Dblock.cc715 Slice block_key(key_ptr, non_shared); in CompareBlockKey() local
716 return Compare(block_key, target); in CompareBlockKey()
Dblock_based_table_reader.cc2273 access_record, lookup_data_block_context.block_key, in Get()
2578 access_record, lookup_data_block_context.block_key, in MultiGet()
/rocksdb-6.9/table/
Dtable_test.cc1130 EXPECT_NE("", access.block_key); in VerifyBlockAccessTrace()