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

Generated by: LCOV version 2.1-beta