LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1086 1303 83.3 %
Date: 2024-07-11 09:45:31 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 772 1126 68.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 452
_call_channel 801345
_call_completion 722359
_finish_unregister 36045
_free_thread 8921
_get_thread 9470144450
_interrupt_wrapper 3008352
_on_thread 592
_thread_exit 20
_thread_lib_init 3425
_thread_remove_pollers 173
_thread_trace 3374
busy_poller_interrupt_init 185
busy_poller_set_interrupt_mode 185
convert_us_to_ticks 299710
interrupt_timerfd_process 9659
io_channel_cmp 12323508
io_channel_tree_RB_FIND 4597891
io_channel_tree_RB_INSERT 112097
io_channel_tree_RB_INSERT_COLOR 112097
io_channel_tree_RB_MINMAX 17946
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 112097
io_channel_tree_RB_REMOVE_COLOR 95629
io_device_cmp 4727171
io_device_free 46147
io_device_get 1119636
io_device_tree_RB_FIND 1119636
io_device_tree_RB_INSERT 46155
io_device_tree_RB_INSERT_COLOR 46147
io_device_tree_RB_MINMAX 3437
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 46147
io_device_tree_RB_REMOVE_COLOR 37655
msg_queue_run_batch 8916931137
period_poller_interrupt_init 18
period_poller_set_interrupt_mode 28
poller_insert_timer 23614364
poller_interrupt_fini 203
poller_register 299710
poller_remove_timer 23
poller_set_interrupt_mode 10
put_io_channel 112160
register_flag_thread 3374
spdk_for_each_channel 722359
spdk_for_each_channel_continue 801345
spdk_for_each_thread 452
spdk_get_io_channel 351114
spdk_get_thread 542079725
spdk_interrupt_mode_enable 16
spdk_interrupt_mode_is_enabled 10675795
spdk_interrupt_register 224
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 369
spdk_io_channel_from_ctx 22835465
spdk_io_channel_get_io_device 18180763
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 441822043
spdk_io_channel_iter_get_channel 870455
spdk_io_channel_iter_get_ctx 1460475
spdk_io_channel_iter_get_io_device 779964
spdk_io_device_get_name 0
spdk_io_device_register 46155
spdk_io_device_unregister 46151
spdk_poller_get_id 10
spdk_poller_get_name 10
spdk_poller_get_period_ticks 10
spdk_poller_get_state_str 10
spdk_poller_get_stats 10
spdk_poller_pause 178
spdk_poller_register 208
spdk_poller_register_interrupt 824
spdk_poller_register_named 299502
spdk_poller_resume 138
spdk_poller_unregister 736726
spdk_put_io_channel 351102
spdk_set_thread 69887981
spdk_spin_destroy 98537
spdk_spin_held 7901688
spdk_spin_init 136995
spdk_spin_lock 3864049
spdk_spin_unlock 3864041
spdk_thread_bind 20
spdk_thread_create 9061
spdk_thread_destroy 8929
spdk_thread_exit 9069
spdk_thread_get_app_thread 27892
spdk_thread_get_by_id 544
spdk_thread_get_count 295
spdk_thread_get_cpumask 34556
spdk_thread_get_ctx 48508
spdk_thread_get_first_active_poller 132
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 132
spdk_thread_get_first_timed_poller 132
spdk_thread_get_from_ctx 17460941632
spdk_thread_get_id 79256
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 70
spdk_thread_get_last_tsc 8759315739
spdk_thread_get_name 553
spdk_thread_get_next_active_poller 96
spdk_thread_get_next_io_channel 0
spdk_thread_get_next_paused_poller 0
spdk_thread_get_next_timed_poller 84
spdk_thread_get_stats 9480
spdk_thread_has_active_pollers 1959509
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 38142
spdk_thread_is_bound 86
spdk_thread_is_exited 8748740443
spdk_thread_is_idle 76122308
spdk_thread_is_running 3878
spdk_thread_lib_fini 3421
spdk_thread_lib_init 325
spdk_thread_lib_init_ext 3100
spdk_thread_next_poller_expiration 47816
spdk_thread_poll 8916930515
spdk_thread_send_critical_msg 1301
spdk_thread_send_msg 10015427
spdk_thread_set_cpumask 16042
spdk_thread_set_interrupt_mode 40
sspin_fini_internal 98533
sspin_init_internal 136995
sspin_stack_print 72
sspin_stacks_print 24
thread_execute_poller 11829621099
thread_execute_timed_poller 23609536
thread_exit 5464636
thread_get_io_channel 4597891
thread_has_unpaused_pollers 76122316
thread_insert_poller 299812
thread_interrupt_create 20
thread_interrupt_destroy 20
thread_interrupt_msg_process 745
thread_poll 8916930515
thread_send_msg_notification 10016728
thread_trace 3056
thread_update_stats 8916930515
timed_poller_compare 150736435
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 23614364
timed_pollers_tree_RB_INSERT_COLOR 23614364
timed_pollers_tree_RB_MINMAX 18306
timed_pollers_tree_RB_NEXT 23619666
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 23614284
timed_pollers_tree_RB_REMOVE_COLOR 18939136
wrong_thread 0

Generated by: LCOV version 1.14