LCOV - code coverage report
Current view: top level - safekeeper/tests/walproposer_sim - walproposer_api.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 95.5 % 486 464
Test Date: 2024-10-22 22:13:45 Functions: 99.3 % 138 137

Function Name Sort by function name Hit count Sort by function hit count
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_flush_rec_ptr 107
::get_flush_rec_ptr 0
::get_flush_rec_ptr 4
::get_flush_rec_ptr 103
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming 185
::start_streaming 1
::start_streaming 9
::start_streaming 175
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn 288
::get_redo_start_lsn 3
::get_redo_start_lsn 19
::get_redo_start_lsn 266
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers 370
::finish_sync_safekeepers 3
::finish_sync_safekeepers 13
::finish_sync_safekeepers 354
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election 793
::after_election 4
::after_election 39
::after_election 750
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download 793
::recovery_download 4
::recovery_download 39
::recovery_download 750
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_donor 1083
::update_donor 2
::update_donor 51
::update_donor 1030
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate 1122
::wal_reader_allocate 2
::wal_reader_allocate 55
::wal_reader_allocate 1065
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback 2457
::process_safekeeper_feedback 314
::process_safekeeper_feedback 466
::process_safekeeper_feedback 1677
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state 2671
::get_shmem_state 10
::get_shmem_state 129
::get_shmem_state 2532
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read 4353
::wal_read 404
::wal_read 603
::wal_read 3346
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write 5475
::conn_async_write 406
::conn_async_write 658
::conn_async_write 4411
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set 6629
::active_state_update_event_set 679
::active_state_update_event_set 1039
::active_state_update_event_set 4911
<misc_test::walproposer_sim::walproposer_api::EventSet>::new 9177
::new 4
::new 47
::new 9126
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set 9177
::init_event_set 4
::init_event_set 47
::init_event_set 9126
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::strong_random 9177
::strong_random 4
::strong_random 47
::strong_random 9126
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new 9177
::new 4
::new 47
::new 9126
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message 10829
::conn_error_message 2
::conn_error_message 25
::conn_error_message 10802
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish 11050
::conn_finish 2
::conn_finish 26
::conn_finish 11022
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events 18153
::wal_reader_events 1632
::wal_reader_events 2665
::wal_reader_events 13856
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read 18743
::conn_async_read 607
::conn_async_read 1116
::conn_async_read 17020
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new 27531
::new 12
::new 141
::new 27378
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0} 27531
::new::{closure#0} 12
::new::{closure#0} 141
::new::{closure#0} 27378
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable 28548
::sort_readable 394
::sort_readable 802
::sort_readable 27352
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait 28548
::wait 394
::wait 802
::wait 27352
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll 30444
::conn_connect_poll 10
::conn_connect_poll 140
::conn_connect_poll 30294
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result 30444
::conn_get_query_result 10
::conn_get_query_result 140
::conn_get_query_result 30294
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query 30444
::conn_send_query 10
::conn_send_query 140
::conn_send_query 30294
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start 33747
::conn_connect_start 12
::conn_connect_start 158
::conn_connect_start 33577
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status 33747
::conn_status 12
::conn_status 158
::conn_status 33577
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write 34217
::conn_blocking_write 20
::conn_blocking_write 254
::conn_blocking_write 33943
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper 38191
::remove_safekeeper 10
::remove_safekeeper 148
::remove_safekeeper 38033
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set 38191
::rm_safekeeper_event_set 10
::rm_safekeeper_event_set 148
::rm_safekeeper_event_set 38033
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set 44813
::refresh_event_set 689
::refresh_event_set 1187
::refresh_event_set 42937
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper 60888
::add_safekeeper 20
::add_safekeeper 280
::add_safekeeper 60588
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set 60888
::add_safekeeper_event_set 20
::add_safekeeper_event_set 280
::add_safekeeper_event_set 60588
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set 67407
::update_event_set 38
::update_event_set 479
::update_event_set 66890
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set 67407
::update_event_set 38
::update_event_set 479
::update_event_set 66890
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0} 81167
::remove_safekeeper::{closure#0} 20
::remove_safekeeper::{closure#0} 318
::remove_safekeeper::{closure#0} 80829
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set 89436
::wait_event_set 414
::wait_event_set 1082
::wait_event_set 87940
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal 92842
::log_internal 784
::log_internal 1864
::log_internal 90194
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0} 254689
::update_event_set::{closure#0} 124
::update_event_set::{closure#0} 1662
::update_event_set::{closure#0} 252903
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn 300491
::get_conn 1125
::get_conn 3280
::get_conn 296086
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0} 300491
::get_conn::{closure#0} 1125
::get_conn::{closure#0} 3280
::get_conn::{closure#0} 296086
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp 321004
::get_current_timestamp 1384
::get_current_timestamp 3872
::get_current_timestamp 315748
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0} 599543
::get_conn::{closure#0}::{closure#0} 1729
::get_conn::{closure#0}::{closure#0} 5992
::get_conn::{closure#0}::{closure#0} 591822

Generated by: LCOV version 2.1-beta