| 463 | } |
| 464 | |
| 465 | PrefixCache::InlineStats PrefixCache::stats() const { |
| 466 | if (disabled_) return {0, 0, 0}; |
| 467 | return {cap_, |
| 468 | (int)entries_size_count_.load(std::memory_order_relaxed), |
| 469 | lifetime_hits_.load(std::memory_order_relaxed)}; |
| 470 | } |
| 471 | |
| 472 | PrefixCache::FullStats PrefixCache::full_stats() const { |
| 473 | if (full_disabled_) return {false, 0, 0, 0, 0}; |
no outgoing calls