LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1194 1468 81.3 %
Date: 2024-12-09 06:31:20 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3980 10270 38.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 559
_call_channel 591746
_call_completion 501377
_finish_unregister 33460
_free_thread 7096
_get_thread 8287046386
_interrupt_wrapper 234223839
_on_thread 766
_thread_exit 249
_thread_lib_init 2577
_thread_remove_pollers 1683
_thread_trace 2918
busy_poller_interrupt_init 1631
busy_poller_set_interrupt_mode 1631
convert_us_to_ticks 159980
interrupt_timerfd_process 92938
io_channel_cmp 9566083
io_channel_tree_RB_FIND 3585816
io_channel_tree_RB_INSERT 94401
io_channel_tree_RB_INSERT_COLOR 94401
io_channel_tree_RB_MINMAX 14277
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 94395
io_channel_tree_RB_REMOVE_COLOR 80587
io_device_cmp 3441469
io_device_free 42623
io_device_get 844984
io_device_tree_RB_FIND 844984
io_device_tree_RB_INSERT 42632
io_device_tree_RB_INSERT_COLOR 42626
io_device_tree_RB_MINMAX 2586
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 42626
io_device_tree_RB_REMOVE_COLOR 35890
msg_queue_run_batch 7643529706
period_poller_interrupt_init 242
period_poller_set_interrupt_mode 250
poller_insert_timer 20821618
poller_interrupt_fini 1873
poller_register 159980
poller_remove_timer 246
poller_set_interrupt_mode 8
put_io_channel 94459
register_flag_thread 2918
spdk_for_each_channel 501377
spdk_for_each_channel_continue 591746
spdk_for_each_thread 559
spdk_get_io_channel 300969
spdk_get_thread 630091026
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 158384173
spdk_interrupt_register 1903
spdk_interrupt_register_ext 2102
spdk_interrupt_register_for_events 2101
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3970
spdk_io_channel_from_ctx 15321024
spdk_io_channel_get_io_device 10440144
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 294471216
spdk_io_channel_iter_get_channel 607060
spdk_io_channel_iter_get_ctx 1113717
spdk_io_channel_iter_get_io_device 692796
spdk_io_device_get_name 0
spdk_io_device_register 42632
spdk_io_device_unregister 42629
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 187
spdk_poller_register_interrupt 2514
spdk_poller_register_named 159793
spdk_poller_resume 165
spdk_poller_unregister 321920
spdk_put_io_channel 300955
spdk_set_thread 471501442
spdk_spin_destroy 87693
spdk_spin_held 1809551
spdk_spin_init 128671
spdk_spin_lock 1972650
spdk_spin_unlock 1972642
spdk_thread_bind 19
spdk_thread_create 7204
spdk_thread_destroy 7103
spdk_thread_exit 7210
spdk_thread_get_app_thread 20739
spdk_thread_get_by_id 680
spdk_thread_get_count 377
spdk_thread_get_cpumask 28615
spdk_thread_get_ctx 37270
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 14834172980
spdk_thread_get_id 79001
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7440987497
spdk_thread_get_name 1215
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 8212
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 1847144
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 35690
spdk_thread_is_bound 124
spdk_thread_is_exited 7440774707
spdk_thread_is_idle 54120332
spdk_thread_is_running 3151
spdk_thread_lib_fini 2574
spdk_thread_lib_init 292
spdk_thread_lib_init_ext 2285
spdk_thread_next_poller_expiration 25061
spdk_thread_poll 7642553259
spdk_thread_send_critical_msg 1308
spdk_thread_send_msg 13733295
spdk_thread_set_cpumask 12014
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 87690
sspin_init_internal 128671
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 6641024461
thread_execute_timed_poller 20813265
thread_exit 2646136
thread_get_io_channel 3585816
thread_has_unpaused_pollers 54118429
thread_insert_poller 160085
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 870752
thread_poll 7642554572
thread_send_msg_notification 13734601
thread_trace 2246
thread_update_stats 7642377067
timed_poller_compare 139845412
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 20821618
timed_pollers_tree_RB_INSERT_COLOR 20821618
timed_pollers_tree_RB_MINMAX 16345
timed_pollers_tree_RB_NEXT 20831227
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 20821558
timed_pollers_tree_RB_REMOVE_COLOR 18068242
wrong_thread 0

Generated by: LCOV version 1.15