LCOV - code coverage report
Current view: top level - safekeeper/tests/walproposer_sim - safekeeper_disk.rs (source / functions) Coverage Total Hit
Test: 960803fca14b2e843c565dddf575f7017d250bc3.info Lines: 86.7 % 165 143
Test Date: 2024-06-22 23:41:44 Functions: 70.7 % 75 53

Function Name Sort by function name Hit count Sort by function hit count
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage as core::ops::deref::Deref>::deref 1903311
::deref 14210
::deref 1882007
::deref 7094
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage as safekeeper::control_file::Storage>::last_persist_at 0
::last_persist_at 0
::last_persist_at 0
::last_persist_at 0
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage as safekeeper::control_file::Storage>::persist 56274
::persist 336
::persist::{closure#0} 336
::persist 27777
::persist::{closure#0} 27777
::persist 24
::persist::{closure#0} 24
<misc_test::walproposer_sim::safekeeper_disk::DiskStateStorage>::new 70104
::new 102
::new 69990
::new 12
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::close 0
::close 0
::close 0
::close 0
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::flush_lsn 141938
::flush_lsn 2656
::flush_lsn 137808
::flush_lsn 1474
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::flush_wal 89334
::flush_wal 1326
::flush_wal::{closure#0} 1326
::flush_wal 42687
::flush_wal::{closure#0} 42687
::flush_wal 654
::flush_wal::{closure#0} 654
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::get_metrics 0
::get_metrics 0
::get_metrics 0
::get_metrics 0
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::initialize_first_segment 2010
::initialize_first_segment 28
::initialize_first_segment::{closure#0} 28
::initialize_first_segment 973
::initialize_first_segment::{closure#0} 973
::initialize_first_segment 4
::initialize_first_segment::{closure#0} 4
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::remove_up_to 0
::remove_up_to 0
::remove_up_to 0
::remove_up_to 0
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::remove_up_to::{closure#0} 0
::remove_up_to::{closure#0} 0
::remove_up_to::{closure#0} 0
::remove_up_to::{closure#0} 0
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::truncate_wal 11622
::truncate_wal 104
::truncate_wal::{closure#0} 104
::truncate_wal 5703
::truncate_wal::{closure#0} 5703
::truncate_wal 4
::truncate_wal::{closure#0} 4
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage as safekeeper::wal_storage::Storage>::write_wal 7582
::write_wal 436
::write_wal::{closure#0} 436
::write_wal 2957
::write_wal::{closure#0} 2957
::write_wal 398
::write_wal::{closure#0} 398
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage>::find_end_of_wal 4109
::find_end_of_wal 66
::find_end_of_wal 4043
::find_end_of_wal 0
<misc_test::walproposer_sim::safekeeper_disk::DiskWALStorage>::new 70104
::new 102
::new 69990
::new 12
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk as core::default::Default>::default 0
::default 0
::default 0
::default 0
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::new 12048
::new 30
::new 12006
::new 12
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::put_state 11423
::put_state 30
::put_state 11381
::put_state 12
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::put_state::{closure#0} 0
::put_state::{closure#0} 0
::put_state::{closure#0} 0
::put_state::{closure#0} 0
<misc_test::walproposer_sim::safekeeper_disk::SafekeeperDisk>::put_state::{closure#1} 11423
::put_state::{closure#1} 30
::put_state::{closure#1} 11381
::put_state::{closure#1} 12

Generated by: LCOV version 2.1-beta