LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1087 1309 83.0 %
Date: 2024-07-15 14:51:33 Functions: 139 161 86.3 %
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 434
_call_channel 479044
_call_completion 412857
_finish_unregister 33486
_free_thread 6773
_get_thread 9489071292
_interrupt_wrapper 3890988
_on_thread 474
_thread_exit 14
_thread_lib_init 2620
_thread_remove_pollers 111
_thread_trace 2954
busy_poller_interrupt_init 108
busy_poller_set_interrupt_mode 108
convert_us_to_ticks 235764
interrupt_timerfd_process 6841
io_channel_cmp 7210441
io_channel_tree_RB_FIND 2710789
io_channel_tree_RB_INSERT 98077
io_channel_tree_RB_INSERT_COLOR 98077
io_channel_tree_RB_MINMAX 13626
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 98074
io_channel_tree_RB_REMOVE_COLOR 82552
io_device_cmp 2994722
io_device_free 42169
io_device_get 748435
io_device_tree_RB_FIND 748435
io_device_tree_RB_INSERT 42178
io_device_tree_RB_INSERT_COLOR 42172
io_device_tree_RB_MINMAX 2629
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 42172
io_device_tree_RB_REMOVE_COLOR 35680
msg_queue_run_batch 9166266554
period_poller_interrupt_init 12
period_poller_set_interrupt_mode 18
poller_insert_timer 16974919
poller_interrupt_fini 120
poller_register 235764
poller_remove_timer 15
poller_set_interrupt_mode 6
put_io_channel 98138
register_flag_thread 2954
spdk_for_each_channel 412857
spdk_for_each_channel_continue 479044
spdk_for_each_thread 434
spdk_get_io_channel 293394
spdk_get_thread 314930809
spdk_interrupt_mode_enable 10
spdk_interrupt_mode_is_enabled 90302612
spdk_interrupt_register 135
spdk_interrupt_register_for_events 135
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 283
spdk_io_channel_from_ctx 22030434
spdk_io_channel_get_io_device 16928821
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 234954877
spdk_io_channel_iter_get_channel 575283
spdk_io_channel_iter_get_ctx 902617
spdk_io_channel_iter_get_io_device 570069
spdk_io_device_get_name 0
spdk_io_device_register 42178
spdk_io_device_unregister 42175
spdk_poller_get_id 6
spdk_poller_get_name 6
spdk_poller_get_period_ticks 6
spdk_poller_get_state_str 6
spdk_poller_get_stats 6
spdk_poller_pause 143
spdk_poller_register 156
spdk_poller_register_interrupt 703
spdk_poller_register_named 235608
spdk_poller_resume 113
spdk_poller_unregister 596814
spdk_put_io_channel 293382
spdk_set_thread 8837110
spdk_spin_destroy 88086
spdk_spin_held 1787832
spdk_spin_init 123131
spdk_spin_lock 1697297
spdk_spin_unlock 1697291
spdk_thread_bind 19
spdk_thread_create 6878
spdk_thread_destroy 6778
spdk_thread_exit 6880
spdk_thread_get_app_thread 28403
spdk_thread_get_by_id 326
spdk_thread_get_count 249
spdk_thread_get_cpumask 26005
spdk_thread_get_ctx 36368
spdk_thread_get_first_active_poller 18
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 18
spdk_thread_get_first_timed_poller 18
spdk_thread_get_from_ctx 17910508649
spdk_thread_get_id 66629
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 46
spdk_thread_get_last_tsc 8969544681
spdk_thread_get_name 821
spdk_thread_get_next_active_poller 0
spdk_thread_get_next_io_channel 0
spdk_thread_get_next_paused_poller 0
spdk_thread_get_next_timed_poller 18
spdk_thread_get_stats 6658
spdk_thread_has_active_pollers 1622128
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 34011
spdk_thread_is_bound 61
spdk_thread_is_exited 8976994911
spdk_thread_is_idle 81285979
spdk_thread_is_running 3098
spdk_thread_lib_fini 2617
spdk_thread_lib_init 250
spdk_thread_lib_init_ext 2370
spdk_thread_next_poller_expiration 20487
spdk_thread_poll 9166266162
spdk_thread_send_critical_msg 1244
spdk_thread_send_msg 7128914
spdk_thread_set_cpumask 11948
spdk_thread_set_interrupt_mode 26
sspin_fini_internal 88083
sspin_init_internal 123131
sspin_stack_print 54
sspin_stacks_print 18
thread_execute_poller 9543859117
thread_execute_timed_poller 16970093
thread_exit 2806943
thread_get_io_channel 2710789
thread_has_unpaused_pollers 81285985
thread_insert_poller 235850
thread_interrupt_create 14
thread_interrupt_destroy 14
thread_interrupt_msg_process 520
thread_poll 9166266162
thread_send_msg_notification 7130158
thread_trace 2337
thread_update_stats 9166266162
timed_poller_compare 108646667
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 16974919
timed_pollers_tree_RB_INSERT_COLOR 16974919
timed_pollers_tree_RB_MINMAX 13792
timed_pollers_tree_RB_NEXT 16980089
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 16974859
timed_pollers_tree_RB_REMOVE_COLOR 13105786
wrong_thread 0

Generated by: LCOV version 1.14