LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1088 1303 83.5 %
Date: 2024-07-12 04:40:00 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 775 1126 68.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 414
_call_channel 568433
_call_completion 500074
_finish_unregister 34681
_free_thread 8322
_get_thread 8757944060
_interrupt_wrapper 4660413
_on_thread 554
_thread_exit 20
_thread_lib_init 3212
_thread_remove_pollers 173
_thread_trace 3155
busy_poller_interrupt_init 188
busy_poller_set_interrupt_mode 188
convert_us_to_ticks 283935
interrupt_timerfd_process 9660
io_channel_cmp 10648314
io_channel_tree_RB_FIND 3973143
io_channel_tree_RB_INSERT 98785
io_channel_tree_RB_INSERT_COLOR 98785
io_channel_tree_RB_MINMAX 16748
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 98785
io_channel_tree_RB_REMOVE_COLOR 82986
io_device_cmp 3414519
io_device_free 44200
io_device_get 842966
io_device_tree_RB_FIND 842966
io_device_tree_RB_INSERT 44208
io_device_tree_RB_INSERT_COLOR 44200
io_device_tree_RB_MINMAX 3224
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 44200
io_device_tree_RB_REMOVE_COLOR 36110
msg_queue_run_batch 8291891422
period_poller_interrupt_init 18
period_poller_set_interrupt_mode 28
poller_insert_timer 21361845
poller_interrupt_fini 206
poller_register 283935
poller_remove_timer 23
poller_set_interrupt_mode 10
put_io_channel 98805
register_flag_thread 3155
spdk_for_each_channel 500074
spdk_for_each_channel_continue 568433
spdk_for_each_thread 414
spdk_get_io_channel 298676
spdk_get_thread 458033918
spdk_interrupt_mode_enable 16
spdk_interrupt_mode_is_enabled 7802910
spdk_interrupt_register 227
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 372
spdk_io_channel_from_ctx 23590183
spdk_io_channel_get_io_device 19149165
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 393355857
spdk_io_channel_iter_get_channel 745481
spdk_io_channel_iter_get_ctx 1105907
spdk_io_channel_iter_get_io_device 799500
spdk_io_device_get_name 0
spdk_io_device_register 44208
spdk_io_device_unregister 44204
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 797
spdk_poller_register_named 283727
spdk_poller_resume 138
spdk_poller_unregister 787635
spdk_put_io_channel 298664
spdk_set_thread 57875856
spdk_spin_destroy 93190
spdk_spin_held 6663295
spdk_spin_init 129609
spdk_spin_lock 1891367
spdk_spin_unlock 1891359
spdk_thread_bind 20
spdk_thread_create 8462
spdk_thread_destroy 8330
spdk_thread_exit 8470
spdk_thread_get_app_thread 26605
spdk_thread_get_by_id 516
spdk_thread_get_count 291
spdk_thread_get_cpumask 29125
spdk_thread_get_ctx 38956
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 16212997727
spdk_thread_get_id 73785
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 70
spdk_thread_get_last_tsc 8114977609
spdk_thread_get_name 527
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 8844
spdk_thread_has_active_pollers 1982935
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 35835
spdk_thread_is_bound 92
spdk_thread_is_exited 8122969111
spdk_thread_is_idle 71748326
spdk_thread_is_running 3570
spdk_thread_lib_fini 3208
spdk_thread_lib_init 325
spdk_thread_lib_init_ext 2887
spdk_thread_next_poller_expiration 47335
spdk_thread_poll 8291890787
spdk_thread_send_critical_msg 1203
spdk_thread_send_msg 7178188
spdk_thread_set_cpumask 11858
spdk_thread_set_interrupt_mode 40
sspin_fini_internal 93186
sspin_init_internal 129609
sspin_stack_print 72
sspin_stacks_print 24
thread_execute_poller 10800495417
thread_execute_timed_poller 21357600
thread_exit 5462746
thread_get_io_channel 3973143
thread_has_unpaused_pollers 71748334
thread_insert_poller 284037
thread_interrupt_create 20
thread_interrupt_destroy 20
thread_interrupt_msg_process 756
thread_poll 8291890787
thread_send_msg_notification 7179391
thread_trace 2844
thread_update_stats 8291890787
timed_poller_compare 134448486
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 21361845
timed_pollers_tree_RB_INSERT_COLOR 21361845
timed_pollers_tree_RB_MINMAX 22896
timed_pollers_tree_RB_NEXT 21366574
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 21361765
timed_pollers_tree_RB_REMOVE_COLOR 17448178
wrong_thread 0

Generated by: LCOV version 1.14