LCOV - code coverage report
Current view: top level - libs/utils/src/sync - heavier_once_cell.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 96.4 % 337 325
Test Date: 2024-02-29 11:57:12 Functions: 81.6 % 114 93

Function Name Sort by function name Hit count Sort by function hit count
<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::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<_>>::initializer_count 2
>::initializer_count 0
>::initializer_count 2
<utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::Counters as core::fmt::Debug>::fmt 2
::fmt 0
::default 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}> 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::initialization_attemptable_until_ok 2
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe 2
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::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::{closure#0}::{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::initialization_is_cancellation_safe::{closure#0}::{closure#2} 3
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::initialization_attemptable_until_ok::{closure#0} 4
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::{closure#0} 4
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::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::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
<utils::sync::heavier_once_cell::OnceCell<_>>::set 6
>::set 0
>::set 2
>::set 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::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::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::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::OnceCell<_> as core::default::Default>::default 8
as core::default::Default>::default 0
as core::default::Default>::default 0
as core::default::Default>::default 2
as core::default::Default>::default 6
<utils::sync::heavier_once_cell::Guard<_>>::take_and_deinit 16
>::take_and_deinit 0
>::take_and_deinit 2
>::take_and_deinit 6
>::take_and_deinit 8
<utils::sync::heavier_once_cell::Guard<_>>::take_and_deinit::{closure#0} 16
>::take_and_deinit::{closure#0} 0
>::take_and_deinit::{closure#0} 2
>::take_and_deinit::{closure#0} 6
>::take_and_deinit::{closure#0} 8
<utils::sync::heavier_once_cell::OnceCell<_>>::set0 18
>::set0 0
>::set0 2
>::set0 2
>::set0 6
>::set0 8
<utils::sync::heavier_once_cell::Inner<_> as core::default::Default>::default 24
as core::default::Default>::default 0
as core::default::Default>::default 2
as core::default::Default>::default 6
as core::default::Default>::default 8
as core::default::Default>::default 8
<utils::sync::heavier_once_cell::OnceCell<_>>::get 38
>::get 0
>::get 6
>::get 12
>::get 20
<utils::sync::heavier_once_cell::CountWaitingInitializers<_> as core::ops::drop::Drop>::drop 40
as core::ops::drop::Drop>::drop 0
as core::ops::drop::Drop>::drop 2
as core::ops::drop::Drop>::drop 2
as core::ops::drop::Drop>::drop 4
as core::ops::drop::Drop>::drop 32
<utils::sync::heavier_once_cell::CountWaitingInitializers<_>>::start 40
>::start 0
>::start 2
>::start 2
>::start 4
>::start 32
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::InitPermit as core::ops::drop::Drop>::drop 54
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::{closure#0} 200
<utils::sync::heavier_once_cell::Guard<_> as core::ops::deref::Deref>::deref 220
as core::ops::deref::Deref>::deref 0
as core::ops::deref::Deref>::deref 6
as core::ops::deref::Deref>::deref 6
as core::ops::deref::Deref>::deref 8
as core::ops::deref::Deref>::deref 200
<utils::sync::heavier_once_cell::OnceCell<_>>::new 582
>::new 0
>::new 4
>::new 578
<utils::sync::heavier_once_cell::Guard<_> as core::ops::deref::DerefMut>::deref_mut 124364
as core::ops::deref::DerefMut>::deref_mut 0
as core::ops::deref::DerefMut>::deref_mut 124364
<utils::sync::heavier_once_cell::OnceCell<_>>::get_or_init::<_, _, _> 124590
>::get_or_init::<_, _, _> 0
>::get_or_init:: 2
>::get_or_init:: 2
>::get_or_init:: 2
>::get_or_init:: 2
>::get_or_init::>>>>>, core::pin::Pin>>>, core::convert::Infallible> 4
>::get_or_init:: 20
>::get_or_init:: 200
>::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> 124358
<utils::sync::heavier_once_cell::OnceCell<_>>::get_or_init::<_, _, _>::{closure#0} 124590
>::get_or_init::<_, _, _>::{closure#0} 0
>::get_or_init::::{closure#0} 2
>::get_or_init::::{closure#0} 2
>::get_or_init::::{closure#0} 2
>::get_or_init::::{closure#0} 2
>::get_or_init::>>>>>, core::pin::Pin>>>, core::convert::Infallible>::{closure#0} 4
>::get_or_init::::{closure#0} 20
>::get_or_init::::{closure#0} 200
>::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} 124358

Generated by: LCOV version 2.1-beta