LCOV - code coverage report
Current view: top level - libs/utils/src/sync - heavier_once_cell.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 97.6 % 337 329
Test Date: 2024-02-14 18:05:35 Functions: 81.6 % 114 93

Function Name Sort by function name Hit count Sort by function hit count
<utils::sync::heavier_once_cell::CountWaitingInitializers<_> as core::ops::drop::Drop>::drop 10619
as core::ops::drop::Drop>::drop 32
as core::ops::drop::Drop>::drop 0
as core::ops::drop::Drop>::drop 2
as core::ops::drop::Drop>::drop 10583
as core::ops::drop::Drop>::drop 2
<utils::sync::heavier_once_cell::CountWaitingInitializers<_>>::start 10619
>::start 32
>::start 0
>::start 2
>::start 10583
>::start 2
<utils::sync::heavier_once_cell::Guard<_> as core::fmt::Debug>::fmt 0
as core::fmt::Debug>::fmt 0
as core::fmt::Debug>::fmt 0
<utils::sync::heavier_once_cell::Guard<_> as core::ops::deref::Deref>::deref 2727
as core::ops::deref::Deref>::deref 6
as core::ops::deref::Deref>::deref 0
as core::ops::deref::Deref>::deref 6
as core::ops::deref::Deref>::deref 2515
as core::ops::deref::Deref>::deref 200
<utils::sync::heavier_once_cell::Guard<_> as core::ops::deref::DerefMut>::deref_mut 16854655
as core::ops::deref::DerefMut>::deref_mut 0
as core::ops::deref::DerefMut>::deref_mut 16854655
<utils::sync::heavier_once_cell::Guard<_>>::take_and_deinit 2523
>::take_and_deinit 2
>::take_and_deinit 0
>::take_and_deinit 6
>::take_and_deinit 2515
<utils::sync::heavier_once_cell::Guard<_>>::take_and_deinit::{closure#0} 2523
>::take_and_deinit::{closure#0} 2
>::take_and_deinit::{closure#0} 0
>::take_and_deinit::{closure#0} 6
>::take_and_deinit::{closure#0} 2515
<utils::sync::heavier_once_cell::InitPermit as core::ops::drop::Drop>::drop 12640
<utils::sync::heavier_once_cell::Inner<_> as core::default::Default>::default 43430
as core::default::Default>::default 8
as core::default::Default>::default 0
as core::default::Default>::default 6
as core::default::Default>::default 43414
as core::default::Default>::default 2
<utils::sync::heavier_once_cell::Inner<_> as core::fmt::Debug>::fmt 0
as core::fmt::Debug>::fmt 0
as core::fmt::Debug>::fmt 0
<utils::sync::heavier_once_cell::OnceCell<_> as core::default::Default>::default 40907
as core::default::Default>::default 6
as core::default::Default>::default 0
as core::default::Default>::default 40899
as core::default::Default>::default 2
<utils::sync::heavier_once_cell::OnceCell<_>>::get 8100
>::get 6
>::get 0
>::get 12
>::get 8082
<utils::sync::heavier_once_cell::OnceCell<_>>::get_or_init::<_, _, _> 16853002
>::get_or_init::>>>>>, core::pin::Pin>>>, core::convert::Infallible> 4
>::get_or_init:: 20
>::get_or_init:: 2
>::get_or_init:: 2
>::get_or_init:: 2
>::get_or_init::<_, _, _> 0
>::get_or_init:: 2
>::get_or_init::<::get_or_maybe_download::{closure#0}::{closure#0}, tracing::instrument::Instrumented<::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}>, pageserver::tenant::storage_layer::layer::DownloadError> 16852770
>::get_or_init:: 200
<utils::sync::heavier_once_cell::OnceCell<_>>::get_or_init::<_, _, _>::{closure#0} 16853002
>::get_or_init::>>>>>, core::pin::Pin>>>, core::convert::Infallible>::{closure#0} 4
>::get_or_init::::{closure#0} 20
>::get_or_init::::{closure#0} 2
>::get_or_init::::{closure#0} 2
>::get_or_init::::{closure#0} 2
>::get_or_init::<_, _, _>::{closure#0} 0
>::get_or_init::::{closure#0} 2
>::get_or_init::<::get_or_maybe_download::{closure#0}::{closure#0}, tracing::instrument::Instrumented<::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}>, pageserver::tenant::storage_layer::layer::DownloadError>::{closure#0} 16852770
>::get_or_init::::{closure#0} 200
<utils::sync::heavier_once_cell::OnceCell<_>>::initializer_count 9456
>::initializer_count 0
>::initializer_count 9456
<utils::sync::heavier_once_cell::OnceCell<_>>::new 34461
>::new 0
>::new 4
>::new 34457
<utils::sync::heavier_once_cell::OnceCell<_>>::set 4
>::set 0
>::set 4
>::set 0
<utils::sync::heavier_once_cell::OnceCell<_>>::set0 9472
>::set0 8
>::set0 0
>::set0 6
>::set0 9456
>::set0 2
<utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::Counters as core::fmt::Debug>::fmt 2
::default 2
::fmt 0
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::<utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}> 2
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::<utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}>::{closure#0} 2
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::<utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}>::{closure#0}::{closure#0} 4
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::::{closure#0}::{closure#0} 2
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::::{closure#0}::{closure#0}::{closure#0} 2
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::<utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}>::{closure#0}::{closure#1} 4
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::::{closure#0}::{closure#1} 2
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::::{closure#0}::{closure#1}::{closure#0} 2
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::<utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}>::{closure#0}::{closure#2} 4
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::<utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}>::{closure#0}::{closure#3} 4
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::<utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}>::{closure#0}::{closure#4} 6
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok 6
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok 2
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0} 4
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#0} 40
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#0} 20
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#0}::{closure#0} 20
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#1} 4
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#1} 2
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#1}::{closure#0} 2
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe 6
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe 2
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0} 4
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#0} 2
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#0}::{closure#0} 2
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#1} 4
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#1} 2
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#1}::{closure#0} 2
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#2} 3
utils::sync::heavier_once_cell::tests::many_initializers 6
utils::sync::heavier_once_cell::tests::many_initializers 2
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0} 4
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::{closure#0} 200
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::{closure#0}::{closure#0} 2
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::{closure#0}::{closure#0}::{closure#0} 2
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit 6
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit 2
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0} 4
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0}::{closure#0} 2
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0}::{closure#1} 4
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0}::{closure#1} 2
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0}::{closure#1}::{closure#0} 2
utils::sync::heavier_once_cell::tests::reinit_with_deinit_permit 2
utils::sync::heavier_once_cell::tests::reinit_with_deinit_permit::{closure#0} 2
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race 6
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race 2
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0} 4
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0} 4
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}::{closure#0} 4

Generated by: LCOV version 2.1-beta