LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1096 1309 83.7 %
Date: 2024-07-15 15:42:24 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 781 1132 69.0 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 508
_call_channel 650242
_call_completion 557823
_finish_unregister 41066
_free_thread 8277
_get_thread 12062182028
_interrupt_wrapper 815897705
_on_thread 644
_thread_exit 831
_thread_lib_init 3123
_thread_remove_pollers 12335
_thread_trace 3538
busy_poller_interrupt_init 6739
busy_poller_set_interrupt_mode 6739
convert_us_to_ticks 319939
interrupt_timerfd_process 407679
io_channel_cmp 10276289
io_channel_tree_RB_FIND 3830567
io_channel_tree_RB_INSERT 132847
io_channel_tree_RB_INSERT_COLOR 132847
io_channel_tree_RB_MINMAX 16634
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 132844
io_channel_tree_RB_REMOVE_COLOR 114703
io_device_cmp 4059058
io_device_free 51499
io_device_get 995170
io_device_tree_RB_FIND 995170
io_device_tree_RB_INSERT 51508
io_device_tree_RB_INSERT_COLOR 51502
io_device_tree_RB_MINMAX 3132
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 51502
io_device_tree_RB_REMOVE_COLOR 44054
msg_queue_run_batch 10850206503
period_poller_interrupt_init 5953
period_poller_set_interrupt_mode 5961
poller_insert_timer 19879364
poller_interrupt_fini 12692
poller_register 319939
poller_remove_timer 5957
poller_set_interrupt_mode 8
put_io_channel 132923
register_flag_thread 3538
spdk_for_each_channel 557823
spdk_for_each_channel_continue 650242
spdk_for_each_thread 508
spdk_get_io_channel 385833
spdk_get_thread 1203450109
spdk_interrupt_mode_enable 123
spdk_interrupt_mode_is_enabled 79804387
spdk_interrupt_register 12720
spdk_interrupt_register_for_events 13456
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 14872
spdk_io_channel_from_ctx 26426038
spdk_io_channel_get_io_device 19773877
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 303874766
spdk_io_channel_iter_get_channel 811935
spdk_io_channel_iter_get_ctx 1243969
spdk_io_channel_iter_get_io_device 722957
spdk_io_device_get_name 0
spdk_io_device_register 51508
spdk_io_device_unregister 51505
spdk_poller_get_id 8
spdk_poller_get_name 8
spdk_poller_get_period_ticks 8
spdk_poller_get_state_str 8
spdk_poller_get_stats 8
spdk_poller_pause 158
spdk_poller_register 156
spdk_poller_register_interrupt 2746
spdk_poller_register_named 319783
spdk_poller_resume 128
spdk_poller_unregister 825119
spdk_put_io_channel 385821
spdk_set_thread 1633367495
spdk_spin_destroy 106947
spdk_spin_held 1171894
spdk_spin_init 150224
spdk_spin_lock 2068482
spdk_spin_unlock 2068476
spdk_thread_bind 19
spdk_thread_create 8382
spdk_thread_destroy 8282
spdk_thread_exit 8388
spdk_thread_get_app_thread 34158
spdk_thread_get_by_id 484
spdk_thread_get_count 315
spdk_thread_get_cpumask 29139
spdk_thread_get_ctx 39618
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 21266828302
spdk_thread_get_id 124135
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 830
spdk_thread_get_last_tsc 10648188689
spdk_thread_get_name 1353
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 78
spdk_thread_get_stats 9279
spdk_thread_has_active_pollers 2066354
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 41741
spdk_thread_is_bound 79
spdk_thread_is_exited 10655192473
spdk_thread_is_idle 98386655
spdk_thread_is_running 3730
spdk_thread_lib_fini 3120
spdk_thread_lib_init 259
spdk_thread_lib_init_ext 2864
spdk_thread_next_poller_expiration 21838
spdk_thread_poll 10849962757
spdk_thread_send_critical_msg 1600
spdk_thread_send_msg 7775894
spdk_thread_set_cpumask 11890
spdk_thread_set_interrupt_mode 419
sspin_fini_internal 106944
sspin_init_internal 150224
sspin_stack_print 54
sspin_stacks_print 18
thread_execute_poller 11009260102
thread_execute_timed_poller 19868633
thread_exit 3337357
thread_get_io_channel 3830567
thread_has_unpaused_pollers 98386661
thread_insert_poller 320040
thread_interrupt_create 403
thread_interrupt_destroy 403
thread_interrupt_msg_process 243874
thread_poll 10849962757
thread_send_msg_notification 7777494
thread_trace 2831
thread_update_stats 10849962757
timed_poller_compare 122375375
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 19879364
timed_pollers_tree_RB_INSERT_COLOR 19879364
timed_pollers_tree_RB_MINMAX 52777
timed_pollers_tree_RB_NEXT 19895647
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 19879304
timed_pollers_tree_RB_REMOVE_COLOR 15560484
wrong_thread 0

Generated by: LCOV version 1.14