LCOV - code coverage report
Current view:
top level
-
pageserver/src
- page_cache.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
1c072cf775425a8f441e533586eea4edd880d500.info
Lines:
86.9 %
298
259
Test Date:
2025-02-14 11:35:56
Functions:
94.3 %
35
33
Function Name
Hit count
<pageserver::page_cache::PageCache>::find_victim
63330
<pageserver::page_cache::PageCache>::find_victim::{closure#0}
63330
<pageserver::page_cache::PageCache>::lock_for_read
1163933
<pageserver::page_cache::PageCache>::lock_for_read::{closure#0}
1163933
<pageserver::page_cache::PageCache>::new
184
<pageserver::page_cache::PageCache>::new::{closure#0}
9200
<pageserver::page_cache::PageCache>::read_immutable_buf
1163933
<pageserver::page_cache::PageCache>::read_immutable_buf::{closure#0}
1163933
<pageserver::page_cache::PageCache>::remove_mapping
60082
<pageserver::page_cache::PageCache>::search_mapping
1163933
<pageserver::page_cache::PageCache>::try_get_pinned_slot_permit
2327866
::try_get_pinned_slot_permit
1163933
::try_get_pinned_slot_permit::{closure#0}
1163933
<pageserver::page_cache::PageCache>::try_insert_mapping
63330
<pageserver::page_cache::PageCache>::try_lock_for_read
1163933
<pageserver::page_cache::PageCache>::try_lock_for_read::{closure#0}
1163933
<pageserver::page_cache::PageReadGuard as core::convert::AsRef<[u8; 8192]>>::as_ref
0
<pageserver::page_cache::PageReadGuard as core::ops::deref::Deref>::deref
1164093
<pageserver::page_cache::PageWriteGuard as core::ops::deref::Deref>::deref
1044685
<pageserver::page_cache::PageWriteGuard as core::ops::deref::DerefMut>::deref_mut
94943
<pageserver::page_cache::PageWriteGuard as core::ops::drop::Drop>::drop
63330
<pageserver::page_cache::PageWriteGuard>::mark_valid
63330
<pageserver::page_cache::Slot>::dec_usage_count
169615
<pageserver::page_cache::Slot>::dec_usage_count::{closure#0}
169615
<pageserver::page_cache::Slot>::inc_usage_count
1100603
<pageserver::page_cache::Slot>::inc_usage_count::{closure#0}
1100603
<pageserver::page_cache::Slot>::set_usage_count
63330
<pageserver::page_cache::SlotInner>::coalesce_readers_permit
1100603
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::add_page_sz
63330
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::set_page_sz
368
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::sub_page_sz
60082
pageserver::page_cache::count_times_page_sz
123780
pageserver::page_cache::get
1163933
pageserver::page_cache::get::{closure#0}
184
pageserver::page_cache::init
0
pageserver::page_cache::next_file_id
5081
Generated by:
LCOV version 2.1-beta