LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1205 1505 80.1 %
Date: 2024-12-09 11:09:38 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4227 10364 40.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 515
_call_channel 660047
_call_completion 568786
_finish_unregister 33931
_free_thread 7055
_get_thread 8385276071
_interrupt_wrapper 256929838
_on_thread 704
_thread_exit 248
_thread_lib_init 2580
_thread_remove_pollers 1346
_thread_trace 2825
busy_poller_interrupt_init 1221
busy_poller_set_interrupt_mode 1221
convert_us_to_ticks 154897
interrupt_timerfd_process 91086
io_channel_cmp 11252578
io_channel_tree_RB_FIND 4187605
io_channel_tree_RB_INSERT 94336
io_channel_tree_RB_INSERT_COLOR 94336
io_channel_tree_RB_MINMAX 14221
io_channel_tree_RB_NEXT 0
io_channel_tree_RB_NFIND 0
io_channel_tree_RB_PREV 0
io_channel_tree_RB_REINSERT 0
io_channel_tree_RB_REMOVE 94328
io_channel_tree_RB_REMOVE_COLOR 79531
io_device_cmp 3630588
io_device_free 42826
io_device_get 910840
io_device_tree_RB_FIND 910840
io_device_tree_RB_INSERT 42838
io_device_tree_RB_INSERT_COLOR 42830
io_device_tree_RB_MINMAX 2588
io_device_tree_RB_NEXT 36
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
io_device_tree_RB_REMOVE 42830
io_device_tree_RB_REMOVE_COLOR 35074
msg_queue_run_batch 7737261398
period_poller_interrupt_init 238
period_poller_set_interrupt_mode 246
poller_insert_timer 25107943
poller_interrupt_fini 1459
poller_register 154898
poller_remove_timer 242
poller_set_interrupt_mode 8
put_io_channel 94395
register_flag_thread 2825
spdk_for_each_channel 568788
spdk_for_each_channel_continue 660047
spdk_for_each_thread 515
spdk_get_io_channel 299205
spdk_get_thread 643476477
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 139390553
spdk_interrupt_register 1489
spdk_interrupt_register_ext 1688
spdk_interrupt_register_for_events 1687
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3536
spdk_io_channel_from_ctx 17478247
spdk_io_channel_get_io_device 12615045
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 317431807
spdk_io_channel_iter_get_channel 673761
spdk_io_channel_iter_get_ctx 1249030
spdk_io_channel_iter_get_io_device 795892
spdk_io_device_get_name 0
spdk_io_device_register 42838
spdk_io_device_unregister 42834
spdk_poller_get_id 20
spdk_poller_get_name 16
spdk_poller_get_period_ticks 16
spdk_poller_get_state_str 44
spdk_poller_get_stats 16
spdk_poller_pause 209
spdk_poller_register 243
spdk_poller_register_interrupt 1715
spdk_poller_register_named 154655
spdk_poller_resume 205
spdk_poller_unregister 330581
spdk_put_io_channel 299183
spdk_set_thread 517087501
spdk_spin_destroy 88007
spdk_spin_held 1164112
spdk_spin_init 127010
spdk_spin_lock 1939421
spdk_spin_unlock 1939410
spdk_thread_bind 4
spdk_thread_create 7193
spdk_thread_destroy 7064
spdk_thread_exit 7204
spdk_thread_get_app_thread 22185
spdk_thread_get_by_id 648
spdk_thread_get_count 359
spdk_thread_get_cpumask 27802
spdk_thread_get_ctx 36049
spdk_thread_get_first_active_poller 126
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 126
spdk_thread_get_first_timed_poller 126
spdk_thread_get_from_ctx 15004549485
spdk_thread_get_id 78455
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7497444979
spdk_thread_get_name 1128
spdk_thread_get_next_active_poller 48
spdk_thread_get_next_io_channel 0
spdk_thread_get_next_paused_poller 0
spdk_thread_get_next_timed_poller 78
spdk_thread_get_stats 8002
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3321980
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 34415
spdk_thread_is_bound 127
spdk_thread_is_exited 7537870636
spdk_thread_is_idle 57992664
spdk_thread_is_running 3065
spdk_thread_lib_fini 2572
spdk_thread_lib_init 356
spdk_thread_lib_init_ext 2224
spdk_thread_next_poller_expiration 24085
spdk_thread_poll 7736001692
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1275
spdk_thread_send_msg 12557649
spdk_thread_set_cpumask 11592
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 88003
sspin_init_internal 127010
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5411566097
thread_execute_timed_poller 25099598
thread_exit 3425570
thread_get_io_channel 4187605
thread_has_unpaused_pollers 57986421
thread_insert_poller 155021
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 749341
thread_poll 7736119002
thread_run_pp_handlers 0
thread_send_msg_notification 12558924
thread_trace 2174
thread_update_stats 7735533222
timed_poller_compare 192310035
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25107943
timed_pollers_tree_RB_INSERT_COLOR 25107943
timed_pollers_tree_RB_MINMAX 15948
timed_pollers_tree_RB_NEXT 25117189
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25107861
timed_pollers_tree_RB_REMOVE_COLOR 22234213
wrong_thread 0

Generated by: LCOV version 1.15