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-11 03:23:54 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 776 1132 68.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 6
__posix_abort 0
_back_to_orig_thread 513
_call_channel 692688
_call_completion 631623
_finish_unregister 44274
_free_thread 8324
_get_thread 12734443743
_interrupt_wrapper 3746930
_on_thread 661
_thread_exit 17
_thread_lib_init 3260
_thread_remove_pollers 143
_thread_trace 3570
busy_poller_interrupt_init 139
busy_poller_set_interrupt_mode 139
convert_us_to_ticks 254814
interrupt_timerfd_process 8870
io_channel_cmp 10116202
io_channel_tree_RB_FIND 3745098
io_channel_tree_RB_INSERT 118702
io_channel_tree_RB_INSERT_COLOR 118702
io_channel_tree_RB_MINMAX 16809
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 118696
io_channel_tree_RB_REMOVE_COLOR 95747
io_device_cmp 4271463
io_device_free 54758
io_device_get 1034584
io_device_tree_RB_FIND 1034584
io_device_tree_RB_INSERT 54776
io_device_tree_RB_INSERT_COLOR 54764
io_device_tree_RB_MINMAX 3278
io_device_tree_RB_NEXT 54
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
io_device_tree_RB_REMOVE 54764
io_device_tree_RB_REMOVE_COLOR 44971
msg_queue_run_batch 12246716074
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 23588113
poller_interrupt_fini 154
poller_register 254814
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 118766
register_flag_thread 3570
spdk_for_each_channel 631623
spdk_for_each_channel_continue 692688
spdk_for_each_thread 513
spdk_get_io_channel 348173
spdk_get_thread 476138700
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 309018391
spdk_interrupt_register 172
spdk_interrupt_register_for_events 172
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 322
spdk_io_channel_from_ctx 34023389
spdk_io_channel_get_io_device 26654740
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 386574323
spdk_io_channel_iter_get_channel 715654
spdk_io_channel_iter_get_ctx 1251991
spdk_io_channel_iter_get_io_device 624885
spdk_io_device_get_name 0
spdk_io_device_register 54776
spdk_io_device_unregister 54770
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 257
spdk_poller_register 310
spdk_poller_register_interrupt 796
spdk_poller_register_named 254504
spdk_poller_resume 197
spdk_poller_unregister 593589
spdk_put_io_channel 348149
spdk_set_thread 9573961
spdk_spin_destroy 103998
spdk_spin_held 5388931
spdk_spin_init 144822
spdk_spin_lock 2517382
spdk_spin_unlock 2517374
spdk_thread_bind 22
spdk_thread_create 8534
spdk_thread_destroy 8335
spdk_thread_exit 8531
spdk_thread_get_app_thread 37787
spdk_thread_get_by_id 536
spdk_thread_get_count 318
spdk_thread_get_cpumask 28389
spdk_thread_get_ctx 37970
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 24069944795
spdk_thread_get_id 78455
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 12050070101
spdk_thread_get_name 1082
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 9001
spdk_thread_has_active_pollers 1762245
spdk_thread_has_pollers 12
spdk_thread_is_app_thread 40272
spdk_thread_is_bound 103
spdk_thread_is_exited 12055002943
spdk_thread_is_idle 83430399
spdk_thread_is_running 3863
spdk_thread_lib_fini 3254
spdk_thread_lib_init 473
spdk_thread_lib_init_ext 2787
spdk_thread_next_poller_expiration 22242
spdk_thread_poll 12246715552
spdk_thread_send_critical_msg 1441
spdk_thread_send_msg 10558248
spdk_thread_set_cpumask 11640
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 103992
sspin_init_internal 144822
sspin_stack_print 102
sspin_stacks_print 34
thread_execute_poller 13969286048
thread_execute_timed_poller 23582571
thread_exit 768611
thread_get_io_channel 3745098
thread_has_unpaused_pollers 83430411
thread_insert_poller 254957
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 650
thread_poll 12246715552
thread_send_msg_notification 10559689
thread_trace 2724
thread_update_stats 12246715552
timed_poller_compare 134276315
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 23588113
timed_pollers_tree_RB_INSERT_COLOR 23588113
timed_pollers_tree_RB_MINMAX 17139
timed_pollers_tree_RB_NEXT 23593985
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 23587993
timed_pollers_tree_RB_REMOVE_COLOR 18167249
wrong_thread 0

Generated by: LCOV version 1.14