LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1084 1303 83.2 %
Date: 2024-07-15 14:57:06 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 773 1126 68.7 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 5
__posix_abort 0
_back_to_orig_thread 409
_call_channel 680898
_call_completion 638470
_finish_unregister 34376
_free_thread 7759
_get_thread 7290314664
_interrupt_wrapper 5003036
_on_thread 551
_thread_exit 17
_thread_lib_init 3040
_thread_remove_pollers 141
_thread_trace 2924
busy_poller_interrupt_init 154
busy_poller_set_interrupt_mode 154
convert_us_to_ticks 255662
interrupt_timerfd_process 9456
io_channel_cmp 10307645
io_channel_tree_RB_FIND 3743456
io_channel_tree_RB_INSERT 88362
io_channel_tree_RB_INSERT_COLOR 88362
io_channel_tree_RB_MINMAX 15648
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 88362
io_channel_tree_RB_REMOVE_COLOR 70442
io_device_cmp 4017195
io_device_free 43207
io_device_get 949219
io_device_tree_RB_FIND 949219
io_device_tree_RB_INSERT 43217
io_device_tree_RB_INSERT_COLOR 43207
io_device_tree_RB_MINMAX 3055
io_device_tree_RB_NEXT 45
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
io_device_tree_RB_REMOVE 43207
io_device_tree_RB_REMOVE_COLOR 34597
msg_queue_run_batch 6891474066
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 20011139
poller_interrupt_fini 169
poller_register 255662
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 88421
register_flag_thread 2924
spdk_for_each_channel 638470
spdk_for_each_channel_continue 680898
spdk_for_each_thread 409
spdk_get_io_channel 267522
spdk_get_thread 390714371
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 7746120
spdk_interrupt_register 187
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 337
spdk_io_channel_from_ctx 26382038
spdk_io_channel_get_io_device 20956861
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 331987707
spdk_io_channel_iter_get_channel 723810
spdk_io_channel_iter_get_ctx 1228500
spdk_io_channel_iter_get_io_device 677057
spdk_io_device_get_name 0
spdk_io_device_register 43217
spdk_io_device_unregister 43212
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 203
spdk_poller_register 258
spdk_poller_register_interrupt 756
spdk_poller_register_named 255404
spdk_poller_resume 153
spdk_poller_unregister 648903
spdk_put_io_channel 267507
spdk_set_thread 68214769
spdk_spin_destroy 70123
spdk_spin_held 4846627
spdk_spin_init 102253
spdk_spin_lock 2385353
spdk_spin_unlock 2385347
spdk_thread_bind 21
spdk_thread_create 7934
spdk_thread_destroy 7769
spdk_thread_exit 7935
spdk_thread_get_app_thread 26808
spdk_thread_get_by_id 526
spdk_thread_get_count 297
spdk_thread_get_cpumask 23070
spdk_thread_get_ctx 29869
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 13497289558
spdk_thread_get_id 23242
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 6758215746
spdk_thread_get_name 506
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 8336
spdk_thread_has_active_pollers 2139523
spdk_thread_has_pollers 10
spdk_thread_is_app_thread 32475
spdk_thread_is_bound 92
spdk_thread_is_exited 6760564265
spdk_thread_is_idle 52094708
spdk_thread_is_running 3427
spdk_thread_lib_fini 3035
spdk_thread_lib_init 398
spdk_thread_lib_init_ext 2642
spdk_thread_next_poller_expiration 42421
spdk_thread_poll 6891473558
spdk_thread_send_critical_msg 1068
spdk_thread_send_msg 7182430
spdk_thread_set_cpumask 7998
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 70118
sspin_init_internal 102253
sspin_stack_print 84
sspin_stacks_print 28
thread_execute_poller 8623195702
thread_execute_timed_poller 20007667
thread_exit 493245
thread_get_io_channel 3743456
thread_has_unpaused_pollers 52094718
thread_insert_poller 255770
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 631
thread_poll 6891473558
thread_send_msg_notification 7183498
thread_trace 2590
thread_update_stats 6891473558
timed_poller_compare 122217748
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 20011139
timed_pollers_tree_RB_INSERT_COLOR 20011139
timed_pollers_tree_RB_MINMAX 15970
timed_pollers_tree_RB_NEXT 20014933
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 20011039
timed_pollers_tree_RB_REMOVE_COLOR 16064316
wrong_thread 0

Generated by: LCOV version 1.14