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-12 14:34:02 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 5
__posix_abort 0
_back_to_orig_thread 511
_call_channel 632202
_call_completion 569148
_finish_unregister 42563
_free_thread 8283
_get_thread 11733482683
_interrupt_wrapper 4457279
_on_thread 651
_thread_exit 20
_thread_lib_init 3192
_thread_remove_pollers 172
_thread_trace 3539
busy_poller_interrupt_init 170
busy_poller_set_interrupt_mode 170
convert_us_to_ticks 306222
interrupt_timerfd_process 10319
io_channel_cmp 11212016
io_channel_tree_RB_FIND 4125484
io_channel_tree_RB_INSERT 121578
io_channel_tree_RB_INSERT_COLOR 121578
io_channel_tree_RB_MINMAX 16673
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 121574
io_channel_tree_RB_REMOVE_COLOR 102492
io_device_cmp 4052139
io_device_free 53045
io_device_get 989546
io_device_tree_RB_FIND 989546
io_device_tree_RB_INSERT 53057
io_device_tree_RB_INSERT_COLOR 53049
io_device_tree_RB_MINMAX 3204
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 53049
io_device_tree_RB_REMOVE_COLOR 44903
msg_queue_run_batch 11324740388
period_poller_interrupt_init 18
period_poller_set_interrupt_mode 28
poller_insert_timer 20504468
poller_interrupt_fini 188
poller_register 306222
poller_remove_timer 23
poller_set_interrupt_mode 10
put_io_channel 121655
register_flag_thread 3539
spdk_for_each_channel 569148
spdk_for_each_channel_continue 632202
spdk_for_each_thread 511
spdk_get_io_channel 367332
spdk_get_thread 400891408
spdk_interrupt_mode_enable 16
spdk_interrupt_mode_is_enabled 94123942
spdk_interrupt_register 209
spdk_interrupt_register_for_events 209
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 357
spdk_io_channel_from_ctx 30732423
spdk_io_channel_get_io_device 22472327
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 313733711
spdk_io_channel_iter_get_channel 788984
spdk_io_channel_iter_get_ctx 1213274
spdk_io_channel_iter_get_io_device 800871
spdk_io_device_get_name 0
spdk_io_device_register 53057
spdk_io_device_unregister 53054
spdk_poller_get_id 10
spdk_poller_get_name 10
spdk_poller_get_period_ticks 10
spdk_poller_get_state_str 10
spdk_poller_get_stats 10
spdk_poller_pause 181
spdk_poller_register 208
spdk_poller_register_interrupt 873
spdk_poller_register_named 306014
spdk_poller_resume 141
spdk_poller_unregister 727561
spdk_put_io_channel 367316
spdk_set_thread 10293951
spdk_spin_destroy 109794
spdk_spin_held 1809647
spdk_spin_init 152697
spdk_spin_lock 2085354
spdk_spin_unlock 2085346
spdk_thread_bind 20
spdk_thread_create 8423
spdk_thread_destroy 8290
spdk_thread_exit 8430
spdk_thread_get_app_thread 39150
spdk_thread_get_by_id 516
spdk_thread_get_count 328
spdk_thread_get_cpumask 29307
spdk_thread_get_ctx 39155
spdk_thread_get_first_active_poller 132
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 132
spdk_thread_get_first_timed_poller 132
spdk_thread_get_from_ctx 22182363442
spdk_thread_get_id 68760
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 70
spdk_thread_get_last_tsc 11107319775
spdk_thread_get_name 1070
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 84
spdk_thread_get_stats 9122
spdk_thread_has_active_pollers 2130482
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 41752
spdk_thread_is_bound 96
spdk_thread_is_exited 11112338515
spdk_thread_is_idle 108487416
spdk_thread_is_running 3711
spdk_thread_lib_fini 3188
spdk_thread_lib_init 331
spdk_thread_lib_init_ext 2861
spdk_thread_next_poller_expiration 20991
spdk_thread_poll 11324739737
spdk_thread_send_critical_msg 1506
spdk_thread_send_msg 6869286
spdk_thread_set_cpumask 11998
spdk_thread_set_interrupt_mode 40
sspin_fini_internal 109790
sspin_init_internal 152697
sspin_stack_print 72
sspin_stacks_print 24
thread_execute_poller 12053823119
thread_execute_timed_poller 20499439
thread_exit 4937028
thread_get_io_channel 4125484
thread_has_unpaused_pollers 108487424
thread_insert_poller 306327
thread_interrupt_create 20
thread_interrupt_destroy 20
thread_interrupt_msg_process 779
thread_poll 11324739737
thread_send_msg_notification 6870792
thread_trace 2818
thread_update_stats 11324739737
timed_poller_compare 130623747
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 20504468
timed_pollers_tree_RB_INSERT_COLOR 20504468
timed_pollers_tree_RB_MINMAX 17032
timed_pollers_tree_RB_NEXT 20509998
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 20504388
timed_pollers_tree_RB_REMOVE_COLOR 16111546
wrong_thread 0

Generated by: LCOV version 1.14