Loading core/src/cache/Cache.inl +5 −0 Original line number Diff line number Diff line Loading @@ -179,6 +179,11 @@ Cache<ItemObj>::print() { } SERVER_LOG_DEBUG << "[Cache item count]: " << cache_count; #if 0 for (auto it = lru_.begin(); it != lru_.end(); ++it) { SERVER_LOG_DEBUG << it->first; } #endif SERVER_LOG_DEBUG << "[Cache usage]: " << usage_ << " bytes"; SERVER_LOG_DEBUG << "[Cache capacity]: " << capacity_ << " bytes"; } Loading Loading
core/src/cache/Cache.inl +5 −0 Original line number Diff line number Diff line Loading @@ -179,6 +179,11 @@ Cache<ItemObj>::print() { } SERVER_LOG_DEBUG << "[Cache item count]: " << cache_count; #if 0 for (auto it = lru_.begin(); it != lru_.end(); ++it) { SERVER_LOG_DEBUG << it->first; } #endif SERVER_LOG_DEBUG << "[Cache usage]: " << usage_ << " bytes"; SERVER_LOG_DEBUG << "[Cache capacity]: " << capacity_ << " bytes"; } Loading