LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1085 1305 83.1 %
Date: 2024-07-15 15:57:04 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 774 1128 68.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 5
__posix_abort 0
_back_to_orig_thread 529
_call_channel 745633
_call_completion 684012
_finish_unregister 43696
_free_thread 8315
_get_thread 12913148300
_interrupt_wrapper 3798955
_on_thread 673
_thread_exit 17
_thread_lib_init 3182
_thread_remove_pollers 140
_thread_trace 3100
busy_poller_interrupt_init 138
busy_poller_set_interrupt_mode 138
convert_us_to_ticks 302678
interrupt_timerfd_process 8757
io_channel_cmp 11470929
io_channel_tree_RB_FIND 4129193
io_channel_tree_RB_INSERT 121286
io_channel_tree_RB_INSERT_COLOR 121286
io_channel_tree_RB_MINMAX 16764
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 121281
io_channel_tree_RB_REMOVE_COLOR 98972
io_device_cmp 4600629
io_device_free 53939
io_device_get 1096703
io_device_tree_RB_FIND 1096703
io_device_tree_RB_INSERT 53954
io_device_tree_RB_INSERT_COLOR 53944
io_device_tree_RB_MINMAX 3197
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 53944
io_device_tree_RB_REMOVE_COLOR 44895
msg_queue_run_batch 12407434340
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 23315297
poller_interrupt_fini 153
poller_register 302678
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 121367
register_flag_thread 3100
spdk_for_each_channel 684012
spdk_for_each_channel_continue 745633
spdk_for_each_thread 529
spdk_get_io_channel 358727
spdk_get_thread 496603307
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 308673772
spdk_interrupt_register 171
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 321
spdk_io_channel_from_ctx 37930751
spdk_io_channel_get_io_device 28111076
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 418539238
spdk_io_channel_iter_get_channel 810998
spdk_io_channel_iter_get_ctx 1353004
spdk_io_channel_iter_get_io_device 685401
spdk_io_device_get_name 0
spdk_io_device_register 53954
spdk_io_device_unregister 53949
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 219
spdk_poller_register 258
spdk_poller_register_interrupt 875
spdk_poller_register_named 302420
spdk_poller_resume 169
spdk_poller_unregister 782142
spdk_put_io_channel 358707
spdk_set_thread 68868175
spdk_spin_destroy 106313
spdk_spin_held 7584497
spdk_spin_init 146982
spdk_spin_lock 2550775
spdk_spin_unlock 2550769
spdk_thread_bind 21
spdk_thread_create 8490
spdk_thread_destroy 8324
spdk_thread_exit 8490
spdk_thread_get_app_thread 37758
spdk_thread_get_by_id 555
spdk_thread_get_count 337
spdk_thread_get_cpumask 28919
spdk_thread_get_ctx 38641
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 24388517112
spdk_thread_get_id 78170
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 12208623524
spdk_thread_get_name 782
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 8822
spdk_thread_has_active_pollers 2088815
spdk_thread_has_pollers 10
spdk_thread_is_app_thread 40639
spdk_thread_is_bound 95
spdk_thread_is_exited 12208431080
spdk_thread_is_idle 100089474
spdk_thread_is_running 3843
spdk_thread_lib_fini 3177
spdk_thread_lib_init 409
spdk_thread_lib_init_ext 2773
spdk_thread_next_poller_expiration 21894
spdk_thread_poll 12407433834
spdk_thread_send_critical_msg 1472
spdk_thread_send_msg 8021122
spdk_thread_set_cpumask 11854
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 106308
sspin_init_internal 146982
sspin_stack_print 84
sspin_stacks_print 28
thread_execute_poller 13756491365
thread_execute_timed_poller 23309886
thread_exit 643775
thread_get_io_channel 4129193
thread_has_unpaused_pollers 100089484
thread_insert_poller 302802
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 629
thread_poll 12407433834
thread_send_msg_notification 8022594
thread_trace 2720
thread_update_stats 12407433834
timed_poller_compare 129946469
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 23315297
timed_pollers_tree_RB_INSERT_COLOR 23315297
timed_pollers_tree_RB_MINMAX 17085
timed_pollers_tree_RB_NEXT 23321069
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 23315197
timed_pollers_tree_RB_REMOVE_COLOR 17915422
wrong_thread 0

Generated by: LCOV version 1.14