LCOV - code coverage report
Current view: top level - libs/utils/src/sync - heavier_once_cell.rs (source / functions) Coverage Total Hit
Test: a43a77853355b937a79c57b07a8f05607cf29e6c.info Lines: 94.8 % 422 400
Test Date: 2024-09-19 12:04:32 Functions: 83.6 % 146 122

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 75
as core::ops::drop::Drop>::drop 16
as core::ops::drop::Drop>::drop 0
as core::ops::drop::Drop>::drop 3
as core::ops::drop::Drop>::drop 30
as core::ops::drop::Drop>::drop 24
as core::ops::drop::Drop>::drop 1
as core::ops::drop::Drop>::drop 1
<utils::sync::heavier_once_cell::CountWaitingInitializers<_>>::start 75
>::start 16
>::start 0
>::start 3
>::start 30
>::start 24
>::start 1
>::start 1
<utils::sync::heavier_once_cell::Guard<_> as core::ops::deref::Deref>::deref 363
as core::ops::deref::Deref>::deref 3
as core::ops::deref::Deref>::deref 0
as core::ops::deref::Deref>::deref 5
as core::ops::deref::Deref>::deref 243
as core::ops::deref::Deref>::deref 12
as core::ops::deref::Deref>::deref 100
<utils::sync::heavier_once_cell::Guard<_> as core::ops::deref::DerefMut>::deref_mut 641260
as core::ops::deref::DerefMut>::deref_mut 0
as core::ops::deref::DerefMut>::deref_mut 641260
<utils::sync::heavier_once_cell::Guard<_>>::take_and_deinit 89
>::take_and_deinit 1
>::take_and_deinit 0
>::take_and_deinit 4
>::take_and_deinit 72
>::take_and_deinit 12
<utils::sync::heavier_once_cell::InitPermit as core::fmt::Debug>::fmt 0
<utils::sync::heavier_once_cell::InitPermit as core::ops::drop::Drop>::drop 1881
<utils::sync::heavier_once_cell::Inner<_> as core::default::Default>::default 1832
as core::default::Default>::default 4
as core::default::Default>::default 0
as core::default::Default>::default 5
as core::default::Default>::default 1790
as core::default::Default>::default 30
as core::default::Default>::default 2
as core::default::Default>::default 1
<utils::sync::heavier_once_cell::Inner<_>>::take_and_deinit 1816
>::take_and_deinit 1
>::take_and_deinit 0
>::take_and_deinit 4
>::take_and_deinit 1796
>::take_and_deinit 12
>::take_and_deinit 3
<utils::sync::heavier_once_cell::OnceCell<_> as core::default::Default>::default 24
as core::default::Default>::default 3
as core::default::Default>::default 0
as core::default::Default>::default 1
as core::default::Default>::default 0
as core::default::Default>::default 18
as core::default::Default>::default 1
as core::default::Default>::default 1
<utils::sync::heavier_once_cell::OnceCell<_>>::get 332
>::get 3
>::get 0
>::get 8
>::get 309
>::get 12
<utils::sync::heavier_once_cell::OnceCell<_>>::get_or_init::<_, _, _> 119
>::get_or_init::>>>>>, core::pin::Pin>>>, core::convert::Infallible> 2
>::get_or_init:: 10
>::get_or_init:: 1
>::get_or_init:: 1
>::get_or_init:: 1
>::get_or_init::<_, _, _> 0
>::get_or_init:: 1
>::get_or_init:: 1
>::get_or_init:: 1
>::get_or_init:: 1
>::get_or_init:: 100
<utils::sync::heavier_once_cell::OnceCell<_>>::get_or_init::<_, _, _>::{closure#0} 119
>::get_or_init::>>>>>, core::pin::Pin>>>, core::convert::Infallible>::{closure#0} 2
>::get_or_init::::{closure#0} 10
>::get_or_init::::{closure#0} 1
>::get_or_init::::{closure#0} 1
>::get_or_init::::{closure#0} 1
>::get_or_init::<_, _, _>::{closure#0} 0
>::get_or_init::::{closure#0} 1
>::get_or_init::::{closure#0} 1
>::get_or_init::::{closure#0} 1
>::get_or_init::::{closure#0} 1
>::get_or_init::::{closure#0} 100
<utils::sync::heavier_once_cell::OnceCell<_>>::get_or_init_detached 1282570
>::get_or_init_detached 0
>::get_or_init_detached::{closure#0} 0
>::get_or_init_detached 1
>::get_or_init_detached::{closure#0} 1
>::get_or_init_detached 641260
>::get_or_init_detached::{closure#0} 641260
>::get_or_init_detached 24
>::get_or_init_detached::{closure#0} 24
<utils::sync::heavier_once_cell::OnceCell<_>>::initializer_count 90
>::initializer_count 0
>::initializer_count 90
<utils::sync::heavier_once_cell::OnceCell<_>>::new 5174
>::new 0
>::new 2
>::new 5172
<utils::sync::heavier_once_cell::OnceCell<_>>::set 64
>::set 0
>::set 4
>::set 36
>::set 24
<utils::sync::heavier_once_cell::OnceCell<_>>::set0 71
>::set0 4
>::set0 0
>::set0 5
>::set0 36
>::set0 24
>::set0 1
>::set0 1
<utils::sync::heavier_once_cell::OnceCell<_>>::take_and_deinit 1727
>::take_and_deinit 0
>::take_and_deinit 1724
>::take_and_deinit 3
utils::sync::heavier_once_cell::tests::detached_init_smoke 2
utils::sync::heavier_once_cell::tests::detached_init_smoke 1
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0} 1
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#0} 0
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#0} 0
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#0}::{closure#0} 0
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#1} 0
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#1} 0
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#1}::{closure#0} 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}> 1
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} 1
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} 2
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::::{closure#0}::{closure#0} 1
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::::{closure#0}::{closure#0}::{closure#0} 1
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} 2
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::::{closure#0}::{closure#1} 1
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::::{closure#0}::{closure#1}::{closure#0} 1
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok 2
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok 1
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0} 1
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} 10
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#0}::{closure#0} 10
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} 1
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#1}::{closure#0} 1
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe 2
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe 1
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0} 1
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#0} 1
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#0}::{closure#0} 1
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} 1
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#1}::{closure#0} 1
utils::sync::heavier_once_cell::tests::many_initializers 2
utils::sync::heavier_once_cell::tests::many_initializers 1
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0} 1
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::{closure#0} 100
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::{closure#0}::{closure#0} 1
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::{closure#0}::{closure#0}::{closure#0} 1
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit 2
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit 1
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0} 1
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0}::{closure#0} 1
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} 1
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0}::{closure#1}::{closure#0} 1
utils::sync::heavier_once_cell::tests::reinit_with_deinit_permit 1
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race 2
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race 1
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0} 1
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0} 2
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}::{closure#0} 2
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut 2
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut 1
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut::{closure#0} 1
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut::{closure#0}::{closure#0} 2
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut::{closure#0}::{closure#0} 1
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut::{closure#0}::{closure#0}::{closure#0} 1

Generated by: LCOV version 2.1-beta