LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1174 1453 80.8 %
Date: 2024-11-18 19:48:35 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3830 10254 37.4 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 473
_call_channel 753158
_call_completion 683975
_finish_unregister 33330
_free_thread 8280
_get_thread 8867985679
_interrupt_wrapper 2939986
_on_thread 675
_thread_exit 17
_thread_lib_init 3171
_thread_remove_pollers 141
_thread_trace 3148
busy_poller_interrupt_init 154
busy_poller_set_interrupt_mode 154
convert_us_to_ticks 288983
interrupt_timerfd_process 8256
io_channel_cmp 11384591
io_channel_tree_RB_FIND 4124556
io_channel_tree_RB_INSERT 96566
io_channel_tree_RB_INSERT_COLOR 96566
io_channel_tree_RB_MINMAX 16636
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 96566
io_channel_tree_RB_REMOVE_COLOR 81595
io_device_cmp 4320839
io_device_free 42664
io_device_get 1018533
io_device_tree_RB_FIND 1018533
io_device_tree_RB_INSERT 42670
io_device_tree_RB_INSERT_COLOR 42664
io_device_tree_RB_MINMAX 3180
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 42664
io_device_tree_RB_REMOVE_COLOR 35325
msg_queue_run_batch 8384918218
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 23095173
poller_interrupt_fini 169
poller_register 288983
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 96616
register_flag_thread 3148
spdk_for_each_channel 683975
spdk_for_each_channel_continue 753158
spdk_for_each_thread 473
spdk_get_io_channel 291883
spdk_get_thread 474642821
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 8541928
spdk_interrupt_register 187
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 580
spdk_io_channel_from_ctx 27457239
spdk_io_channel_get_io_device 21019783
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 370235212
spdk_io_channel_iter_get_channel 813785
spdk_io_channel_iter_get_ctx 1357891
spdk_io_channel_iter_get_io_device 694408
spdk_io_device_get_name 0
spdk_io_device_register 42670
spdk_io_device_unregister 42667
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 140
spdk_poller_register 157
spdk_poller_register_interrupt 801
spdk_poller_register_named 288826
spdk_poller_resume 110
spdk_poller_unregister 709201
spdk_put_io_channel 291871
spdk_set_thread 63989224
spdk_spin_destroy 89421
spdk_spin_held 5656324
spdk_spin_init 125162
spdk_spin_lock 2636922
spdk_spin_unlock 2636914
spdk_thread_bind 19
spdk_thread_create 8385
spdk_thread_destroy 8285
spdk_thread_exit 8392
spdk_thread_get_app_thread 24635
spdk_thread_get_by_id 479
spdk_thread_get_count 303
spdk_thread_get_cpumask 28953
spdk_thread_get_ctx 38579
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 16398955059
spdk_thread_get_id 73648
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 8248337804
spdk_thread_get_name 524
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 8890
spdk_thread_has_active_pollers 1989451
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 35915
spdk_thread_is_bound 73
spdk_thread_is_exited 8216567856
spdk_thread_is_idle 68085473
spdk_thread_is_running 3658
spdk_thread_lib_fini 3168
spdk_thread_lib_init 256
spdk_thread_lib_init_ext 2915
spdk_thread_next_poller_expiration 47970
spdk_thread_poll 8384675198
spdk_thread_send_critical_msg 1218
spdk_thread_send_msg 7906835
spdk_thread_set_cpumask 11566
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 89418
sspin_init_internal 125162
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 10817375750
thread_execute_timed_poller 23088012
thread_exit 3204774
thread_get_io_channel 4124556
thread_has_unpaused_pollers 68084465
thread_insert_poller 289066
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 633
thread_poll 8384678593
thread_send_msg_notification 7908052
thread_trace 2882
thread_update_stats 8384394852
timed_poller_compare 138732014
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 23095173
timed_pollers_tree_RB_INSERT_COLOR 23095173
timed_pollers_tree_RB_MINMAX 16945
timed_pollers_tree_RB_NEXT 23102814
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 23095113
timed_pollers_tree_RB_REMOVE_COLOR 18274357
wrong_thread 0

Generated by: LCOV version 1.15