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 18:59:01 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 774 1132 68.4 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 5
__posix_abort 0
_back_to_orig_thread 482
_call_channel 585003
_call_completion 552123
_finish_unregister 40526
_free_thread 7706
_get_thread 10755971006
_interrupt_wrapper 10045
_on_thread 622
_thread_exit 15
_thread_lib_init 3009
_thread_remove_pollers 157
_thread_trace 3297
busy_poller_interrupt_init 155
busy_poller_set_interrupt_mode 155
convert_us_to_ticks 286926
interrupt_timerfd_process 9629
io_channel_cmp 11145837
io_channel_tree_RB_FIND 3993097
io_channel_tree_RB_INSERT 109598
io_channel_tree_RB_INSERT_COLOR 109598
io_channel_tree_RB_MINMAX 15519
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 109594
io_channel_tree_RB_REMOVE_COLOR 91288
io_device_cmp 3922285
io_device_free 50373
io_device_get 940354
io_device_tree_RB_FIND 940354
io_device_tree_RB_INSERT 50385
io_device_tree_RB_INSERT_COLOR 50377
io_device_tree_RB_MINMAX 3021
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 50377
io_device_tree_RB_REMOVE_COLOR 42583
msg_queue_run_batch 10383997582
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 25
poller_insert_timer 20882008
poller_interrupt_fini 170
poller_register 286926
poller_remove_timer 20
poller_set_interrupt_mode 10
put_io_channel 109675
register_flag_thread 3297
spdk_for_each_channel 552123
spdk_for_each_channel_continue 585003
spdk_for_each_thread 482
spdk_get_io_channel 337837
spdk_get_thread 364509654
spdk_interrupt_mode_enable 15
spdk_interrupt_mode_is_enabled 89609568
spdk_interrupt_register 185
spdk_interrupt_register_for_events 185
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 224
spdk_io_channel_from_ctx 30692272
spdk_io_channel_get_io_device 22683117
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 290667146
spdk_io_channel_iter_get_channel 729952
spdk_io_channel_iter_get_ctx 1130057
spdk_io_channel_iter_get_io_device 812334
spdk_io_device_get_name 0
spdk_io_device_register 50385
spdk_io_device_unregister 50382
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 180
spdk_poller_register 208
spdk_poller_register_interrupt 859
spdk_poller_register_named 286718
spdk_poller_resume 140
spdk_poller_unregister 671777
spdk_put_io_channel 337821
spdk_set_thread 1393842
spdk_spin_destroy 103101
spdk_spin_held 1923195
spdk_spin_init 143227
spdk_spin_lock 1773661
spdk_spin_unlock 1773653
spdk_thread_bind 20
spdk_thread_create 7846
spdk_thread_destroy 7713
spdk_thread_exit 7853
spdk_thread_get_app_thread 38879
spdk_thread_get_by_id 490
spdk_thread_get_count 319
spdk_thread_get_cpumask 24244
spdk_thread_get_ctx 30243
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 20389074206
spdk_thread_get_id 62445
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 60
spdk_thread_get_last_tsc 10213933981
spdk_thread_get_name 909
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 8594
spdk_thread_has_active_pollers 2076381
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 39114
spdk_thread_is_bound 87
spdk_thread_is_exited 10215565876
spdk_thread_is_idle 98172778
spdk_thread_is_running 3390
spdk_thread_lib_fini 3005
spdk_thread_lib_init 325
spdk_thread_lib_init_ext 2684
spdk_thread_next_poller_expiration 15095
spdk_thread_poll 10383997066
spdk_thread_send_critical_msg 1374
spdk_thread_send_msg 6526372
spdk_thread_set_cpumask 8106
spdk_thread_set_interrupt_mode 35
sspin_fini_internal 103097
sspin_init_internal 143227
sspin_stack_print 72
sspin_stacks_print 24
thread_execute_poller 11189638840
thread_execute_timed_poller 20878118
thread_exit 4510893
thread_get_io_channel 3993097
thread_has_unpaused_pollers 98172786
thread_insert_poller 287030
thread_interrupt_create 15
thread_interrupt_destroy 15
thread_interrupt_msg_process 644
thread_poll 10383997066
thread_send_msg_notification 6527746
thread_trace 2642
thread_update_stats 10383997066
timed_poller_compare 140747010
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 20882008
timed_pollers_tree_RB_INSERT_COLOR 20882008
timed_pollers_tree_RB_MINMAX 15862
timed_pollers_tree_RB_NEXT 20886361
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 20881928
timed_pollers_tree_RB_REMOVE_COLOR 16762718
wrong_thread 0

Generated by: LCOV version 1.14