LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1089 1309 83.2 %
Date: 2024-07-15 17:50:13 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 775 1132 68.5 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 504
_call_channel 532097
_call_completion 472811
_finish_unregister 38214
_free_thread 7679
_get_thread 10699428942
_interrupt_wrapper 4841156
_on_thread 640
_thread_exit 17
_thread_lib_init 2919
_thread_remove_pollers 141
_thread_trace 3288
busy_poller_interrupt_init 139
busy_poller_set_interrupt_mode 139
convert_us_to_ticks 286949
interrupt_timerfd_process 8184
io_channel_cmp 9416400
io_channel_tree_RB_FIND 3433018
io_channel_tree_RB_INSERT 112223
io_channel_tree_RB_INSERT_COLOR 112223
io_channel_tree_RB_MINMAX 15438
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 112220
io_channel_tree_RB_REMOVE_COLOR 95084
io_device_cmp 3548093
io_device_free 47829
io_device_get 860085
io_device_tree_RB_FIND 860085
io_device_tree_RB_INSERT 47838
io_device_tree_RB_INSERT_COLOR 47832
io_device_tree_RB_MINMAX 2928
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 47832
io_device_tree_RB_REMOVE_COLOR 40792
msg_queue_run_batch 10336393260
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 19060735
poller_interrupt_fini 154
poller_register 286949
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 112297
register_flag_thread 3288
spdk_for_each_channel 472811
spdk_for_each_channel_continue 532097
spdk_for_each_thread 504
spdk_get_io_channel 339430
spdk_get_thread 355778071
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 77719696
spdk_interrupt_register 172
spdk_interrupt_register_for_events 172
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 320
spdk_io_channel_from_ctx 27129716
spdk_io_channel_get_io_device 20269971
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 273992489
spdk_io_channel_iter_get_channel 678360
spdk_io_channel_iter_get_ctx 1018481
spdk_io_channel_iter_get_io_device 704024
spdk_io_device_get_name 0
spdk_io_device_register 47838
spdk_io_device_unregister 47835
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 143
spdk_poller_register 156
spdk_poller_register_interrupt 837
spdk_poller_register_named 286793
spdk_poller_resume 113
spdk_poller_unregister 641666
spdk_put_io_channel 339418
spdk_set_thread 10741607
spdk_spin_destroy 100976
spdk_spin_held 1046570
spdk_spin_init 140581
spdk_spin_lock 1751637
spdk_spin_unlock 1751631
spdk_thread_bind 19
spdk_thread_create 7784
spdk_thread_destroy 7684
spdk_thread_exit 7790
spdk_thread_get_app_thread 33502
spdk_thread_get_by_id 480
spdk_thread_get_count 305
spdk_thread_get_cpumask 28270
spdk_thread_get_ctx 38179
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 20285076566
spdk_thread_get_id 68575
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 10158875739
spdk_thread_get_name 1053
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 8719
spdk_thread_has_active_pollers 2070055
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 38716
spdk_thread_is_bound 78
spdk_thread_is_exited 10165749156
spdk_thread_is_idle 102439387
spdk_thread_is_running 3477
spdk_thread_lib_fini 2916
spdk_thread_lib_init 259
spdk_thread_lib_init_ext 2660
spdk_thread_next_poller_expiration 21510
spdk_thread_poll 10336392736
spdk_thread_send_critical_msg 1420
spdk_thread_send_msg 6401473
spdk_thread_set_cpumask 11962
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 100973
sspin_init_internal 140581
sspin_stack_print 54
sspin_stacks_print 18
thread_execute_poller 10877174427
thread_execute_timed_poller 19055947
thread_exit 4023138
thread_get_io_channel 3433018
thread_has_unpaused_pollers 102439393
thread_insert_poller 287035
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 652
thread_poll 10336392736
thread_send_msg_notification 6402893
thread_trace 2627
thread_update_stats 10336392736
timed_poller_compare 117987484
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 19060735
timed_pollers_tree_RB_INSERT_COLOR 19060735
timed_pollers_tree_RB_MINMAX 15748
timed_pollers_tree_RB_NEXT 19065979
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 19060675
timed_pollers_tree_RB_REMOVE_COLOR 14948730
wrong_thread 0

Generated by: LCOV version 1.14