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 12:21:52 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4191 10364 40.4 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 540
_call_channel 585061
_call_completion 492187
_finish_unregister 33717
_free_thread 6983
_get_thread 8972877500
_interrupt_wrapper 223875024
_on_thread 751
_thread_exit 243
_thread_lib_init 2573
_thread_remove_pollers 1572
_thread_trace 2861
busy_poller_interrupt_init 1476
busy_poller_set_interrupt_mode 1476
convert_us_to_ticks 160939
interrupt_timerfd_process 89088
io_channel_cmp 8902987
io_channel_tree_RB_FIND 3381030
io_channel_tree_RB_INSERT 92080
io_channel_tree_RB_INSERT_COLOR 92080
io_channel_tree_RB_MINMAX 14074
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 92072
io_channel_tree_RB_REMOVE_COLOR 77459
io_device_cmp 3335298
io_device_free 42806
io_device_get 825232
io_device_tree_RB_FIND 825232
io_device_tree_RB_INSERT 42818
io_device_tree_RB_INSERT_COLOR 42810
io_device_tree_RB_MINMAX 2581
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 42810
io_device_tree_RB_REMOVE_COLOR 35094
msg_queue_run_batch 8334116988
period_poller_interrupt_init 240
period_poller_set_interrupt_mode 246
poller_insert_timer 25053828
poller_interrupt_fini 1716
poller_register 160934
poller_remove_timer 243
poller_set_interrupt_mode 6
put_io_channel 92116
register_flag_thread 2861
spdk_for_each_channel 492189
spdk_for_each_channel_continue 585061
spdk_for_each_thread 540
spdk_get_io_channel 290217
spdk_get_thread 639958316
spdk_interrupt_mode_enable 38
spdk_interrupt_mode_is_enabled 141837246
spdk_interrupt_register 1743
spdk_interrupt_register_ext 1942
spdk_interrupt_register_for_events 1941
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3718
spdk_io_channel_from_ctx 15857896
spdk_io_channel_get_io_device 13069612
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 322434284
spdk_io_channel_iter_get_channel 602005
spdk_io_channel_iter_get_ctx 1094842
spdk_io_channel_iter_get_io_device 657664
spdk_io_device_get_name 0
spdk_io_device_register 42818
spdk_io_device_unregister 42814
spdk_poller_get_id 18
spdk_poller_get_name 14
spdk_poller_get_period_ticks 14
spdk_poller_get_state_str 42
spdk_poller_get_stats 14
spdk_poller_pause 209
spdk_poller_register 243
spdk_poller_register_interrupt 1681
spdk_poller_register_named 160694
spdk_poller_resume 205
spdk_poller_unregister 322097
spdk_put_io_channel 290196
spdk_set_thread 450971720
spdk_spin_destroy 85766
spdk_spin_held 1868241
spdk_spin_init 125194
spdk_spin_lock 1935021
spdk_spin_unlock 1935011
spdk_thread_bind 20
spdk_thread_create 7121
spdk_thread_destroy 6990
spdk_thread_exit 7129
spdk_thread_get_app_thread 22236
spdk_thread_get_by_id 636
spdk_thread_get_count 364
spdk_thread_get_cpumask 27778
spdk_thread_get_ctx 36645
spdk_thread_get_first_active_poller 120
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 120
spdk_thread_get_first_timed_poller 120
spdk_thread_get_from_ctx 16122046333
spdk_thread_get_id 78769
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 256
spdk_thread_get_last_tsc 8078162912
spdk_thread_get_name 1206
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 72
spdk_thread_get_stats 7828
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3140409
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 34525
spdk_thread_is_bound 126
spdk_thread_is_exited 8097514640
spdk_thread_is_idle 60074160
spdk_thread_is_running 3069
spdk_thread_lib_fini 2565
spdk_thread_lib_init 364
spdk_thread_lib_init_ext 2209
spdk_thread_next_poller_expiration 24037
spdk_thread_poll 8333646849
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1269
spdk_thread_send_msg 8338543
spdk_thread_set_cpumask 11950
spdk_thread_set_interrupt_mode 131
sspin_fini_internal 85762
sspin_init_internal 125194
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5792912398
thread_execute_timed_poller 25046205
thread_exit 3189510
thread_get_io_channel 3381030
thread_has_unpaused_pollers 60074700
thread_insert_poller 161064
thread_interrupt_create 119
thread_interrupt_destroy 119
thread_interrupt_msg_process 744027
thread_poll 8333815410
thread_run_pp_handlers 0
thread_send_msg_notification 8339809
thread_trace 2159
thread_update_stats 8333603357
timed_poller_compare 193826728
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25053828
timed_pollers_tree_RB_INSERT_COLOR 25053828
timed_pollers_tree_RB_MINMAX 16022
timed_pollers_tree_RB_NEXT 25062581
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25053745
timed_pollers_tree_RB_REMOVE_COLOR 22295131
wrong_thread 0

Generated by: LCOV version 1.15