LCOV - code coverage report
Current view: top level - libs/utils/src/sync - heavier_once_cell.rs (source / functions) Coverage Total Hit
Test: a2f0f8a80fbf1089336086fa360ce27fa555cb1a.info Lines: 94.8 % 422 400
Test Date: 2024-11-20 17:59:39 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 41
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 10
as core::ops::drop::Drop>::drop 10
as core::ops::drop::Drop>::drop 1
as core::ops::drop::Drop>::drop 1
<utils::sync::heavier_once_cell::CountWaitingInitializers<_>>::start 41
>::start 16
>::start 0
>::start 3
>::start 10
>::start 10
>::start 1
>::start 1
<utils::sync::heavier_once_cell::Guard<_> as core::ops::deref::Deref>::deref 193
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 81
as core::ops::deref::Deref>::deref 4
as core::ops::deref::Deref>::deref 100
<utils::sync::heavier_once_cell::Guard<_> as core::ops::deref::DerefMut>::deref_mut 240207
as core::ops::deref::DerefMut>::deref_mut 0
as core::ops::deref::DerefMut>::deref_mut 240207
<utils::sync::heavier_once_cell::Guard<_>>::take_and_deinit 33
>::take_and_deinit 1
>::take_and_deinit 0
>::take_and_deinit 4
>::take_and_deinit 24
>::take_and_deinit 4
<utils::sync::heavier_once_cell::InitPermit as core::fmt::Debug>::fmt 0
<utils::sync::heavier_once_cell::InitPermit as core::ops::drop::Drop>::drop 646
<utils::sync::heavier_once_cell::Inner<_> as core::default::Default>::default 621
as core::default::Default>::default 4
as core::default::Default>::default 0
as core::default::Default>::default 5
as core::default::Default>::default 597
as core::default::Default>::default 12
as core::default::Default>::default 2
as core::default::Default>::default 1
<utils::sync::heavier_once_cell::Inner<_>>::take_and_deinit 611
>::take_and_deinit 1
>::take_and_deinit 0
>::take_and_deinit 4
>::take_and_deinit 599
>::take_and_deinit 4
>::take_and_deinit 3
<utils::sync::heavier_once_cell::OnceCell<_> as core::default::Default>::default 14
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 8
as core::default::Default>::default 1
as core::default::Default>::default 1
<utils::sync::heavier_once_cell::OnceCell<_>>::get 118
>::get 3
>::get 0
>::get 8
>::get 103
>::get 4
<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 480436
>::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 240207
>::get_or_init_detached::{closure#0} 240207
>::get_or_init_detached 10
>::get_or_init_detached::{closure#0} 10
<utils::sync::heavier_once_cell::OnceCell<_>>::initializer_count 30
>::initializer_count 0
>::initializer_count 30
<utils::sync::heavier_once_cell::OnceCell<_>>::new 1756
>::new 0
>::new 2
>::new 1754
<utils::sync::heavier_once_cell::OnceCell<_>>::set 26
>::set 0
>::set 4
>::set 12
>::set 10
<utils::sync::heavier_once_cell::OnceCell<_>>::set0 33
>::set0 4
>::set0 0
>::set0 5
>::set0 12
>::set0 10
>::set0 1
>::set0 1
<utils::sync::heavier_once_cell::OnceCell<_>>::take_and_deinit 578
>::take_and_deinit 0
>::take_and_deinit 575
>::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