LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1174 1453 80.8 %
Date: 2024-11-17 17:17:48 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3753 10254 36.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 452
_call_channel 660186
_call_completion 618994
_finish_unregister 31789
_free_thread 7712
_get_thread 8107861002
_interrupt_wrapper 3024289
_on_thread 654
_thread_exit 17
_thread_lib_init 2992
_thread_remove_pollers 142
_thread_trace 2966
busy_poller_interrupt_init 155
busy_poller_set_interrupt_mode 155
convert_us_to_ticks 280638
interrupt_timerfd_process 8075
io_channel_cmp 10572210
io_channel_tree_RB_FIND 3782731
io_channel_tree_RB_INSERT 85348
io_channel_tree_RB_INSERT_COLOR 85348
io_channel_tree_RB_MINMAX 15501
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 85348
io_channel_tree_RB_REMOVE_COLOR 71060
io_device_cmp 3963963
io_device_free 40564
io_device_get 924686
io_device_tree_RB_FIND 924686
io_device_tree_RB_INSERT 40570
io_device_tree_RB_INSERT_COLOR 40564
io_device_tree_RB_MINMAX 3001
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 40564
io_device_tree_RB_REMOVE_COLOR 33569
msg_queue_run_batch 7656644972
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 22482668
poller_interrupt_fini 170
poller_register 280638
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 85397
register_flag_thread 2966
spdk_for_each_channel 618994
spdk_for_each_channel_continue 660186
spdk_for_each_thread 452
spdk_get_io_channel 265116
spdk_get_thread 443582182
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 7810890
spdk_interrupt_register 188
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 581
spdk_io_channel_from_ctx 28732439
spdk_io_channel_get_io_device 22189545
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 353228530
spdk_io_channel_iter_get_channel 726331
spdk_io_channel_iter_get_ctx 1191088
spdk_io_channel_iter_get_io_device 668318
spdk_io_device_get_name 0
spdk_io_device_register 40570
spdk_io_device_unregister 40567
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 157
spdk_poller_register_interrupt 793
spdk_poller_register_named 280481
spdk_poller_resume 110
spdk_poller_unregister 672870
spdk_put_io_channel 265106
spdk_set_thread 63422969
spdk_spin_destroy 83380
spdk_spin_held 4713439
spdk_spin_init 116813
spdk_spin_lock 2318544
spdk_spin_unlock 2318536
spdk_thread_bind 19
spdk_thread_create 7817
spdk_thread_destroy 7718
spdk_thread_exit 7824
spdk_thread_get_app_thread 23851
spdk_thread_get_by_id 461
spdk_thread_get_count 298
spdk_thread_get_cpumask 24354
spdk_thread_get_ctx 30564
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 15010722550
spdk_thread_get_id 67585
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 7547236879
spdk_thread_get_name 497
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 8335
spdk_thread_has_active_pollers 2041969
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 33746
spdk_thread_is_bound 76
spdk_thread_is_exited 7517379485
spdk_thread_is_idle 61230900
spdk_thread_is_running 3352
spdk_thread_lib_fini 2989
spdk_thread_lib_init 250
spdk_thread_lib_init_ext 2742
spdk_thread_next_poller_expiration 40920
spdk_thread_poll 7656366171
spdk_thread_send_critical_msg 1110
spdk_thread_send_msg 7196179
spdk_thread_set_cpumask 8102
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 83377
sspin_init_internal 116813
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 9597979742
thread_execute_timed_poller 22476372
thread_exit 2867784
thread_get_io_channel 3782731
thread_has_unpaused_pollers 61229709
thread_insert_poller 280721
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 638
thread_poll 7656378696
thread_send_msg_notification 7197289
thread_trace 2710
thread_update_stats 7656111051
timed_poller_compare 139380782
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 22482668
timed_pollers_tree_RB_INSERT_COLOR 22482668
timed_pollers_tree_RB_MINMAX 15812
timed_pollers_tree_RB_NEXT 22489423
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 22482607
timed_pollers_tree_RB_REMOVE_COLOR 18000373
wrong_thread 0

Generated by: LCOV version 1.15