LCOV - code coverage report
Current view:
top level
-
pageserver/src
- page_cache.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
322b88762cba8ea666f63cda880cccab6936bf37.info
Lines:
62.9 %
463
291
Test Date:
2024-02-29 11:57:12
Functions:
73.2 %
56
41
Function Name
Hit count
<pageserver::page_cache::PageCache>::memorize_materialized_page
0
<pageserver::page_cache::PageCache>::memorize_materialized_page::{closure#0}
0
<pageserver::page_cache::PageCache>::remove_mapping::{closure#0}
0
<pageserver::page_cache::PageCache>::search_mapping::{closure#0}
0
<pageserver::page_cache::PageCache>::search_mapping_exact
0
<pageserver::page_cache::PageCache>::search_mapping_exact::{closure#0}
0
<pageserver::page_cache::PageCache>::try_insert_mapping::{closure#0}
0
<pageserver::page_cache::PageReadGuard as core::convert::AsRef<[u8; 8192]>>::as_ref
0
<pageserver::page_cache::Version as core::clone::Clone>::clone
0
pageserver::page_cache::init
0
<pageserver::page_cache::PageCache>::new
80
pageserver::page_cache::get::{closure#0}
80
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::set_page_sz
240
pageserver::page_cache::next_file_id
1096
<pageserver::page_cache::PageCache>::new::{closure#0}
4000
<pageserver::page_cache::PageCache>::remove_mapping
124434
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::sub_page_sz
124434
<pageserver::page_cache::PageCache>::find_victim
125338
<pageserver::page_cache::PageCache>::find_victim::{closure#0}
125338
<pageserver::page_cache::PageCache>::try_insert_mapping
125338
<pageserver::page_cache::PageWriteGuard as core::ops::deref::DerefMut>::deref_mut
125338
<pageserver::page_cache::PageWriteGuard as core::ops::drop::Drop>::drop
125338
<pageserver::page_cache::PageWriteGuard>::mark_valid
125338
<pageserver::page_cache::Slot>::set_usage_count
125338
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::add_page_sz
125338
pageserver::page_cache::count_times_page_sz
250012
<pageserver::page_cache::PageWriteGuard as core::ops::deref::Deref>::deref
322997
<pageserver::page_cache::Slot>::dec_usage_count
477441
<pageserver::page_cache::Slot>::dec_usage_count::{closure#0}
477441
<pageserver::page_cache::MaterializedPageHashKey as core::fmt::Debug>::fmt
502524
::eq
0
::fmt
0
::hash::
0
::clone
502524
<pageserver::page_cache::PageCache>::lookup_materialized_page
502524
<pageserver::page_cache::PageCache>::lookup_materialized_page::{closure#0}
502524
<pageserver::page_cache::Slot>::inc_usage_count
4732903
<pageserver::page_cache::Slot>::inc_usage_count::{closure#0}
4732903
<pageserver::page_cache::SlotInner>::coalesce_readers_permit
4732903
<pageserver::page_cache::PageCache>::lock_for_read
4858241
<pageserver::page_cache::PageCache>::lock_for_read::{closure#0}
4858241
<pageserver::page_cache::PageCache>::read_immutable_buf
4858241
<pageserver::page_cache::PageCache>::read_immutable_buf::{closure#0}
4858241
<pageserver::page_cache::PageCache>::search_mapping
5360765
<pageserver::page_cache::PageCache>::try_lock_for_read
5360765
<pageserver::page_cache::PageCache>::try_lock_for_read::{closure#0}
5360765
pageserver::page_cache::get
5360765
<pageserver::page_cache::PageReadGuard as core::ops::deref::Deref>::deref
9353617
<pageserver::page_cache::CacheKey as core::fmt::Debug>::fmt
10219006
::fmt
0
::eq
4732903
::clone
5486103
<pageserver::page_cache::PageCache>::try_get_pinned_slot_permit
10721530
::try_get_pinned_slot_permit
5360765
::try_get_pinned_slot_permit::{closure#0}
5360765
<pageserver::page_cache::FileId as core::fmt::Debug>::fmt
19729342
::fmt
0
::clone
4983579
::hash::
5111002
::eq
9634761
Generated by:
LCOV version 2.1-beta