LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1205 1505 80.1 %
Date: 2024-12-09 12:14:52 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4220 10364 40.7 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 5
__posix_abort 0
_back_to_orig_thread 538
_call_channel 596730
_call_completion 546792
_finish_unregister 33397
_free_thread 6887
_get_thread 7530502140
_interrupt_wrapper 123332822
_on_thread 749
_thread_exit 137
_thread_lib_init 2531
_thread_remove_pollers 734
_thread_trace 2754
busy_poller_interrupt_init 667
busy_poller_set_interrupt_mode 667
convert_us_to_ticks 146907
interrupt_timerfd_process 58822
io_channel_cmp 10858356
io_channel_tree_RB_FIND 4015322
io_channel_tree_RB_INSERT 84964
io_channel_tree_RB_INSERT_COLOR 84964
io_channel_tree_RB_MINMAX 13876
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 84956
io_channel_tree_RB_REMOVE_COLOR 70370
io_device_cmp 3504851
io_device_free 42193
io_device_get 865953
io_device_tree_RB_FIND 865953
io_device_tree_RB_INSERT 42205
io_device_tree_RB_INSERT_COLOR 42197
io_device_tree_RB_MINMAX 2539
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 42197
io_device_tree_RB_REMOVE_COLOR 34571
msg_queue_run_batch 6997725290
period_poller_interrupt_init 132
period_poller_set_interrupt_mode 140
poller_insert_timer 24354142
poller_interrupt_fini 799
poller_register 146906
poller_remove_timer 136
poller_set_interrupt_mode 8
put_io_channel 85022
register_flag_thread 2754
spdk_for_each_channel 546794
spdk_for_each_channel_continue 596730
spdk_for_each_thread 538
spdk_get_io_channel 276944
spdk_get_thread 527498493
spdk_interrupt_mode_enable 27
spdk_interrupt_mode_is_enabled 115108684
spdk_interrupt_register 818
spdk_interrupt_register_ext 923
spdk_interrupt_register_for_events 922
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 2194
spdk_io_channel_from_ctx 17109821
spdk_io_channel_get_io_device 12008918
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 318807913
spdk_io_channel_iter_get_channel 608058
spdk_io_channel_iter_get_ctx 1145194
spdk_io_channel_iter_get_io_device 805520
spdk_io_device_get_name 0
spdk_io_device_register 42205
spdk_io_device_unregister 42202
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 1457
spdk_poller_register_named 146665
spdk_poller_resume 200
spdk_poller_unregister 286670
spdk_put_io_channel 276922
spdk_set_thread 249367764
spdk_spin_destroy 83361
spdk_spin_held 3345457
spdk_spin_init 121565
spdk_spin_lock 1669754
spdk_spin_unlock 1669744
spdk_thread_bind 20
spdk_thread_create 7025
spdk_thread_destroy 6891
spdk_thread_exit 7036
spdk_thread_get_app_thread 21293
spdk_thread_get_by_id 658
spdk_thread_get_count 396
spdk_thread_get_cpumask 23706
spdk_thread_get_ctx 28013
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 13496052912
spdk_thread_get_id 71315
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 160
spdk_thread_get_last_tsc 6767751488
spdk_thread_get_name 1058
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 7889
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3045690
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 33729
spdk_thread_is_bound 130
spdk_thread_is_exited 6786171108
spdk_thread_is_idle 52898385
spdk_thread_is_running 2897
spdk_thread_lib_fini 2523
spdk_thread_lib_init 366
spdk_thread_lib_init_ext 2165
spdk_thread_next_poller_expiration 17151
spdk_thread_poll 6997173549
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1185
spdk_thread_send_msg 11708893
spdk_thread_set_cpumask 7760
spdk_thread_set_interrupt_mode 84
sspin_fini_internal 83357
sspin_init_internal 121565
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 4795905103
thread_execute_timed_poller 24347215
thread_exit 3626695
thread_get_io_channel 4015322
thread_has_unpaused_pollers 52893181
thread_insert_poller 147028
thread_interrupt_create 68
thread_interrupt_destroy 68
thread_interrupt_msg_process 486001
thread_poll 6997352711
thread_run_pp_handlers 0
thread_send_msg_notification 11710074
thread_trace 2116
thread_update_stats 6996935066
timed_poller_compare 187589095
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 24354142
timed_pollers_tree_RB_INSERT_COLOR 24354142
timed_pollers_tree_RB_MINMAX 14899
timed_pollers_tree_RB_NEXT 24361741
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 24354060
timed_pollers_tree_RB_REMOVE_COLOR 21652067
wrong_thread 0

Generated by: LCOV version 1.14