LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1211 1547 78.3 %
Date: 2024-12-10 00:36:33 Functions: 142 168 84.5 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4160 10472 39.7 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 519
_call_channel 709777
_call_completion 617797
_finish_unregister 34846
_free_thread 7109
_get_thread 8717803062
_interrupt_wrapper 216930011
_on_thread 634
_thread_exit 243
_thread_lib_init 2610
_thread_remove_pollers 1225
_thread_trace 2869
alloc_interrupt 1491
busy_poller_interrupt_init 1032
busy_poller_set_interrupt_mode 1032
convert_us_to_ticks 155785
interrupt_fd_group_wrapper 0
interrupt_timerfd_process 84882
io_channel_cmp 11129343
io_channel_tree_RB_FIND 4290601
io_channel_tree_RB_INSERT 96655
io_channel_tree_RB_INSERT_COLOR 96655
io_channel_tree_RB_MINMAX 14329
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 96647
io_channel_tree_RB_REMOVE_COLOR 81591
io_device_cmp 3910935
io_device_free 44047
io_device_get 967947
io_device_tree_RB_FIND 967947
io_device_tree_RB_INSERT 44059
io_device_tree_RB_INSERT_COLOR 44051
io_device_tree_RB_MINMAX 2618
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 44051
io_device_tree_RB_REMOVE_COLOR 36246
msg_queue_run_batch 8031141568
period_poller_interrupt_init 233
period_poller_set_interrupt_mode 241
poller_insert_timer 24133538
poller_interrupt_fini 1265
poller_register 155783
poller_remove_timer 237
poller_set_interrupt_mode 8
put_io_channel 96715
register_flag_thread 2869
spdk_for_each_channel 617797
spdk_for_each_channel_continue 709777
spdk_for_each_thread 519
spdk_get_io_channel 306084
spdk_get_thread 681466028
spdk_interrupt_mode_enable 40
spdk_interrupt_mode_is_enabled 141495771
spdk_interrupt_register 1293
spdk_interrupt_register_ext 1491
spdk_interrupt_register_fd_group 0
spdk_interrupt_register_for_events 1491
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3353
spdk_io_channel_from_ctx 18827447
spdk_io_channel_get_io_device 13824471
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 344935124
spdk_io_channel_iter_get_channel 719472
spdk_io_channel_iter_get_ctx 1343619
spdk_io_channel_iter_get_io_device 790307
spdk_io_device_get_name 0
spdk_io_device_register 44059
spdk_io_device_unregister 44055
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 1744
spdk_poller_register_named 155538
spdk_poller_resume 205
spdk_poller_unregister 373400
spdk_put_io_channel 306059
spdk_set_thread 437103484
spdk_spin_destroy 89754
spdk_spin_held 1838496
spdk_spin_init 129838
spdk_spin_lock 1996463
spdk_spin_unlock 1996453
spdk_thread_bind 20
spdk_thread_create 7247
spdk_thread_destroy 7117
spdk_thread_exit 7258
spdk_thread_get_app_thread 22355
spdk_thread_get_by_id 370
spdk_thread_get_count 393
spdk_thread_get_cpumask 27858
spdk_thread_get_ctx 36810
spdk_thread_get_first_active_poller 24
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 24
spdk_thread_get_first_timed_poller 24
spdk_thread_get_from_ctx 15529316535
spdk_thread_get_id 77303
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 264
spdk_thread_get_last_tsc 7806324253
spdk_thread_get_name 854
spdk_thread_get_next_active_poller 0
spdk_thread_get_next_io_channel 0
spdk_thread_get_next_paused_poller 0
spdk_thread_get_next_timed_poller 24
spdk_thread_get_stats 6767
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3812033
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 35128
spdk_thread_is_bound 72
spdk_thread_is_exited 7801821617
spdk_thread_is_idle 60144800
spdk_thread_is_running 3057
spdk_thread_lib_fini 2602
spdk_thread_lib_init 371
spdk_thread_lib_init_ext 2239
spdk_thread_next_poller_expiration 23124
spdk_thread_poll 8031232959
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1274
spdk_thread_send_msg 13462671
spdk_thread_set_cpumask 12004
spdk_thread_set_interrupt_mode 136
sspin_fini_internal 89750
sspin_init_internal 129838
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5811514966
thread_execute_timed_poller 24126186
thread_exit 4078691
thread_get_io_channel 4290601
thread_has_unpaused_pollers 60149033
thread_insert_poller 155910
thread_interrupt_create 120
thread_interrupt_destroy 120
thread_interrupt_msg_process 756290
thread_poll 8031029883
thread_run_pp_handlers 0
thread_send_msg_notification 13463945
thread_trace 2189
thread_update_stats 8031571053
timed_poller_compare 189402214
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 24133538
timed_pollers_tree_RB_INSERT_COLOR 24133538
timed_pollers_tree_RB_MINMAX 15835
timed_pollers_tree_RB_NEXT 24141597
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 24133458
timed_pollers_tree_RB_REMOVE_COLOR 21345723
wrong_thread 0

Generated by: LCOV version 1.14