LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1224 1532 79.9 %
Date: 2024-12-16 03:09:27 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3990 10466 38.1 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 558
_call_channel 780232
_call_completion 691254
_finish_unregister 32364
_free_thread 6865
_get_thread 10303463065
_interrupt_wrapper 225662826
_on_thread 765
_thread_exit 252
_thread_lib_init 2452
_thread_remove_pollers 1537
_thread_trace 2785
alloc_interrupt 1861
busy_poller_interrupt_init 1384
busy_poller_set_interrupt_mode 1384
convert_us_to_ticks 158109
interrupt_fd_group_wrapper 156542
interrupt_timerfd_process 95785
io_channel_cmp 11231499
io_channel_tree_RB_FIND 4174226
io_channel_tree_RB_INSERT 93124
io_channel_tree_RB_INSERT_COLOR 93124
io_channel_tree_RB_MINMAX 13815
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 93118
io_channel_tree_RB_REMOVE_COLOR 79721
io_device_cmp 4455403
io_device_free 40789
io_device_get 1029610
io_device_tree_RB_FIND 1029610
io_device_tree_RB_INSERT 40798
io_device_tree_RB_INSERT_COLOR 40792
io_device_tree_RB_MINMAX 2458
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 40792
io_device_tree_RB_REMOVE_COLOR 34276
msg_queue_run_batch 9422457666
period_poller_interrupt_init 242
period_poller_set_interrupt_mode 250
poller_insert_timer 24009972
poller_interrupt_fini 1626
poller_register 158109
poller_remove_timer 246
poller_set_interrupt_mode 8
put_io_channel 93190
register_flag_thread 2785
spdk_for_each_channel 691254
spdk_for_each_channel_continue 780232
spdk_for_each_thread 558
spdk_get_io_channel 297552
spdk_get_thread 862292680
spdk_interrupt_mode_enable 42
spdk_interrupt_mode_is_enabled 514523926
spdk_interrupt_register 1660
spdk_interrupt_register_ext 1859
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 1858
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3634
spdk_io_channel_from_ctx 23808899
spdk_io_channel_get_io_device 16358690
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 395015446
spdk_io_channel_iter_get_channel 715457
spdk_io_channel_iter_get_ctx 1406779
spdk_io_channel_iter_get_io_device 685107
spdk_io_device_get_name 0
spdk_io_device_register 40798
spdk_io_device_unregister 40795
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 150
spdk_poller_register 187
spdk_poller_register_interrupt 1689
spdk_poller_register_named 157922
spdk_poller_resume 147
spdk_poller_unregister 332660
spdk_put_io_channel 297537
spdk_set_thread 455234477
spdk_spin_destroy 87577
spdk_spin_held 7391776
spdk_spin_init 125568
spdk_spin_lock 2365684
spdk_spin_unlock 2365676
spdk_thread_bind 19
spdk_thread_create 6976
spdk_thread_destroy 6873
spdk_thread_exit 6979
spdk_thread_get_app_thread 19686
spdk_thread_get_by_id 687
spdk_thread_get_count 373
spdk_thread_get_cpumask 27940
spdk_thread_get_ctx 36549
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 18385498357
spdk_thread_get_id 79083
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 278
spdk_thread_get_last_tsc 9344219806
spdk_thread_get_name 1091
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 8072
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 1783195
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 34289
spdk_thread_is_bound 116
spdk_thread_is_exited 9218465934
spdk_thread_is_idle 55229192
spdk_thread_is_running 3198
spdk_thread_lib_fini 2446
spdk_thread_lib_init 292
spdk_thread_lib_init_ext 2160
spdk_thread_next_poller_expiration 17485
spdk_thread_poll 9421116665
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1263
spdk_thread_send_msg 19316832
spdk_thread_set_cpumask 11878
spdk_thread_set_interrupt_mode 143
sspin_fini_internal 87574
sspin_init_internal 125568
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 8608639305
thread_execute_timed_poller 24001769
thread_exit 548852
thread_get_io_channel 4174226
thread_has_unpaused_pollers 55227838
thread_insert_poller 158196
thread_interrupt_create 127
thread_interrupt_destroy 127
thread_interrupt_msg_process 1142181
thread_poll 9421140037
thread_run_pp_handlers 0
thread_send_msg_notification 19318095
thread_trace 2121
thread_update_stats 9420930415
timed_poller_compare 148327410
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 24009972
timed_pollers_tree_RB_INSERT_COLOR 24009972
timed_pollers_tree_RB_MINMAX 15733
timed_pollers_tree_RB_NEXT 24019231
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 24009911
timed_pollers_tree_RB_REMOVE_COLOR 20196569
wrong_thread 0

Generated by: LCOV version 1.15