LCOV - code coverage report
Current view:
top level
-
pageserver/src
- page_cache.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
13fa4b48c3603751d5b1568465c493b8925758a2.info
Lines:
86.8 %
296
257
Test Date:
2025-03-19 18:46:26
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
59981
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::sub_page_sz
59981
<pageserver::page_cache::PageCache>::find_victim
63269
<pageserver::page_cache::PageCache>::find_victim::{closure#0}
63269
<pageserver::page_cache::PageCache>::try_insert_mapping
63269
<pageserver::page_cache::PageWriteGuard as core::ops::drop::Drop>::drop
63269
<pageserver::page_cache::PageWriteGuard>::mark_valid
63269
<pageserver::page_cache::Slot>::set_usage_count
63269
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::add_page_sz
63269
<pageserver::page_cache::PageWriteGuard as core::ops::deref::DerefMut>::deref_mut
94836
pageserver::page_cache::count_times_page_sz
123626
<pageserver::page_cache::Slot>::dec_usage_count
169276
<pageserver::page_cache::Slot>::dec_usage_count::{closure#0}
169276
<pageserver::page_cache::Slot>::inc_usage_count
909601
<pageserver::page_cache::Slot>::inc_usage_count::{closure#0}
909601
<pageserver::page_cache::SlotInner>::coalesce_readers_permit
909601
<pageserver::page_cache::PageCache>::lock_for_read
972870
<pageserver::page_cache::PageCache>::lock_for_read::{closure#0}
972870
<pageserver::page_cache::PageCache>::read_immutable_buf
972870
<pageserver::page_cache::PageCache>::read_immutable_buf::{closure#0}
972870
<pageserver::page_cache::PageCache>::search_mapping
972870
<pageserver::page_cache::PageCache>::try_lock_for_read
972870
<pageserver::page_cache::PageCache>::try_lock_for_read::{closure#0}
972870
pageserver::page_cache::get
972870
<pageserver::page_cache::PageReadGuard as core::ops::deref::Deref>::deref
973030
<pageserver::page_cache::PageWriteGuard as core::ops::deref::Deref>::deref
1043601
<pageserver::page_cache::PageCache>::try_get_pinned_slot_permit
1945740
::try_get_pinned_slot_permit
972870
::try_get_pinned_slot_permit::{closure#0}
972870
Generated by:
LCOV version 2.1-beta