Home
last modified time | relevance | path

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

/trafficserver/iocore/cache/
H A DCacheTest.cc549 test_RamCache(RegressionTest *t, RamCache *cache, const char *name, int64_t cache_size) in test_RamCache() argument
556 cache->init(cache_size, vol); in test_RamCache()
591 int sample_size = cache_size >> 6; in test_RamCache()
639 rprintf(t, "RamCache %s Nominal Size %lld Size %lld\n", name, cache_size, cache->size()); in test_RamCache()
644 if (abs(cache_size - cache->size()) > 0.02 * cache_size) { in test_RamCache()
669 int64_t cache_size = 1LL << s; in REGRESSION_TEST() local
671 …t_RamCache(t, new_RamCacheLRU(), "LRU", cache_size) || !test_RamCache(t, new_RamCacheCLFUS(), "CLF… in REGRESSION_TEST()
H A DCache.cc861 total_size += theCache->cache_size; in cacheInitialized()
943 …static_cast<int64_t>((static_cast<double>(theCache->cache_size) / total_size) * cache_config_ram_c… in cacheInitialized()
960 …>(static_cast<int64_t>(gvol[i]->len >> STORE_BLOCK_SHIFT)) / theCache->cache_size; in cacheInitialized()
2089 cache_size += blocks; in open()
H A DP_CacheInternal.h975 int64_t cache_size = 0; // in store block size member

Completed in 11 milliseconds