LCOV - code coverage report
Current view: top level - safekeeper/tests/walproposer_sim - walproposer_api.rs (source / functions) Coverage Total Hit
Test: 24ee6d80f31ab4e4f310a156af8323b901a6f144.info Lines: 93.8 % 486 456
Test Date: 2025-03-17 16:48:14 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 124
::get_flush_rec_ptr 0
::get_flush_rec_ptr 4
::get_flush_rec_ptr 120
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming 242
::start_streaming 1
::start_streaming 9
::start_streaming 232
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn 313
::get_redo_start_lsn 2
::get_redo_start_lsn 14
::get_redo_start_lsn 297
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers 452
::finish_sync_safekeepers 3
::finish_sync_safekeepers 13
::finish_sync_safekeepers 436
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election 789
::after_election 1
::after_election 33
::after_election 755
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download 789
::recovery_download 1
::recovery_download 33
::recovery_download 755
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read 1274
::wal_read 200
::wal_read 233
::wal_read 841
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_donor 1427
::update_donor 2
::update_donor 51
::update_donor 1374
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate 1489
::wal_reader_allocate 2
::wal_reader_allocate 55
::wal_reader_allocate 1432
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state 3007
::get_shmem_state 4
::get_shmem_state 117
::get_shmem_state 2886
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback 3304
::process_safekeeper_feedback 314
::process_safekeeper_feedback 466
::process_safekeeper_feedback 2524
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write 7328
::conn_async_write 406
::conn_async_write 658
::conn_async_write 6264
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set 8881
::active_state_update_event_set 679
::active_state_update_event_set 1039
::active_state_update_event_set 7163
<misc_test::walproposer_sim::walproposer_api::EventSet>::new 9195
::new 4
::new 47
::new 9144
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set 9195
::init_event_set 4
::init_event_set 47
::init_event_set 9144
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new 9195
::new 4
::new 47
::new 9144
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message 11279
::conn_error_message 2
::conn_error_message 25
::conn_error_message 11252
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish 11595
::conn_finish 2
::conn_finish 26
::conn_finish 11567
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read 21986
::conn_async_read 607
::conn_async_read 1116
::conn_async_read 20263
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events 24912
::wal_reader_events 1632
::wal_reader_events 2665
::wal_reader_events 20615
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new 27585
::new 12
::new 141
::new 27432
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0} 27585
::new::{closure#0} 12
::new::{closure#0} 141
::new::{closure#0} 27432
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll 30708
::conn_connect_poll 10
::conn_connect_poll 140
::conn_connect_poll 30558
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result 30708
::conn_get_query_result 10
::conn_get_query_result 140
::conn_get_query_result 30558
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query 30708
::conn_send_query 10
::conn_send_query 140
::conn_send_query 30558
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable 31049
::sort_readable 394
::sort_readable 802
::sort_readable 29853
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait 31049
::wait 394
::wait 802
::wait 29853
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start 34107
::conn_connect_start 12
::conn_connect_start 158
::conn_connect_start 33937
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status 34107
::conn_status 12
::conn_status 158
::conn_status 33937
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write 35104
::conn_blocking_write 20
::conn_blocking_write 254
::conn_blocking_write 34830
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper 38904
::remove_safekeeper 10
::remove_safekeeper 148
::remove_safekeeper 38746
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set 38904
::rm_safekeeper_event_set 10
::rm_safekeeper_event_set 148
::rm_safekeeper_event_set 38746
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set 47782
::refresh_event_set 689
::refresh_event_set 1187
::refresh_event_set 45906
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper 61416
::add_safekeeper 20
::add_safekeeper 280
::add_safekeeper 61116
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set 61416
::add_safekeeper_event_set 20
::add_safekeeper_event_set 280
::add_safekeeper_event_set 61116
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set 68036
::update_event_set 34
::update_event_set 440
::update_event_set 67562
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set 68036
::update_event_set 34
::update_event_set 440
::update_event_set 67562
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0} 82854
::remove_safekeeper::{closure#0} 20
::remove_safekeeper::{closure#0} 318
::remove_safekeeper::{closure#0} 82516
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set 92465
::wait_event_set 414
::wait_event_set 1082
::wait_event_set 90969
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal 157137
::log_internal 803
::log_internal 2139
::log_internal 154195
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0} 256640
::update_event_set::{closure#0} 112
::update_event_set::{closure#0} 1541
::update_event_set::{closure#0} 254987
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn 309603
::get_conn 1121
::get_conn 3241
::get_conn 305241
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0} 309603
::get_conn::{closure#0} 1121
::get_conn::{closure#0} 3241
::get_conn::{closure#0} 305241
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp 332368
::get_current_timestamp 1384
::get_current_timestamp 3872
::get_current_timestamp 327112
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0} 618043
::get_conn::{closure#0}::{closure#0} 1721
::get_conn::{closure#0}::{closure#0} 5905
::get_conn::{closure#0}::{closure#0} 610417

Generated by: LCOV version 2.1-beta