LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1196 1477 81.0 %
Date: 2024-11-02 17:26:45 Functions: 140 162 86.4 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4189 10266 40.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 504
_call_channel 787548
_call_completion 734282
_finish_unregister 32274
_free_thread 6550
_get_thread 9049409186
_interrupt_wrapper 91096777
_on_thread 619
_thread_exit 132
_thread_lib_init 2445
_thread_remove_pollers 679
_thread_trace 2677
busy_poller_interrupt_init 583
busy_poller_set_interrupt_mode 583
convert_us_to_ticks 157783
interrupt_timerfd_process 48043
io_channel_cmp 12118546
io_channel_tree_RB_FIND 4496082
io_channel_tree_RB_INSERT 84894
io_channel_tree_RB_INSERT_COLOR 84894
io_channel_tree_RB_MINMAX 13209
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 84886
io_channel_tree_RB_REMOVE_COLOR 71576
io_device_cmp 4449236
io_device_free 40790
io_device_get 1053948
io_device_tree_RB_FIND 1053948
io_device_tree_RB_INSERT 40802
io_device_tree_RB_INSERT_COLOR 40794
io_device_tree_RB_MINMAX 2457
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 40794
io_device_tree_RB_REMOVE_COLOR 34137
msg_queue_run_batch 8354868170
period_poller_interrupt_init 126
period_poller_set_interrupt_mode 134
poller_insert_timer 29193005
poller_interrupt_fini 709
poller_register 157781
poller_remove_timer 130
poller_set_interrupt_mode 8
put_io_channel 84955
register_flag_thread 2677
spdk_for_each_channel 734282
spdk_for_each_channel_continue 787548
spdk_for_each_thread 504
spdk_get_io_channel 278855
spdk_get_thread 683303460
spdk_interrupt_mode_enable 26
spdk_interrupt_mode_is_enabled 399841824
spdk_interrupt_register 726
spdk_interrupt_register_for_events 830
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 2156
spdk_io_channel_from_ctx 25225166
spdk_io_channel_get_io_device 18073514
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 413862885
spdk_io_channel_iter_get_channel 726364
spdk_io_channel_iter_get_ctx 1442298
spdk_io_channel_iter_get_io_device 781609
spdk_io_device_get_name 0
spdk_io_device_register 40802
spdk_io_device_unregister 40798
spdk_poller_get_id 20
spdk_poller_get_name 16
spdk_poller_get_period_ticks 16
spdk_poller_get_state_str 44
spdk_poller_get_stats 16
spdk_poller_pause 204
spdk_poller_register 243
spdk_poller_register_interrupt 2172
spdk_poller_register_named 157539
spdk_poller_resume 200
spdk_poller_unregister 323765
spdk_put_io_channel 278836
spdk_set_thread 184751361
spdk_spin_destroy 83737
spdk_spin_held 6679114
spdk_spin_init 120735
spdk_spin_lock 2369478
spdk_spin_unlock 2369468
spdk_thread_bind 20
spdk_thread_create 6684
spdk_thread_destroy 6559
spdk_thread_exit 6699
spdk_thread_get_app_thread 21353
spdk_thread_get_by_id 418
spdk_thread_get_count 380
spdk_thread_get_cpumask 22613
spdk_thread_get_ctx 27774
spdk_thread_get_first_active_poller 24
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 24
spdk_thread_get_first_timed_poller 24
spdk_thread_get_from_ctx 16279423584
spdk_thread_get_id 79994
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 156
spdk_thread_get_last_tsc 8241310295
spdk_thread_get_name 710
spdk_thread_get_next_active_poller 0
spdk_thread_get_next_io_channel 0
spdk_thread_get_next_paused_poller 0
spdk_thread_get_next_timed_poller 24
spdk_thread_get_stats 6384
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3660962
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 32939
spdk_thread_is_bound 78
spdk_thread_is_exited 8178596377
spdk_thread_is_idle 48706509
spdk_thread_is_running 3005
spdk_thread_lib_fini 2441
spdk_thread_lib_init 345
spdk_thread_lib_init_ext 2100
spdk_thread_next_poller_expiration 15883
spdk_thread_poll 8353803518
spdk_thread_send_critical_msg 1160
spdk_thread_send_msg 17633142
spdk_thread_set_cpumask 8020
spdk_thread_set_interrupt_mode 82
sspin_fini_internal 83733
sspin_init_internal 120735
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 8251488258
thread_execute_timed_poller 29185451
thread_exit 1257426
thread_get_io_channel 4496082
thread_has_unpaused_pollers 48705779
thread_insert_poller 157903
thread_interrupt_create 66
thread_interrupt_destroy 66
thread_interrupt_msg_process 637810
thread_poll 8353992246
thread_send_msg_notification 17634301
thread_trace 2051
thread_update_stats 8353784757
timed_poller_compare 216851207
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 29193005
timed_pollers_tree_RB_INSERT_COLOR 29193005
timed_pollers_tree_RB_MINMAX 14072
timed_pollers_tree_RB_NEXT 29201044
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 29192922
timed_pollers_tree_RB_REMOVE_COLOR 25611083
wrong_thread 0

Generated by: LCOV version 1.14