LCOV - code coverage report
Current view: top level - safekeeper/tests/walproposer_sim - walproposer_api.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 97.0 % 498 483
Test Date: 2024-02-29 11:57:12 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>::get_flush_rec_ptr 793
::get_flush_rec_ptr 0
::get_flush_rec_ptr 8
::get_flush_rec_ptr 785
<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>::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 1259
::start_streaming 2
::start_streaming 18
::start_streaming 1239
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_shmem_state 1294
::get_shmem_state 2
::get_shmem_state 18
::get_shmem_state 1274
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_redo_start_lsn 2110
::get_redo_start_lsn 6
::get_redo_start_lsn 38
::get_redo_start_lsn 2066
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::finish_sync_safekeepers 2594
::finish_sync_safekeepers 6
::finish_sync_safekeepers 26
::finish_sync_safekeepers 2562
<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>::after_election 5334
::after_election 8
::after_election 78
::after_election 5248
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::recovery_download 5334
::recovery_download 8
::recovery_download 78
::recovery_download 5248
<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>::wal_reader_allocate 7504
::wal_reader_allocate 4
::wal_reader_allocate 110
::wal_reader_allocate 7390
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::process_safekeeper_feedback 13377
::process_safekeeper_feedback 546
::process_safekeeper_feedback 880
::process_safekeeper_feedback 11951
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_read 25959
::wal_read 804
::wal_read 1206
::wal_read 23949
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_write 33463
::conn_async_write 808
::conn_async_write 1316
::conn_async_write 31339
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::active_state_update_event_set 38840
::active_state_update_event_set 1350
::active_state_update_event_set 2078
::active_state_update_event_set 35412
<misc_test::walproposer_sim::walproposer_api::EventSet>::new 72092
::new 8
::new 94
::new 71990
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::init_event_set 72092
::init_event_set 8
::init_event_set 94
::init_event_set 71990
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::strong_random 72092
::strong_random 8
::strong_random 94
::strong_random 71990
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new 72092
::new 8
::new 94
::new 71990
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_error_message 85567
::conn_error_message 4
::conn_error_message 50
::conn_error_message 85513
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_finish 87615
::conn_finish 4
::conn_finish 52
::conn_finish 87559
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wal_reader_events 110467
::wal_reader_events 3244
::wal_reader_events 5330
::wal_reader_events 101893
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_async_read 132975
::conn_async_read 1228
::conn_async_read 2240
::conn_async_read 129507
<misc_test::walproposer_sim::walproposer_api::EventSet>::sort_readable 214063
::sort_readable 784
::sort_readable 1604
::sort_readable 211675
<misc_test::walproposer_sim::walproposer_api::EventSet>::wait 214063
::wait 784
::wait 1604
::wait 211675
<misc_test::walproposer_sim::walproposer_api::SafekeeperConn>::new 216276
::new 24
::new 282
::new 215970
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::new::{closure#0} 216276
::new::{closure#0} 24
::new::{closure#0} 282
::new::{closure#0} 215970
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_poll 238557
::conn_connect_poll 20
::conn_connect_poll 280
::conn_connect_poll 238257
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_get_query_result 238557
::conn_get_query_result 20
::conn_get_query_result 280
::conn_get_query_result 238257
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_send_query 238557
::conn_send_query 20
::conn_send_query 280
::conn_send_query 238257
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_connect_start 264955
::conn_connect_start 24
::conn_connect_start 316
::conn_connect_start 264615
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_status 264955
::conn_status 24
::conn_status 316
::conn_status 264615
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::conn_blocking_write 265479
::conn_blocking_write 40
::conn_blocking_write 508
::conn_blocking_write 264931
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper 299774
::remove_safekeeper 20
::remove_safekeeper 296
::remove_safekeeper 299458
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::rm_safekeeper_event_set 299774
::rm_safekeeper_event_set 20
::rm_safekeeper_event_set 296
::rm_safekeeper_event_set 299458
<misc_test::walproposer_sim::walproposer_api::EventSet>::refresh_event_set 338560
::refresh_event_set 1370
::refresh_event_set 2374
::refresh_event_set 334816
<misc_test::walproposer_sim::walproposer_api::EventSet>::add_safekeeper 477114
::add_safekeeper 40
::add_safekeeper 560
::add_safekeeper 476514
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::add_safekeeper_event_set 477114
::add_safekeeper_event_set 40
::add_safekeeper_event_set 560
::add_safekeeper_event_set 476514
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set 523833
::update_event_set 76
::update_event_set 958
::update_event_set 522799
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::update_event_set 523833
::update_event_set 76
::update_event_set 958
::update_event_set 522799
<misc_test::walproposer_sim::walproposer_api::EventSet>::remove_safekeeper::{closure#0} 637238
::remove_safekeeper::{closure#0} 40
::remove_safekeeper::{closure#0} 636
::remove_safekeeper::{closure#0} 636562
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::wait_event_set 691177
::wait_event_set 824
::wait_event_set 2164
::wait_event_set 688189
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::log_internal 772743
::log_internal 4806
::log_internal 8368
::log_internal 759569
<misc_test::walproposer_sim::walproposer_api::EventSet>::update_event_set::{closure#0} 1980683
::update_event_set::{closure#0} 248
::update_event_set::{closure#0} 3324
::update_event_set::{closure#0} 1977111
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn 2325798
::get_conn 2260
::get_conn 6568
::get_conn 2316970
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0} 2325798
::get_conn::{closure#0} 2260
::get_conn::{closure#0} 6568
::get_conn::{closure#0} 2316970
<misc_test::walproposer_sim::walproposer_api::SimulationApi as walproposer::walproposer::ApiImpl>::get_current_timestamp 2479853
::get_current_timestamp 2774
::get_current_timestamp 7744
::get_current_timestamp 2469335
<misc_test::walproposer_sim::walproposer_api::SimulationApi>::get_conn::{closure#0}::{closure#0} 4647336
::get_conn::{closure#0}::{closure#0} 3482
::get_conn::{closure#0}::{closure#0} 12000
::get_conn::{closure#0}::{closure#0} 4631854

Generated by: LCOV version 2.1-beta