LCOV - code coverage report
Current view:
top level
-
pageserver/src
- page_cache.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
6a14b070dc6eeeeb359cfa8817925ac37a02fab4.info
Lines:
86.8 %
296
257
Test Date:
2025-03-31 22:46:13
Functions:
94.3 %
35
33
Function Name
Hit count
<pageserver::page_cache::PageReadGuard as core::convert::AsRef<[u8; 8192]>>::as_ref
0
pageserver::page_cache::init
0
<pageserver::page_cache::PageCache>::new
188
pageserver::page_cache::get::{closure#0}
188
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::set_page_sz
376
pageserver::page_cache::next_file_id
5096
<pageserver::page_cache::PageCache>::new::{closure#0}
9400
<pageserver::page_cache::PageCache>::remove_mapping
60100
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::sub_page_sz
60100
<pageserver::page_cache::PageCache>::find_victim
63388
<pageserver::page_cache::PageCache>::find_victim::{closure#0}
63388
<pageserver::page_cache::PageCache>::try_insert_mapping
63388
<pageserver::page_cache::PageWriteGuard as core::ops::drop::Drop>::drop
63388
<pageserver::page_cache::PageWriteGuard>::mark_valid
63388
<pageserver::page_cache::Slot>::set_usage_count
63388
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::add_page_sz
63388
<pageserver::page_cache::PageWriteGuard as core::ops::deref::DerefMut>::deref_mut
95051
pageserver::page_cache::count_times_page_sz
123864
<pageserver::page_cache::Slot>::dec_usage_count
169773
<pageserver::page_cache::Slot>::dec_usage_count::{closure#0}
169773
<pageserver::page_cache::Slot>::inc_usage_count
910802
<pageserver::page_cache::Slot>::inc_usage_count::{closure#0}
910802
<pageserver::page_cache::SlotInner>::coalesce_readers_permit
910802
<pageserver::page_cache::PageCache>::lock_for_read
974190
<pageserver::page_cache::PageCache>::lock_for_read::{closure#0}
974190
<pageserver::page_cache::PageCache>::read_immutable_buf
974190
<pageserver::page_cache::PageCache>::read_immutable_buf::{closure#0}
974190
<pageserver::page_cache::PageCache>::search_mapping
974190
<pageserver::page_cache::PageCache>::try_lock_for_read
974190
<pageserver::page_cache::PageCache>::try_lock_for_read::{closure#0}
974190
pageserver::page_cache::get
974190
<pageserver::page_cache::PageReadGuard as core::ops::deref::Deref>::deref
974350
<pageserver::page_cache::PageWriteGuard as core::ops::deref::Deref>::deref
1045747
<pageserver::page_cache::PageCache>::try_get_pinned_slot_permit
1948380
::try_get_pinned_slot_permit
974190
::try_get_pinned_slot_permit::{closure#0}
974190
Generated by:
LCOV version 2.1-beta