LCOV - code coverage report
Current view: top level - safekeeper/tests/walproposer_sim - walproposer_api.rs (source / functions) Coverage Total Hit
Test: 99639c26b49a0d6d546fd973670c30470ee3a81e.info Lines: 93.8 % 486 456
Test Date: 2025-03-18 16:39:53 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 113
::get_flush_rec_ptr 0
::get_flush_rec_ptr 4
::get_flush_rec_ptr 109
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming 196
::start_streaming 1
::start_streaming 9
::start_streaming 186
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn 276
::get_redo_start_lsn 2
::get_redo_start_lsn 14
::get_redo_start_lsn 260
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers 406
::finish_sync_safekeepers 3
::finish_sync_safekeepers 13
::finish_sync_safekeepers 390
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election 558
::after_election 1
::after_election 33
::after_election 524
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download 558
::recovery_download 1
::recovery_download 33
::recovery_download 524
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_donor 957
::update_donor 2
::update_donor 51
::update_donor 904
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read 988
::wal_read 200
::wal_read 233
::wal_read 555
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate 1016
::wal_reader_allocate 2
::wal_reader_allocate 55
::wal_reader_allocate 959
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state 2081
::get_shmem_state 4
::get_shmem_state 117
::get_shmem_state 1960
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback 2387
::process_safekeeper_feedback 314
::process_safekeeper_feedback 466
::process_safekeeper_feedback 1607
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write 5116
::conn_async_write 406
::conn_async_write 658
::conn_async_write 4052
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set 6324
::active_state_update_event_set 679
::active_state_update_event_set 1039
::active_state_update_event_set 4606
<misc_test::walproposer_sim::walproposer_api::EventSet>::new 8979
::new 4
::new 47
::new 8928
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set 8979
::init_event_set 4
::init_event_set 47
::init_event_set 8928
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new 8979
::new 4
::new 47
::new 8928
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message 11265
::conn_error_message 2
::conn_error_message 25
::conn_error_message 11238
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish 11551
::conn_finish 2
::conn_finish 26
::conn_finish 11523
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events 17728
::wal_reader_events 1632
::wal_reader_events 2665
::wal_reader_events 13431
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read 19428
::conn_async_read 607
::conn_async_read 1116
::conn_async_read 17705
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new 26937
::new 12
::new 141
::new 26784
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0} 26937
::new::{closure#0} 12
::new::{closure#0} 141
::new::{closure#0} 26784
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable 29127
::sort_readable 394
::sort_readable 802
::sort_readable 27931
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait 29127
::wait 394
::wait 802
::wait 27931
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll 29872
::conn_connect_poll 10
::conn_connect_poll 140
::conn_connect_poll 29722
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result 29872
::conn_get_query_result 10
::conn_get_query_result 140
::conn_get_query_result 29722
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query 29872
::conn_send_query 10
::conn_send_query 140
::conn_send_query 29722
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start 33185
::conn_connect_start 12
::conn_connect_start 158
::conn_connect_start 33015
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status 33185
::conn_status 12
::conn_status 158
::conn_status 33015
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write 33883
::conn_blocking_write 20
::conn_blocking_write 254
::conn_blocking_write 33609
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper 38110
::remove_safekeeper 10
::remove_safekeeper 148
::remove_safekeeper 37952
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set 38110
::rm_safekeeper_event_set 10
::rm_safekeeper_event_set 148
::rm_safekeeper_event_set 37952
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set 44432
::refresh_event_set 689
::refresh_event_set 1187
::refresh_event_set 42556
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper 59744
::add_safekeeper 20
::add_safekeeper 280
::add_safekeeper 59444
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set 59744
::add_safekeeper_event_set 20
::add_safekeeper_event_set 280
::add_safekeeper_event_set 59444
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set 65832
::update_event_set 34
::update_event_set 440
::update_event_set 65358
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set 65832
::update_event_set 34
::update_event_set 440
::update_event_set 65358
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0} 81076
::remove_safekeeper::{closure#0} 20
::remove_safekeeper::{closure#0} 318
::remove_safekeeper::{closure#0} 80738
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set 88871
::wait_event_set 414
::wait_event_set 1082
::wait_event_set 87375
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal 149199
::log_internal 803
::log_internal 2139
::log_internal 146257
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0} 248535
::update_event_set::{closure#0} 112
::update_event_set::{closure#0} 1541
::update_event_set::{closure#0} 246882
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn 296977
::get_conn 1121
::get_conn 3241
::get_conn 292615
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0} 296977
::get_conn::{closure#0} 1121
::get_conn::{closure#0} 3241
::get_conn::{closure#0} 292615
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp 318718
::get_current_timestamp 1384
::get_current_timestamp 3872
::get_current_timestamp 313462
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0} 592828
::get_conn::{closure#0}::{closure#0} 1721
::get_conn::{closure#0}::{closure#0} 5905
::get_conn::{closure#0}::{closure#0} 585202

Generated by: LCOV version 2.1-beta