LCOV - code coverage report
Current view: top level - pageserver/src - page_cache.rs (source / functions) Coverage Total Hit
Test: a43a77853355b937a79c57b07a8f05607cf29e6c.info Lines: 86.5 % 297 257
Test Date: 2024-09-19 12:04:32 Functions: 94.3 % 35 33

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::page_cache::PageCache>::find_victim 96499
<pageserver::page_cache::PageCache>::find_victim::{closure#0} 96499
<pageserver::page_cache::PageCache>::lock_for_read 1659134
<pageserver::page_cache::PageCache>::lock_for_read::{closure#0} 1659134
<pageserver::page_cache::PageCache>::new 252
<pageserver::page_cache::PageCache>::new::{closure#0} 12600
<pageserver::page_cache::PageCache>::read_immutable_buf 1659134
<pageserver::page_cache::PageCache>::read_immutable_buf::{closure#0} 1659134
<pageserver::page_cache::PageCache>::remove_mapping 92095
<pageserver::page_cache::PageCache>::search_mapping 1659134
<pageserver::page_cache::PageCache>::try_get_pinned_slot_permit 3318268
::try_get_pinned_slot_permit 1659134
::try_get_pinned_slot_permit::{closure#0} 1659134
<pageserver::page_cache::PageCache>::try_insert_mapping 96499
<pageserver::page_cache::PageCache>::try_lock_for_read 1659134
<pageserver::page_cache::PageCache>::try_lock_for_read::{closure#0} 1659134
<pageserver::page_cache::PageReadGuard as core::convert::AsRef<[u8; 8192]>>::as_ref 0
<pageserver::page_cache::PageReadGuard as core::ops::deref::Deref>::deref 1659374
<pageserver::page_cache::PageWriteGuard as core::ops::deref::Deref>::deref 1592356
<pageserver::page_cache::PageWriteGuard as core::ops::deref::DerefMut>::deref_mut 144773
<pageserver::page_cache::PageWriteGuard as core::ops::drop::Drop>::drop 96499
<pageserver::page_cache::PageWriteGuard>::mark_valid 96499
<pageserver::page_cache::Slot>::dec_usage_count 258181
<pageserver::page_cache::Slot>::dec_usage_count::{closure#0} 258181
<pageserver::page_cache::Slot>::inc_usage_count 1562635
<pageserver::page_cache::Slot>::inc_usage_count::{closure#0} 1562635
<pageserver::page_cache::Slot>::set_usage_count 96499
<pageserver::page_cache::SlotInner>::coalesce_readers_permit 1562635
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::add_page_sz 96499
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::set_page_sz 504
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::sub_page_sz 92095
pageserver::page_cache::count_times_page_sz 189098
pageserver::page_cache::get 1659134
pageserver::page_cache::get::{closure#0} 252
pageserver::page_cache::init 0
pageserver::page_cache::next_file_id 7266

Generated by: LCOV version 2.1-beta