Searched refs:hit_ratio (Results 1 – 2 of 2) sorted by relevance
219 def hit_ratio(self): member in RDBHostCacheManager232 hit_ratio = self.hit_ratio()235 'avg staleness per line: %.2f%%.', hit_ratio, staleness)237 'cache.hit_ratio', hit_ratio)
295 self.assertTrue(cache.hit_ratio() == 0)297 hit_ratio = cache.hit_ratio()298 self.assertTrue(type(hit_ratio) == float and hit_ratio == 100)