LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1203 1505 79.9 %
Date: 2024-12-08 06:46:15 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4212 10364 40.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 538
_call_channel 598862
_call_completion 541712
_finish_unregister 33660
_free_thread 6965
_get_thread 7475948886
_interrupt_wrapper 129930524
_on_thread 749
_thread_exit 128
_thread_lib_init 2542
_thread_remove_pollers 742
_thread_trace 2787
busy_poller_interrupt_init 672
busy_poller_set_interrupt_mode 672
convert_us_to_ticks 143879
interrupt_timerfd_process 55180
io_channel_cmp 10584043
io_channel_tree_RB_FIND 3878779
io_channel_tree_RB_INSERT 86001
io_channel_tree_RB_INSERT_COLOR 86001
io_channel_tree_RB_MINMAX 14039
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 85993
io_channel_tree_RB_REMOVE_COLOR 71488
io_device_cmp 3489157
io_device_free 42496
io_device_get 864325
io_device_tree_RB_FIND 864325
io_device_tree_RB_INSERT 42508
io_device_tree_RB_INSERT_COLOR 42500
io_device_tree_RB_MINMAX 2550
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 42500
io_device_tree_RB_REMOVE_COLOR 34854
msg_queue_run_batch 6953167619
period_poller_interrupt_init 126
period_poller_set_interrupt_mode 134
poller_insert_timer 24418558
poller_interrupt_fini 798
poller_register 143876
poller_remove_timer 130
poller_set_interrupt_mode 8
put_io_channel 86060
register_flag_thread 2787
spdk_for_each_channel 541713
spdk_for_each_channel_continue 598862
spdk_for_each_thread 538
spdk_get_io_channel 280093
spdk_get_thread 520024716
spdk_interrupt_mode_enable 27
spdk_interrupt_mode_is_enabled 144078470
spdk_interrupt_register 823
spdk_interrupt_register_ext 918
spdk_interrupt_register_for_events 917
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 2360
spdk_io_channel_from_ctx 15030288
spdk_io_channel_get_io_device 11632146
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 310125849
spdk_io_channel_iter_get_channel 606388
spdk_io_channel_iter_get_ctx 1144013
spdk_io_channel_iter_get_io_device 799058
spdk_io_device_get_name 0
spdk_io_device_register 42508
spdk_io_device_unregister 42504
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 191
spdk_poller_register 243
spdk_poller_register_interrupt 1497
spdk_poller_register_named 143634
spdk_poller_resume 187
spdk_poller_unregister 286668
spdk_put_io_channel 280077
spdk_set_thread 262196202
spdk_spin_destroy 84015
spdk_spin_held 1869257
spdk_spin_init 122411
spdk_spin_lock 1871879
spdk_spin_unlock 1871870
spdk_thread_bind 20
spdk_thread_create 7103
spdk_thread_destroy 6972
spdk_thread_exit 7115
spdk_thread_get_app_thread 21425
spdk_thread_get_by_id 649
spdk_thread_get_count 396
spdk_thread_get_cpumask 24076
spdk_thread_get_ctx 28542
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 13417509186
spdk_thread_get_id 26364
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 160
spdk_thread_get_last_tsc 6725397490
spdk_thread_get_name 1064
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 7972
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3102396
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 33959
spdk_thread_is_bound 129
spdk_thread_is_exited 6748782264
spdk_thread_is_idle 60801058
spdk_thread_is_running 2918
spdk_thread_lib_fini 2534
spdk_thread_lib_init 366
spdk_thread_lib_init_ext 2176
spdk_thread_next_poller_expiration 17548
spdk_thread_poll 6953154123
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1191
spdk_thread_send_msg 8639079
spdk_thread_set_cpumask 7952
spdk_thread_set_interrupt_mode 84
sspin_fini_internal 84011
sspin_init_internal 122411
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 4719188192
thread_execute_timed_poller 24411498
thread_exit 3922613
thread_get_io_channel 3878779
thread_has_unpaused_pollers 60799538
thread_insert_poller 143986
thread_interrupt_create 68
thread_interrupt_destroy 68
thread_interrupt_msg_process 299515
thread_poll 6953418709
thread_run_pp_handlers 0
thread_send_msg_notification 8640269
thread_trace 2127
thread_update_stats 6952686265
timed_poller_compare 190192570
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 24418560
timed_pollers_tree_RB_INSERT_COLOR 24418560
timed_pollers_tree_RB_MINMAX 15060
timed_pollers_tree_RB_NEXT 24426333
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 24418479
timed_pollers_tree_RB_REMOVE_COLOR 21759753
wrong_thread 0

Generated by: LCOV version 1.14