LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1086 1303 83.3 %
Date: 2024-07-15 19:04:35 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 772 1126 68.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 446
_call_channel 756070
_call_completion 680530
_finish_unregister 32626
_free_thread 8355
_get_thread 8723426388
_interrupt_wrapper 2950973
_on_thread 582
_thread_exit 17
_thread_lib_init 3171
_thread_remove_pollers 143
_thread_trace 3148
busy_poller_interrupt_init 155
busy_poller_set_interrupt_mode 155
convert_us_to_ticks 279236
interrupt_timerfd_process 8163
io_channel_cmp 11000896
io_channel_tree_RB_FIND 4119321
io_channel_tree_RB_INSERT 105895
io_channel_tree_RB_INSERT_COLOR 105895
io_channel_tree_RB_MINMAX 16788
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 105895
io_channel_tree_RB_REMOVE_COLOR 91033
io_device_cmp 4500357
io_device_free 41967
io_device_get 1055780
io_device_tree_RB_FIND 1055780
io_device_tree_RB_INSERT 41973
io_device_tree_RB_INSERT_COLOR 41967
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 41967
io_device_tree_RB_REMOVE_COLOR 34510
msg_queue_run_batch 8238567731
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 21500944
poller_interrupt_fini 170
poller_register 279236
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 105953
register_flag_thread 3148
spdk_for_each_channel 680530
spdk_for_each_channel_continue 756070
spdk_for_each_thread 446
spdk_get_io_channel 333271
spdk_get_thread 474406053
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 10012632
spdk_interrupt_register 188
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 333
spdk_io_channel_from_ctx 21185513
spdk_io_channel_get_io_device 16553915
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 399950326
spdk_io_channel_iter_get_channel 808778
spdk_io_channel_iter_get_ctx 1370439
spdk_io_channel_iter_get_io_device 695720
spdk_io_device_get_name 0
spdk_io_device_register 41973
spdk_io_device_unregister 41970
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 156
spdk_poller_register_interrupt 788
spdk_poller_register_named 279080
spdk_poller_resume 110
spdk_poller_unregister 649535
spdk_put_io_channel 333262
spdk_set_thread 62899250
spdk_spin_destroy 92259
spdk_spin_held 10313328
spdk_spin_init 127997
spdk_spin_lock 3704222
spdk_spin_unlock 3704216
spdk_thread_bind 19
spdk_thread_create 8460
spdk_thread_destroy 8361
spdk_thread_exit 8467
spdk_thread_get_app_thread 24297
spdk_thread_get_by_id 483
spdk_thread_get_count 273
spdk_thread_get_cpumask 33476
spdk_thread_get_ctx 47386
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 16097919207
spdk_thread_get_id 79438
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 8051297195
spdk_thread_get_name 536
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 9021
spdk_thread_has_active_pollers 1916454
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 35796
spdk_thread_is_bound 75
spdk_thread_is_exited 8067366232
spdk_thread_is_idle 72625354
spdk_thread_is_running 3679
spdk_thread_lib_fini 3168
spdk_thread_lib_init 254
spdk_thread_lib_init_ext 2917
spdk_thread_next_poller_expiration 47729
spdk_thread_poll 8238567220
spdk_thread_send_critical_msg 1245
spdk_thread_send_msg 9396699
spdk_thread_set_cpumask 15894
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 92256
sspin_init_internal 127997
sspin_stack_print 54
sspin_stacks_print 18
thread_execute_poller 10813332014
thread_execute_timed_poller 21496374
thread_exit 3652298
thread_get_io_channel 4119321
thread_has_unpaused_pollers 72625360
thread_insert_poller 279319
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 634
thread_poll 8238567220
thread_send_msg_notification 9397944
thread_trace 2883
thread_update_stats 8238567220
timed_poller_compare 123760214
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 21500944
timed_pollers_tree_RB_INSERT_COLOR 21500944
timed_pollers_tree_RB_MINMAX 17100
timed_pollers_tree_RB_NEXT 21506010
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 21500884
timed_pollers_tree_RB_REMOVE_COLOR 16760416
wrong_thread 0

Generated by: LCOV version 1.14