LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1224 1532 79.9 %
Date: 2024-12-11 15:12:59 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3980 10466 38.0 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 562
_call_channel 620903
_call_completion 534362
_finish_unregister 33289
_free_thread 7084
_get_thread 8457176916
_interrupt_wrapper 252891154
_on_thread 769
_thread_exit 247
_thread_lib_init 2586
_thread_remove_pollers 1309
_thread_trace 2906
alloc_interrupt 1632
busy_poller_interrupt_init 1161
busy_poller_set_interrupt_mode 1161
convert_us_to_ticks 147265
interrupt_fd_group_wrapper 46634
interrupt_timerfd_process 94384
io_channel_cmp 9790324
io_channel_tree_RB_FIND 3701931
io_channel_tree_RB_INSERT 93487
io_channel_tree_RB_INSERT_COLOR 93487
io_channel_tree_RB_MINMAX 14254
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 93481
io_channel_tree_RB_REMOVE_COLOR 79730
io_device_cmp 3536325
io_device_free 42470
io_device_get 874263
io_device_tree_RB_FIND 874263
io_device_tree_RB_INSERT 42479
io_device_tree_RB_INSERT_COLOR 42473
io_device_tree_RB_MINMAX 2592
io_device_tree_RB_NEXT 27
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
io_device_tree_RB_REMOVE 42473
io_device_tree_RB_REMOVE_COLOR 35681
msg_queue_run_batch 7790050042
period_poller_interrupt_init 242
period_poller_set_interrupt_mode 250
poller_insert_timer 19297419
poller_interrupt_fini 1403
poller_register 147265
poller_remove_timer 246
poller_set_interrupt_mode 8
put_io_channel 93545
register_flag_thread 2906
spdk_for_each_channel 534362
spdk_for_each_channel_continue 620903
spdk_for_each_thread 562
spdk_get_io_channel 297416
spdk_get_thread 654412252
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 176058623
spdk_interrupt_register 1431
spdk_interrupt_register_ext 1630
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 1629
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3482
spdk_io_channel_from_ctx 15692789
spdk_io_channel_get_io_device 11050832
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 293535985
spdk_io_channel_iter_get_channel 623545
spdk_io_channel_iter_get_ctx 1172797
spdk_io_channel_iter_get_io_device 705671
spdk_io_device_get_name 0
spdk_io_device_register 42479
spdk_io_device_unregister 42476
spdk_poller_get_id 17
spdk_poller_get_name 14
spdk_poller_get_period_ticks 14
spdk_poller_get_state_str 35
spdk_poller_get_stats 14
spdk_poller_pause 168
spdk_poller_register 187
spdk_poller_register_interrupt 1742
spdk_poller_register_named 147078
spdk_poller_resume 165
spdk_poller_unregister 324796
spdk_put_io_channel 297401
spdk_set_thread 508686305
spdk_spin_destroy 87155
spdk_spin_held 1880531
spdk_spin_init 128193
spdk_spin_lock 2300225
spdk_spin_unlock 2300217
spdk_thread_bind 19
spdk_thread_create 7195
spdk_thread_destroy 7090
spdk_thread_exit 7197
spdk_thread_get_app_thread 20807
spdk_thread_get_by_id 644
spdk_thread_get_count 377
spdk_thread_get_cpumask 28366
spdk_thread_get_ctx 37007
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 15148759674
spdk_thread_get_id 79115
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7605922311
spdk_thread_get_name 1215
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 8334
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 1850985
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 35694
spdk_thread_is_bound 126
spdk_thread_is_exited 7596727141
spdk_thread_is_idle 61242600
spdk_thread_is_running 3158
spdk_thread_lib_fini 2580
spdk_thread_lib_init 298
spdk_thread_lib_init_ext 2288
spdk_thread_next_poller_expiration 23908
spdk_thread_poll 7789104459
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1311
spdk_thread_send_msg 13092583
spdk_thread_set_cpumask 11902
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 87152
sspin_init_internal 128193
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 5542341899
thread_execute_timed_poller 19289396
thread_exit 3102374
thread_get_io_channel 3701931
thread_has_unpaused_pollers 61240653
thread_insert_poller 147370
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 750857
thread_poll 7789103635
thread_run_pp_handlers 0
thread_send_msg_notification 13093894
thread_trace 2249
thread_update_stats 7788904382
timed_poller_compare 133769237
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 19297419
timed_pollers_tree_RB_INSERT_COLOR 19297419
timed_pollers_tree_RB_MINMAX 15944
timed_pollers_tree_RB_NEXT 19306334
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 19297359
timed_pollers_tree_RB_REMOVE_COLOR 16491993
wrong_thread 0

Generated by: LCOV version 1.15