LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1184 1458 81.2 %
Date: 2024-11-20 11:35:00 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3935 10256 38.4 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 576
_call_channel 818736
_call_completion 731941
_finish_unregister 33276
_free_thread 7119
_get_thread 10049867135
_interrupt_wrapper 250120274
_on_thread 783
_thread_exit 249
_thread_lib_init 2601
_thread_remove_pollers 1311
_thread_trace 2991
busy_poller_interrupt_init 1160
busy_poller_set_interrupt_mode 1160
convert_us_to_ticks 161154
interrupt_timerfd_process 89144
io_channel_cmp 11239094
io_channel_tree_RB_FIND 4218178
io_channel_tree_RB_INSERT 94841
io_channel_tree_RB_INSERT_COLOR 94841
io_channel_tree_RB_MINMAX 14324
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 94835
io_channel_tree_RB_REMOVE_COLOR 81892
io_device_cmp 4710988
io_device_free 42460
io_device_get 1078515
io_device_tree_RB_FIND 1078515
io_device_tree_RB_INSERT 42469
io_device_tree_RB_INSERT_COLOR 42463
io_device_tree_RB_MINMAX 2610
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 42463
io_device_tree_RB_REMOVE_COLOR 36295
msg_queue_run_batch 9293591974
period_poller_interrupt_init 239
period_poller_set_interrupt_mode 247
poller_insert_timer 23973878
poller_interrupt_fini 1399
poller_register 161154
poller_remove_timer 243
poller_set_interrupt_mode 8
put_io_channel 94892
register_flag_thread 2991
spdk_for_each_channel 731941
spdk_for_each_channel_continue 818736
spdk_for_each_thread 576
spdk_get_io_channel 304099
spdk_get_thread 742690745
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 354176683
spdk_interrupt_register 1433
spdk_interrupt_register_for_events 1631
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3630
spdk_io_channel_from_ctx 22567572
spdk_io_channel_get_io_device 16734290
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 384582806
spdk_io_channel_iter_get_channel 740619
spdk_io_channel_iter_get_ctx 1480367
spdk_io_channel_iter_get_io_device 707970
spdk_io_device_get_name 0
spdk_io_device_register 42469
spdk_io_device_unregister 42466
spdk_poller_get_id 17
spdk_poller_get_name 14
spdk_poller_get_period_ticks 14
spdk_poller_get_state_str 35
spdk_poller_get_stats 14
spdk_poller_pause 168
spdk_poller_register 184
spdk_poller_register_interrupt 2610
spdk_poller_register_named 160970
spdk_poller_resume 165
spdk_poller_unregister 347455
spdk_put_io_channel 304084
spdk_set_thread 503195044
spdk_spin_destroy 88795
spdk_spin_held 12153612
spdk_spin_init 130025
spdk_spin_lock 2397544
spdk_spin_unlock 2397536
spdk_thread_bind 19
spdk_thread_create 7227
spdk_thread_destroy 7124
spdk_thread_exit 7233
spdk_thread_get_app_thread 20566
spdk_thread_get_by_id 666
spdk_thread_get_count 375
spdk_thread_get_cpumask 27934
spdk_thread_get_ctx 36474
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 18119816402
spdk_thread_get_id 91224
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 274
spdk_thread_get_last_tsc 9078666823
spdk_thread_get_name 1130
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 8545
spdk_thread_has_active_pollers 1846607
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 36449
spdk_thread_is_bound 107
spdk_thread_is_exited 9084992257
spdk_thread_is_idle 53926740
spdk_thread_is_running 3453
spdk_thread_lib_fini 2598
spdk_thread_lib_init 277
spdk_thread_lib_init_ext 2324
spdk_thread_next_poller_expiration 23287
spdk_thread_poll 9292361643
spdk_thread_send_critical_msg 1342
spdk_thread_send_msg 13860393
spdk_thread_set_cpumask 11610
spdk_thread_set_interrupt_mode 141
sspin_fini_internal 88792
sspin_init_internal 130025
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 9271554352
thread_execute_timed_poller 23965204
thread_exit 586656
thread_get_io_channel 4218178
thread_has_unpaused_pollers 53925065
thread_insert_poller 161259
thread_interrupt_create 125
thread_interrupt_destroy 125
thread_interrupt_msg_process 987715
thread_poll 9292414355
thread_send_msg_notification 13861735
thread_trace 2288
thread_update_stats 9292258820
timed_poller_compare 144754491
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 23973878
timed_pollers_tree_RB_INSERT_COLOR 23973878
timed_pollers_tree_RB_MINMAX 16017
timed_pollers_tree_RB_NEXT 23983359
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 23973818
timed_pollers_tree_RB_REMOVE_COLOR 19977888
wrong_thread 0

Generated by: LCOV version 1.15