LCOV - code coverage report
Current view: top level - safekeeper/tests/walproposer_sim - walproposer_api.rs (source / functions) Coverage Total Hit
Test: 309d74c7615cee485c3506897fba3db69780454f.info Lines: 93.8 % 486 456
Test Date: 2025-03-19 16:14:43 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 136
::get_flush_rec_ptr 0
::get_flush_rec_ptr 4
::get_flush_rec_ptr 132
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming 215
::start_streaming 1
::start_streaming 9
::start_streaming 205
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn 296
::get_redo_start_lsn 2
::get_redo_start_lsn 14
::get_redo_start_lsn 280
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers 449
::finish_sync_safekeepers 3
::finish_sync_safekeepers 13
::finish_sync_safekeepers 433
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election 710
::after_election 1
::after_election 33
::after_election 676
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download 710
::recovery_download 1
::recovery_download 33
::recovery_download 676
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read 1141
::wal_read 200
::wal_read 233
::wal_read 708
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_donor 1245
::update_donor 2
::update_donor 51
::update_donor 1192
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate 1295
::wal_reader_allocate 2
::wal_reader_allocate 55
::wal_reader_allocate 1238
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state 2669
::get_shmem_state 4
::get_shmem_state 117
::get_shmem_state 2548
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback 2884
::process_safekeeper_feedback 314
::process_safekeeper_feedback 466
::process_safekeeper_feedback 2104
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write 6438
::conn_async_write 406
::conn_async_write 658
::conn_async_write 5374
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set 7823
::active_state_update_event_set 679
::active_state_update_event_set 1039
::active_state_update_event_set 6105
<misc_test::walproposer_sim::walproposer_api::EventSet>::new 9327
::new 4
::new 47
::new 9276
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set 9327
::init_event_set 4
::init_event_set 47
::init_event_set 9276
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new 9327
::new 4
::new 47
::new 9276
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message 11006
::conn_error_message 2
::conn_error_message 25
::conn_error_message 10979
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish 11246
::conn_finish 2
::conn_finish 26
::conn_finish 11218
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read 20544
::conn_async_read 607
::conn_async_read 1116
::conn_async_read 18821
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events 21948
::wal_reader_events 1632
::wal_reader_events 2665
::wal_reader_events 17651
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new 27981
::new 12
::new 141
::new 27828
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0} 27981
::new::{closure#0} 12
::new::{closure#0} 141
::new::{closure#0} 27828
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable 30127
::sort_readable 394
::sort_readable 802
::sort_readable 28931
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait 30127
::wait 394
::wait 802
::wait 28931
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll 31031
::conn_connect_poll 10
::conn_connect_poll 140
::conn_connect_poll 30881
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result 31031
::conn_get_query_result 10
::conn_get_query_result 140
::conn_get_query_result 30881
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query 31031
::conn_send_query 10
::conn_send_query 140
::conn_send_query 30881
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start 34366
::conn_connect_start 12
::conn_connect_start 158
::conn_connect_start 34196
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status 34366
::conn_status 12
::conn_status 158
::conn_status 34196
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write 35250
::conn_blocking_write 20
::conn_blocking_write 254
::conn_blocking_write 34976
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper 38942
::remove_safekeeper 10
::remove_safekeeper 148
::remove_safekeeper 38784
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set 38942
::rm_safekeeper_event_set 10
::rm_safekeeper_event_set 148
::rm_safekeeper_event_set 38784
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set 46758
::refresh_event_set 689
::refresh_event_set 1187
::refresh_event_set 44882
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper 62062
::add_safekeeper 20
::add_safekeeper 280
::add_safekeeper 61762
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set 62062
::add_safekeeper_event_set 20
::add_safekeeper_event_set 280
::add_safekeeper_event_set 61762
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set 68372
::update_event_set 34
::update_event_set 440
::update_event_set 67898
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set 68372
::update_event_set 34
::update_event_set 440
::update_event_set 67898
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0} 82713
::remove_safekeeper::{closure#0} 20
::remove_safekeeper::{closure#0} 318
::remove_safekeeper::{closure#0} 82375
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set 92189
::wait_event_set 414
::wait_event_set 1082
::wait_event_set 90693
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal 156080
::log_internal 803
::log_internal 2139
::log_internal 153138
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0} 258526
::update_event_set::{closure#0} 112
::update_event_set::{closure#0} 1541
::update_event_set::{closure#0} 256873
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn 308613
::get_conn 1121
::get_conn 3241
::get_conn 304251
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0} 308613
::get_conn::{closure#0} 1121
::get_conn::{closure#0} 3241
::get_conn::{closure#0} 304251
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp 331274
::get_current_timestamp 1384
::get_current_timestamp 3872
::get_current_timestamp 326018
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0} 616268
::get_conn::{closure#0}::{closure#0} 1721
::get_conn::{closure#0}::{closure#0} 5905
::get_conn::{closure#0}::{closure#0} 608642

Generated by: LCOV version 2.1-beta