LCOV - code coverage report
Current view: top level - safekeeper/tests/walproposer_sim - walproposer_api.rs (source / functions) Coverage Total Hit
Test: cfaaa34581ff7b961872805c00c841b2acf066bc.info Lines: 93.8 % 486 456
Test Date: 2025-03-19 20:17:13 Functions: 97.1 % 138 134

Function Name Sort by function name Hit count Sort by function hit count
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::strong_random 0
::strong_random 0
::strong_random 0
::strong_random 0
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_flush_rec_ptr 132
::get_flush_rec_ptr 0
::get_flush_rec_ptr 4
::get_flush_rec_ptr 128
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming 184
::start_streaming 1
::start_streaming 9
::start_streaming 174
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn 259
::get_redo_start_lsn 2
::get_redo_start_lsn 14
::get_redo_start_lsn 243
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers 368
::finish_sync_safekeepers 3
::finish_sync_safekeepers 13
::finish_sync_safekeepers 352
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election 652
::after_election 1
::after_election 33
::after_election 618
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download 652
::recovery_download 1
::recovery_download 33
::recovery_download 618
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read 1142
::wal_read 200
::wal_read 233
::wal_read 709
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_donor 1164
::update_donor 2
::update_donor 51
::update_donor 1111
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate 1221
::wal_reader_allocate 2
::wal_reader_allocate 55
::wal_reader_allocate 1164
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state 2470
::get_shmem_state 4
::get_shmem_state 117
::get_shmem_state 2349
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback 2644
::process_safekeeper_feedback 314
::process_safekeeper_feedback 466
::process_safekeeper_feedback 1864
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write 6008
::conn_async_write 406
::conn_async_write 658
::conn_async_write 4944
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set 7245
::active_state_update_event_set 679
::active_state_update_event_set 1039
::active_state_update_event_set 5527
<misc_test::walproposer_sim::walproposer_api::EventSet>::new 9034
::new 4
::new 47
::new 8983
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set 9034
::init_event_set 4
::init_event_set 47
::init_event_set 8983
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new 9034
::new 4
::new 47
::new 8983
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message 10652
::conn_error_message 2
::conn_error_message 25
::conn_error_message 10625
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish 10911
::conn_finish 2
::conn_finish 26
::conn_finish 10883
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read 19444
::conn_async_read 607
::conn_async_read 1116
::conn_async_read 17721
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events 20087
::wal_reader_events 1632
::wal_reader_events 2665
::wal_reader_events 15790
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new 27102
::new 12
::new 141
::new 26949
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0} 27102
::new::{closure#0} 12
::new::{closure#0} 141
::new::{closure#0} 26949
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable 28912
::sort_readable 394
::sort_readable 802
::sort_readable 27716
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait 28912
::wait 394
::wait 802
::wait 27716
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll 30024
::conn_connect_poll 10
::conn_connect_poll 140
::conn_connect_poll 29874
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result 30024
::conn_get_query_result 10
::conn_get_query_result 140
::conn_get_query_result 29874
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query 30024
::conn_send_query 10
::conn_send_query 140
::conn_send_query 29874
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start 33373
::conn_connect_start 12
::conn_connect_start 158
::conn_connect_start 33203
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status 33373
::conn_status 12
::conn_status 158
::conn_status 33203
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write 34172
::conn_blocking_write 20
::conn_blocking_write 254
::conn_blocking_write 33898
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper 37586
::remove_safekeeper 10
::remove_safekeeper 148
::remove_safekeeper 37428
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set 37586
::rm_safekeeper_event_set 10
::rm_safekeeper_event_set 148
::rm_safekeeper_event_set 37428
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set 44827
::refresh_event_set 689
::refresh_event_set 1187
::refresh_event_set 42951
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper 60048
::add_safekeeper 20
::add_safekeeper 280
::add_safekeeper 59748
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set 60048
::add_safekeeper_event_set 20
::add_safekeeper_event_set 280
::add_safekeeper_event_set 59748
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set 66243
::update_event_set 34
::update_event_set 440
::update_event_set 65769
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set 66243
::update_event_set 34
::update_event_set 440
::update_event_set 65769
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0} 79974
::remove_safekeeper::{closure#0} 20
::remove_safekeeper::{closure#0} 318
::remove_safekeeper::{closure#0} 79636
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set 88960
::wait_event_set 414
::wait_event_set 1082
::wait_event_set 87464
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal 150731
::log_internal 803
::log_internal 2139
::log_internal 147789
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0} 250104
::update_event_set::{closure#0} 112
::update_event_set::{closure#0} 1541
::update_event_set::{closure#0} 248451
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn 298192
::get_conn 1121
::get_conn 3241
::get_conn 293830
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0} 298192
::get_conn::{closure#0} 1121
::get_conn::{closure#0} 3241
::get_conn::{closure#0} 293830
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp 319615
::get_current_timestamp 1384
::get_current_timestamp 3872
::get_current_timestamp 314359
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0} 595271
::get_conn::{closure#0}::{closure#0} 1721
::get_conn::{closure#0}::{closure#0} 5905
::get_conn::{closure#0}::{closure#0} 587645

Generated by: LCOV version 2.1-beta