LCOV - code coverage report
Current view:
top level
-
pageserver/src
- page_cache.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
f5f94ec0366b63fd2cbbe02edc2087dbd893d04d.info
Lines:
86.6 %
298
258
Test Date:
2024-11-20 05:34:23
Functions:
94.3 %
35
33
Function Name
Hit count
<pageserver::page_cache::PageCache>::find_victim
32016
<pageserver::page_cache::PageCache>::find_victim::{closure#0}
32016
<pageserver::page_cache::PageCache>::lock_for_read
482819
<pageserver::page_cache::PageCache>::lock_for_read::{closure#0}
482819
<pageserver::page_cache::PageCache>::new
88
<pageserver::page_cache::PageCache>::new::{closure#0}
4400
<pageserver::page_cache::PageCache>::read_immutable_buf
482819
<pageserver::page_cache::PageCache>::read_immutable_buf::{closure#0}
482819
<pageserver::page_cache::PageCache>::remove_mapping
30456
<pageserver::page_cache::PageCache>::search_mapping
482819
<pageserver::page_cache::PageCache>::try_get_pinned_slot_permit
965638
::try_get_pinned_slot_permit
482819
::try_get_pinned_slot_permit::{closure#0}
482819
<pageserver::page_cache::PageCache>::try_insert_mapping
32016
<pageserver::page_cache::PageCache>::try_lock_for_read
482819
<pageserver::page_cache::PageCache>::try_lock_for_read::{closure#0}
482819
<pageserver::page_cache::PageReadGuard as core::convert::AsRef<[u8; 8192]>>::as_ref
0
<pageserver::page_cache::PageReadGuard as core::ops::deref::Deref>::deref
482899
<pageserver::page_cache::PageWriteGuard as core::ops::deref::Deref>::deref
528309
<pageserver::page_cache::PageWriteGuard as core::ops::deref::DerefMut>::deref_mut
48033
<pageserver::page_cache::PageWriteGuard as core::ops::drop::Drop>::drop
32016
<pageserver::page_cache::PageWriteGuard>::mark_valid
32016
<pageserver::page_cache::Slot>::dec_usage_count
85315
<pageserver::page_cache::Slot>::dec_usage_count::{closure#0}
85315
<pageserver::page_cache::Slot>::inc_usage_count
450803
<pageserver::page_cache::Slot>::inc_usage_count::{closure#0}
450803
<pageserver::page_cache::Slot>::set_usage_count
32016
<pageserver::page_cache::SlotInner>::coalesce_readers_permit
450803
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::add_page_sz
32016
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::set_page_sz
176
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::sub_page_sz
30456
pageserver::page_cache::count_times_page_sz
62648
pageserver::page_cache::get
482819
pageserver::page_cache::get::{closure#0}
88
pageserver::page_cache::init
0
pageserver::page_cache::next_file_id
2466
Generated by:
LCOV version 2.1-beta