LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1199 1483 80.8 %
Date: 2024-11-15 14:56:24 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4164 10270 40.5 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 479
_call_channel 485372
_call_completion 479290
_finish_unregister 28315
_free_thread 5839
_get_thread 5572902179
_interrupt_wrapper 8142
_on_thread 690
_thread_exit 12
_thread_lib_init 2207
_thread_remove_pollers 123
_thread_trace 2364
busy_poller_interrupt_init 123
busy_poller_set_interrupt_mode 123
convert_us_to_ticks 117106
interrupt_timerfd_process 7802
io_channel_cmp 9535690
io_channel_tree_RB_FIND 3498594
io_channel_tree_RB_INSERT 56804
io_channel_tree_RB_INSERT_COLOR 56804
io_channel_tree_RB_MINMAX 11790
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 56796
io_channel_tree_RB_REMOVE_COLOR 44772
io_device_cmp 2929642
io_device_free 35858
io_device_get 696008
io_device_tree_RB_FIND 696008
io_device_tree_RB_INSERT 35870
io_device_tree_RB_INSERT_COLOR 35862
io_device_tree_RB_MINMAX 2219
io_device_tree_RB_NEXT 36
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
io_device_tree_RB_REMOVE 35862
io_device_tree_RB_REMOVE_COLOR 29625
msg_queue_run_batch 5227954432
period_poller_interrupt_init 12
period_poller_set_interrupt_mode 20
poller_insert_timer 24688831
poller_interrupt_fini 135
poller_register 117104
poller_remove_timer 16
poller_set_interrupt_mode 8
put_io_channel 56871
register_flag_thread 2364
spdk_for_each_channel 479292
spdk_for_each_channel_continue 485372
spdk_for_each_thread 479
spdk_get_io_channel 180838
spdk_get_thread 341099057
spdk_interrupt_mode_enable 12
spdk_interrupt_mode_is_enabled 132331770
spdk_interrupt_register 147
spdk_interrupt_register_ext 147
spdk_interrupt_register_for_events 147
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 985
spdk_io_channel_from_ctx 16098950
spdk_io_channel_get_io_device 11853181
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 241953431
spdk_io_channel_iter_get_channel 486365
spdk_io_channel_iter_get_ctx 938393
spdk_io_channel_iter_get_io_device 806553
spdk_io_device_get_name 0
spdk_io_device_register 35870
spdk_io_device_unregister 35866
spdk_poller_get_id 20
spdk_poller_get_name 16
spdk_poller_get_period_ticks 16
spdk_poller_get_state_str 44
spdk_poller_get_stats 16
spdk_poller_pause 182
spdk_poller_register 243
spdk_poller_register_interrupt 1707
spdk_poller_register_named 116863
spdk_poller_resume 178
spdk_poller_unregister 175592
spdk_put_io_channel 180815
spdk_set_thread 1296240
spdk_spin_destroy 68529
spdk_spin_held 3259241
spdk_spin_init 100921
spdk_spin_lock 1328912
spdk_spin_unlock 1328902
spdk_thread_bind 20
spdk_thread_create 5973
spdk_thread_destroy 5848
spdk_thread_exit 5988
spdk_thread_get_app_thread 19948
spdk_thread_get_by_id 603
spdk_thread_get_count 370
spdk_thread_get_cpumask 13561
spdk_thread_get_ctx 10480
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 10057371586
spdk_thread_get_id 13534
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 48
spdk_thread_get_last_tsc 5077897742
spdk_thread_get_name 750
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 7027
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3651882
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 28778
spdk_thread_is_bound 124
spdk_thread_is_exited 5060023493
spdk_thread_is_idle 43772003
spdk_thread_is_running 2344
spdk_thread_lib_fini 2203
spdk_thread_lib_init 340
spdk_thread_lib_init_ext 1867
spdk_thread_next_poller_expiration 10492
spdk_thread_poll 5227774498
spdk_thread_send_critical_msg 944
spdk_thread_send_msg 7939324
spdk_thread_set_cpumask 16
spdk_thread_set_interrupt_mode 28
sspin_fini_internal 68525
sspin_init_internal 100921
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 4501200212
thread_execute_timed_poller 24684376
thread_exit 3872506
thread_get_io_channel 3498594
thread_has_unpaused_pollers 43770806
thread_insert_poller 117204
thread_interrupt_create 12
thread_interrupt_destroy 12
thread_interrupt_msg_process 501
thread_poll 5227803387
thread_send_msg_notification 7940267
thread_trace 1820
thread_update_stats 5227619618
timed_poller_compare 203655868
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 24688831
timed_pollers_tree_RB_INSERT_COLOR 24688831
timed_pollers_tree_RB_MINMAX 12087
timed_pollers_tree_RB_NEXT 24693732
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 24688749
timed_pollers_tree_RB_REMOVE_COLOR 22433649
wrong_thread 0

Generated by: LCOV version 1.15