LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1234 1547 79.8 %
Date: 2024-12-14 14:09:26 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4174 10466 39.9 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 584
_call_channel 782473
_call_completion 724044
_finish_unregister 36305
_free_thread 7496
_get_thread 9346464568
_interrupt_wrapper 109398364
_on_thread 795
_thread_exit 143
_thread_lib_init 2715
_thread_remove_pollers 758
_thread_trace 3018
alloc_interrupt 952
busy_poller_interrupt_init 687
busy_poller_set_interrupt_mode 687
convert_us_to_ticks 162567
interrupt_fd_group_wrapper 161102
interrupt_timerfd_process 61308
io_channel_cmp 12221956
io_channel_tree_RB_FIND 4561824
io_channel_tree_RB_INSERT 101641
io_channel_tree_RB_INSERT_COLOR 101641
io_channel_tree_RB_MINMAX 15102
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 101633
io_channel_tree_RB_REMOVE_COLOR 86406
io_device_cmp 4647399
io_device_free 45747
io_device_get 1114755
io_device_tree_RB_FIND 1114755
io_device_tree_RB_INSERT 45759
io_device_tree_RB_INSERT_COLOR 45751
io_device_tree_RB_MINMAX 2723
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 45751
io_device_tree_RB_REMOVE_COLOR 37845
msg_queue_run_batch 8608316543
period_poller_interrupt_init 135
period_poller_set_interrupt_mode 143
poller_insert_timer 27253895
poller_interrupt_fini 822
poller_register 162567
poller_remove_timer 139
poller_set_interrupt_mode 8
put_io_channel 101719
register_flag_thread 3018
spdk_for_each_channel 724044
spdk_for_each_channel_continue 782473
spdk_for_each_thread 584
spdk_get_io_channel 344943
spdk_get_thread 727410322
spdk_interrupt_mode_enable 28
spdk_interrupt_mode_is_enabled 398244704
spdk_interrupt_register 845
spdk_interrupt_register_ext 950
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 949
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 2407
spdk_io_channel_from_ctx 26201560
spdk_io_channel_get_io_device 18520966
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 445528924
spdk_io_channel_iter_get_channel 710082
spdk_io_channel_iter_get_ctx 1436200
spdk_io_channel_iter_get_io_device 800674
spdk_io_device_get_name 0
spdk_io_device_register 45759
spdk_io_device_unregister 45755
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 208
spdk_poller_register 243
spdk_poller_register_interrupt 1693
spdk_poller_register_named 162321
spdk_poller_resume 204
spdk_poller_unregister 302991
spdk_put_io_channel 344922
spdk_set_thread 221730438
spdk_spin_destroy 93029
spdk_spin_held 7503177
spdk_spin_init 134280
spdk_spin_lock 2604811
spdk_spin_unlock 2604801
spdk_thread_bind 20
spdk_thread_create 7634
spdk_thread_destroy 7504
spdk_thread_exit 7645
spdk_thread_get_app_thread 22002
spdk_thread_get_by_id 696
spdk_thread_get_count 409
spdk_thread_get_cpumask 29213
spdk_thread_get_ctx 37541
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 16770676611
spdk_thread_get_id 90297
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 170
spdk_thread_get_last_tsc 8472930923
spdk_thread_get_name 1228
spdk_thread_get_next_active_poller 48
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 8632
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 4103840
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36931
spdk_thread_is_bound 130
spdk_thread_is_exited 8420699297
spdk_thread_is_idle 127580017
spdk_thread_is_running 2923
spdk_thread_lib_fini 2707
spdk_thread_lib_init 370
spdk_thread_lib_init_ext 2345
spdk_thread_next_poller_expiration 16969
spdk_thread_poll 8607530989
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1325
spdk_thread_send_msg 17671480
spdk_thread_set_cpumask 11940
spdk_thread_set_interrupt_mode 89
sspin_fini_internal 93025
sspin_init_internal 134280
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 7689519423
thread_execute_timed_poller 27246464
thread_exit 4010484
thread_get_io_channel 4561824
thread_has_unpaused_pollers 127575946
thread_insert_poller 162691
thread_interrupt_create 73
thread_interrupt_destroy 73
thread_interrupt_msg_process 438696
thread_poll 8607543629
thread_run_pp_handlers 0
thread_send_msg_notification 17672804
thread_trace 2295
thread_update_stats 8607713778
timed_poller_compare 179656078
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 27253895
timed_pollers_tree_RB_INSERT_COLOR 27253895
timed_pollers_tree_RB_MINMAX 16145
timed_pollers_tree_RB_NEXT 27262327
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 27253814
timed_pollers_tree_RB_REMOVE_COLOR 23221791
wrong_thread 0

Generated by: LCOV version 1.15