Lines Matching refs:DB
139 db_->GetIntProperty(handle, DB::Properties::kSizeAllMemTables, &value)); in TEST_F()
142 ASSERT_TRUE(db_->GetAggregatedIntProperty(DB::Properties::kSizeAllMemTables, in TEST_F()
147 ASSERT_FALSE(db_->GetAggregatedIntProperty(DB::Properties::kDBStats, &value)); in TEST_F()
153 DB::Properties::kEstimateTableReadersMem, &before_flush_trm)); in TEST_F()
159 DB::Properties::kEstimateTableReadersMem, &after_flush_trm)); in TEST_F()
368 db_->GetProperty(DB::Properties::kAggregatedTableProperties, &property); in TEST_F()
570 DB::Properties::kAggregatedTablePropertiesAtLevel + ToString(level), in TEST_F()
584 db_->GetProperty(DB::Properties::kAggregatedTableProperties, &tp_string); in TEST_F()
634 handles_[1], DB::Properties::kNumImmutableMemTableFlushed, &num)); in TEST_F()
688 handles_[1], DB::Properties::kNumImmutableMemTableFlushed, &num)); in TEST_F()
1432 DB::Properties::kEstimateOldestKeyTime, &oldest_key_time)); in TEST_F()
1442 ASSERT_TRUE(dbfull()->GetIntProperty(DB::Properties::kEstimateOldestKeyTime, in TEST_F()
1447 ASSERT_TRUE(dbfull()->GetIntProperty(DB::Properties::kEstimateOldestKeyTime, in TEST_F()
1455 ASSERT_TRUE(dbfull()->GetIntProperty(DB::Properties::kEstimateOldestKeyTime, in TEST_F()
1463 ASSERT_TRUE(dbfull()->GetIntProperty(DB::Properties::kEstimateOldestKeyTime, in TEST_F()
1470 ASSERT_TRUE(dbfull()->GetIntProperty(DB::Properties::kEstimateOldestKeyTime, in TEST_F()
1477 ASSERT_TRUE(dbfull()->GetIntProperty(DB::Properties::kEstimateOldestKeyTime, in TEST_F()
1484 ASSERT_FALSE(dbfull()->GetIntProperty(DB::Properties::kEstimateOldestKeyTime, in TEST_F()
1493 void OnCompactionCompleted(DB* db, in TEST_F()
1500 bool ok = db->GetIntProperty(DB::Properties::kTotalSstFilesSize, in TEST_F()
1506 db->GetIntProperty(DB::Properties::kLiveSstFilesSize, &live_sst_size); in TEST_F()
1532 bool ok = db_->GetIntProperty(DB::Properties::kTotalSstFilesSize, &sst_size); in TEST_F()
1558 db_->GetIntProperty(DB::Properties::kMinObsoleteSstNumberToKeep, in TEST_F()
1566 void SetDB(DB* db) { db_ = db; } in TEST_F()
1576 DB* db_ = nullptr; in TEST_F()
1608 db_->GetIntProperty(DB::Properties::kBlockCacheCapacity, &value)); in TEST_F()
1609 ASSERT_FALSE(db_->GetIntProperty(DB::Properties::kBlockCacheUsage, &value)); in TEST_F()
1611 db_->GetIntProperty(DB::Properties::kBlockCachePinnedUsage, &value)); in TEST_F()
1616 db_->GetIntProperty(DB::Properties::kBlockCacheCapacity, &value)); in TEST_F()
1617 ASSERT_FALSE(db_->GetIntProperty(DB::Properties::kBlockCacheUsage, &value)); in TEST_F()
1619 db_->GetIntProperty(DB::Properties::kBlockCachePinnedUsage, &value)); in TEST_F()
1627 db_->GetIntProperty(DB::Properties::kBlockCacheCapacity, &value)); in TEST_F()
1628 ASSERT_FALSE(db_->GetIntProperty(DB::Properties::kBlockCacheUsage, &value)); in TEST_F()
1630 db_->GetIntProperty(DB::Properties::kBlockCachePinnedUsage, &value)); in TEST_F()
1643 ASSERT_TRUE(db_->GetIntProperty(DB::Properties::kBlockCacheCapacity, &value)); in TEST_F()
1645 ASSERT_TRUE(db_->GetIntProperty(DB::Properties::kBlockCacheUsage, &value)); in TEST_F()
1648 db_->GetIntProperty(DB::Properties::kBlockCachePinnedUsage, &value)); in TEST_F()
1654 ASSERT_TRUE(db_->GetIntProperty(DB::Properties::kBlockCacheCapacity, &value)); in TEST_F()
1656 ASSERT_TRUE(db_->GetIntProperty(DB::Properties::kBlockCacheUsage, &value)); in TEST_F()
1659 db_->GetIntProperty(DB::Properties::kBlockCachePinnedUsage, &value)); in TEST_F()
1668 ASSERT_TRUE(db_->GetIntProperty(DB::Properties::kBlockCacheCapacity, &value)); in TEST_F()
1670 ASSERT_TRUE(db_->GetIntProperty(DB::Properties::kBlockCacheUsage, &value)); in TEST_F()
1673 db_->GetIntProperty(DB::Properties::kBlockCachePinnedUsage, &value)); in TEST_F()
1682 ASSERT_TRUE(db_->GetIntProperty(DB::Properties::kBlockCacheCapacity, &value)); in TEST_F()
1684 ASSERT_TRUE(db_->GetIntProperty(DB::Properties::kBlockCacheUsage, &value)); in TEST_F()
1688 db_->GetIntProperty(DB::Properties::kBlockCachePinnedUsage, &value)); in TEST_F()
1694 ASSERT_TRUE(db_->GetIntProperty(DB::Properties::kBlockCacheCapacity, &value)); in TEST_F()
1696 ASSERT_TRUE(db_->GetIntProperty(DB::Properties::kBlockCacheUsage, &value)); in TEST_F()
1700 db_->GetIntProperty(DB::Properties::kBlockCachePinnedUsage, &value)); in TEST_F()