LCOV - code coverage report
Current view: top level - safekeeper/tests/walproposer_sim - walproposer_api.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 97.0 % 498 483
Test Date: 2024-02-14 18:05:35 Functions: 80.5 % 246 198

Function Name Sort by function name Hit count Sort by function hit count
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set::{closure#0} 0
::refresh_event_set::{closure#0} 0
::refresh_event_set::{closure#0} 0
::refresh_event_set::{closure#0} 0
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#1} 0
::remove_safekeeper::{closure#1} 0
::remove_safekeeper::{closure#1} 0
::remove_safekeeper::{closure#1} 0
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write::{closure#1} 0
::conn_async_write::{closure#1} 0
::conn_async_write::{closure#1} 0
::conn_async_write::{closure#1} 0
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download::{closure#2} 2
::recovery_download::{closure#2} 0
::recovery_download::{closure#2} 0
::recovery_download::{closure#2} 2
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming::{closure#1} 2
::start_streaming::{closure#1} 0
::start_streaming::{closure#1} 0
::start_streaming::{closure#1} 2
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_flush_rec_ptr::{closure#0} 8
::get_flush_rec_ptr::{closure#0} 0
::get_flush_rec_ptr::{closure#0} 4
::get_flush_rec_ptr::{closure#0} 4
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming::{closure#0} 14
::start_streaming::{closure#0} 0
::start_streaming::{closure#0} 6
::start_streaming::{closure#0} 8
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn::{closure#0} 22
::get_redo_start_lsn::{closure#0} 0
::get_redo_start_lsn::{closure#0} 10
::get_redo_start_lsn::{closure#0} 12
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download::{closure#3} 22
::recovery_download::{closure#3} 0
::recovery_download::{closure#3} 0
::recovery_download::{closure#3} 22
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download::{closure#4} 24
::recovery_download::{closure#4} 0
::recovery_download::{closure#4} 0
::recovery_download::{closure#4} 24
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read::{closure#1} 26
::conn_async_read::{closure#1} 0
::conn_async_read::{closure#1} 4
::conn_async_read::{closure#1} 22
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers::{closure#0} 28
::finish_sync_safekeepers::{closure#0} 0
::finish_sync_safekeepers::{closure#0} 14
::finish_sync_safekeepers::{closure#0} 14
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download::{closure#0} 38
::recovery_download::{closure#0} 0
::recovery_download::{closure#0} 18
::recovery_download::{closure#0} 20
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download::{closure#1} 42
::recovery_download::{closure#1} 0
::recovery_download::{closure#1} 4
::recovery_download::{closure#1} 38
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish::{closure#0} 70
::conn_finish::{closure#0} 0
::conn_finish::{closure#0} 32
::conn_finish::{closure#0} 38
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election::{closure#0} 80
::after_election::{closure#0} 0
::after_election::{closure#0} 24
::after_election::{closure#0} 56
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate::{closure#0} 90
::wal_reader_allocate::{closure#0} 0
::wal_reader_allocate::{closure#0} 18
::wal_reader_allocate::{closure#0} 72
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set::{closure#0} 114
::init_event_set::{closure#0} 0
::init_event_set::{closure#0} 42
::init_event_set::{closure#0} 72
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::strong_random::{closure#0} 114
::strong_random::{closure#0} 0
::strong_random::{closure#0} 42
::strong_random::{closure#0} 72
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback::{closure#0} 162
::process_safekeeper_feedback::{closure#0} 0
::process_safekeeper_feedback::{closure#0} 34
::process_safekeeper_feedback::{closure#0} 128
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll::{closure#0} 364
::conn_connect_poll::{closure#0} 0
::conn_connect_poll::{closure#0} 146
::conn_connect_poll::{closure#0} 218
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result::{closure#0} 364
::conn_get_query_result::{closure#0} 0
::conn_get_query_result::{closure#0} 146
::conn_get_query_result::{closure#0} 218
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query::{closure#0} 364
::conn_send_query::{closure#0} 0
::conn_send_query::{closure#0} 146
::conn_send_query::{closure#0} 218
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set::{closure#0} 364
::wait_event_set::{closure#0} 0
::wait_event_set::{closure#0} 146
::wait_event_set::{closure#0} 218
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set::{closure#1} 364
::wait_event_set::{closure#1} 0
::wait_event_set::{closure#1} 146
::wait_event_set::{closure#1} 218
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start::{closure#0} 398
::conn_connect_start::{closure#0} 0
::conn_connect_start::{closure#0} 154
::conn_connect_start::{closure#0} 244
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status::{closure#0} 398
::conn_status::{closure#0} 0
::conn_status::{closure#0} 154
::conn_status::{closure#0} 244
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set::{closure#0} 400
::rm_safekeeper_event_set::{closure#0} 0
::rm_safekeeper_event_set::{closure#0} 176
::rm_safekeeper_event_set::{closure#0} 224
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write::{closure#0} 404
::conn_async_write::{closure#0} 0
::conn_async_write::{closure#0} 74
::conn_async_write::{closure#0} 330
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set::{closure#0} 472
::active_state_update_event_set::{closure#0} 0
::active_state_update_event_set::{closure#0} 90
::active_state_update_event_set::{closure#0} 382
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write::{closure#0} 616
::conn_blocking_write::{closure#0} 0
::conn_blocking_write::{closure#0} 232
::conn_blocking_write::{closure#0} 384
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set::{closure#2} 690
::wait_event_set::{closure#2} 0
::wait_event_set::{closure#2} 230
::wait_event_set::{closure#2} 460
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set::{closure#0} 728
::add_safekeeper_event_set::{closure#0} 0
::add_safekeeper_event_set::{closure#0} 292
::add_safekeeper_event_set::{closure#0} 436
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read::{closure#0} 810
::conn_async_read::{closure#0} 0
::conn_async_read::{closure#0} 244
::conn_async_read::{closure#0} 566
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_flush_rec_ptr 817
::get_flush_rec_ptr 0
::get_flush_rec_ptr 8
::get_flush_rec_ptr 809
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set::{closure#0} 1166
::update_event_set::{closure#0} 0
::update_event_set::{closure#0} 438
::update_event_set::{closure#0} 728
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::start_streaming 1214
::start_streaming 2
::start_streaming 18
::start_streaming 1194
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state 1264
::get_shmem_state 2
::get_shmem_state 18
::get_shmem_state 1244
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn 2086
::get_redo_start_lsn 6
::get_redo_start_lsn 38
::get_redo_start_lsn 2042
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers 2757
::finish_sync_safekeepers 6
::finish_sync_safekeepers 26
::finish_sync_safekeepers 2725
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal::{closure#0} 3128
::log_internal::{closure#0} 0
::log_internal::{closure#0} 918
::log_internal::{closure#0} 2210
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp::{closure#0} 5510
::get_current_timestamp::{closure#0} 0
::get_current_timestamp::{closure#0} 2000
::get_current_timestamp::{closure#0} 3510
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::after_election 5633
::after_election 8
::after_election 78
::after_election 5547
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download 5633
::recovery_download 8
::recovery_download 78
::recovery_download 5547
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_allocate 7643
::wal_reader_allocate 4
::wal_reader_allocate 110
::wal_reader_allocate 7529
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback 13032
::process_safekeeper_feedback 546
::process_safekeeper_feedback 880
::process_safekeeper_feedback 11606
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read 26280
::wal_read 804
::wal_read 1206
::wal_read 24270
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write 33923
::conn_async_write 808
::conn_async_write 1316
::conn_async_write 31799
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set 38816
::active_state_update_event_set 1350
::active_state_update_event_set 2078
::active_state_update_event_set 35388
<misc_test::walproposer_sim::walproposer_api::EventSet>::new 73354
::new 8
::new 94
::new 73252
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set 73354
::init_event_set 8
::init_event_set 94
::init_event_set 73252
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::strong_random 73354
::strong_random 8
::strong_random 94
::strong_random 73252
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new 73354
::new 8
::new 94
::new 73252
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message 87390
::conn_error_message 4
::conn_error_message 50
::conn_error_message 87336
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish 89522
::conn_finish 4
::conn_finish 52
::conn_finish 89466
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events 110114
::wal_reader_events 3244
::wal_reader_events 5330
::wal_reader_events 101540
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read 136613
::conn_async_read 1228
::conn_async_read 2240
::conn_async_read 133145
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable 219809
::sort_readable 784
::sort_readable 1604
::sort_readable 217421
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait 219809
::wait 784
::wait 1604
::wait 217421
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new 220062
::new 24
::new 282
::new 219756
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0} 220062
::new::{closure#0} 24
::new::{closure#0} 282
::new::{closure#0} 219756
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll 243149
::conn_connect_poll 20
::conn_connect_poll 280
::conn_connect_poll 242849
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result 243149
::conn_get_query_result 20
::conn_get_query_result 280
::conn_get_query_result 242849
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query 243149
::conn_send_query 20
::conn_send_query 280
::conn_send_query 242849
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start 270013
::conn_connect_start 24
::conn_connect_start 316
::conn_connect_start 269673
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status 270013
::conn_status 24
::conn_status 316
::conn_status 269673
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write 272086
::conn_blocking_write 40
::conn_blocking_write 508
::conn_blocking_write 271538
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper 305807
::remove_safekeeper 20
::remove_safekeeper 296
::remove_safekeeper 305491
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set 305807
::rm_safekeeper_event_set 20
::rm_safekeeper_event_set 296
::rm_safekeeper_event_set 305491
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set 344576
::refresh_event_set 1370
::refresh_event_set 2374
::refresh_event_set 340832
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper 486298
::add_safekeeper 40
::add_safekeeper 560
::add_safekeeper 485698
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set 486298
::add_safekeeper_event_set 40
::add_safekeeper_event_set 560
::add_safekeeper_event_set 485698
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set 536290
::update_event_set 76
::update_event_set 958
::update_event_set 535256
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set 536290
::update_event_set 76
::update_event_set 958
::update_event_set 535256
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0} 650501
::remove_safekeeper::{closure#0} 40
::remove_safekeeper::{closure#0} 636
::remove_safekeeper::{closure#0} 649825
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set 706107
::wait_event_set 824
::wait_event_set 2164
::wait_event_set 703119
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal 788290
::log_internal 4806
::log_internal 8368
::log_internal 775116
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0} 2026279
::update_event_set::{closure#0} 248
::update_event_set::{closure#0} 3324
::update_event_set::{closure#0} 2022707
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn 2375912
::get_conn 2260
::get_conn 6568
::get_conn 2367084
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0} 2375912
::get_conn::{closure#0} 2260
::get_conn::{closure#0} 6568
::get_conn::{closure#0} 2367084
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp 2534073
::get_current_timestamp 2774
::get_current_timestamp 7744
::get_current_timestamp 2523555
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0} 4747414
::get_conn::{closure#0}::{closure#0} 3482
::get_conn::{closure#0}::{closure#0} 12000
::get_conn::{closure#0}::{closure#0} 4731932

Generated by: LCOV version 2.1-beta