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:56:37 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4170 10364 40.2 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 564
_call_channel 658006
_call_completion 566409
_finish_unregister 35761
_free_thread 7488
_get_thread 9389272175
_interrupt_wrapper 262974238
_on_thread 775
_thread_exit 245
_thread_lib_init 2717
_thread_remove_pollers 3109
_thread_trace 3008
busy_poller_interrupt_init 3095
busy_poller_set_interrupt_mode 3095
convert_us_to_ticks 166384
interrupt_timerfd_process 97807
io_channel_cmp 11259407
io_channel_tree_RB_FIND 4177700
io_channel_tree_RB_INSERT 98325
io_channel_tree_RB_INSERT_COLOR 98325
io_channel_tree_RB_MINMAX 15087
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 98317
io_channel_tree_RB_REMOVE_COLOR 82912
io_device_cmp 3711183
io_device_free 45270
io_device_get 922569
io_device_tree_RB_FIND 922569
io_device_tree_RB_INSERT 45282
io_device_tree_RB_INSERT_COLOR 45274
io_device_tree_RB_MINMAX 2725
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 45274
io_device_tree_RB_REMOVE_COLOR 37316
msg_queue_run_batch 8592854134
period_poller_interrupt_init 240
period_poller_set_interrupt_mode 248
poller_insert_timer 26115306
poller_interrupt_fini 3335
poller_register 166381
poller_remove_timer 244
poller_set_interrupt_mode 8
put_io_channel 98381
register_flag_thread 3008
spdk_for_each_channel 566413
spdk_for_each_channel_continue 658006
spdk_for_each_thread 564
spdk_get_io_channel 310866
spdk_get_thread 792075618
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 173751160
spdk_interrupt_register 3365
spdk_interrupt_register_ext 3564
spdk_interrupt_register_for_events 3563
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 5416
spdk_io_channel_from_ctx 20045224
spdk_io_channel_get_io_device 14856848
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 379919729
spdk_io_channel_iter_get_channel 671209
spdk_io_channel_iter_get_ctx 1242846
spdk_io_channel_iter_get_io_device 778260
spdk_io_device_get_name 0
spdk_io_device_register 45282
spdk_io_device_unregister 45278
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 1770
spdk_poller_register_named 166140
spdk_poller_resume 205
spdk_poller_unregister 346968
spdk_put_io_channel 310847
spdk_set_thread 529248705
spdk_spin_destroy 91100
spdk_spin_held 1821506
spdk_spin_init 132709
spdk_spin_lock 1967799
spdk_spin_unlock 1967788
spdk_thread_bind 20
spdk_thread_create 7626
spdk_thread_destroy 7495
spdk_thread_exit 7637
spdk_thread_get_app_thread 23038
spdk_thread_get_by_id 672
spdk_thread_get_count 408
spdk_thread_get_cpumask 29114
spdk_thread_get_ctx 37446
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 16553072198
spdk_thread_get_id 79467
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 8342518493
spdk_thread_get_name 1219
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 8472
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3241397
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36621
spdk_thread_is_bound 126
spdk_thread_is_exited 8317188255
spdk_thread_is_idle 63934305
spdk_thread_is_running 3230
spdk_thread_lib_fini 2709
spdk_thread_lib_init 372
spdk_thread_lib_init_ext 2345
spdk_thread_next_poller_expiration 25287
spdk_thread_poll 8592367755
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1334
spdk_thread_send_msg 13234602
spdk_thread_set_cpumask 11876
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 91096
sspin_init_internal 132709
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6209829882
thread_execute_timed_poller 26107119
thread_exit 2813187
thread_get_io_channel 4177700
thread_has_unpaused_pollers 63935917
thread_insert_poller 166509
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 771130
thread_poll 8592695033
thread_run_pp_handlers 0
thread_send_msg_notification 13235936
thread_trace 2295
thread_update_stats 8591952592
timed_poller_compare 202177199
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 26115307
timed_pollers_tree_RB_INSERT_COLOR 26115307
timed_pollers_tree_RB_MINMAX 18578
timed_pollers_tree_RB_NEXT 26126135
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 26115224
timed_pollers_tree_RB_REMOVE_COLOR 23176738
wrong_thread 0

Generated by: LCOV version 1.15