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-10 04:25:06 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4119 10364 39.7 %

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 694059
_call_completion 606535
_finish_unregister 35219
_free_thread 7332
_get_thread 8896297577
_interrupt_wrapper 256820088
_on_thread 747
_thread_exit 248
_thread_lib_init 2671
_thread_remove_pollers 1287
_thread_trace 2960
busy_poller_interrupt_init 1125
busy_poller_set_interrupt_mode 1125
convert_us_to_ticks 161884
interrupt_timerfd_process 92155
io_channel_cmp 11652114
io_channel_tree_RB_FIND 4384193
io_channel_tree_RB_INSERT 96977
io_channel_tree_RB_INSERT_COLOR 96977
io_channel_tree_RB_MINMAX 14776
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 96969
io_channel_tree_RB_REMOVE_COLOR 81778
io_device_cmp 3831819
io_device_free 44580
io_device_get 957841
io_device_tree_RB_FIND 957841
io_device_tree_RB_INSERT 44592
io_device_tree_RB_INSERT_COLOR 44584
io_device_tree_RB_MINMAX 2679
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 44584
io_device_tree_RB_REMOVE_COLOR 36676
msg_queue_run_batch 8152035583
period_poller_interrupt_init 237
period_poller_set_interrupt_mode 245
poller_insert_timer 25661261
poller_interrupt_fini 1362
poller_register 161880
poller_remove_timer 241
poller_set_interrupt_mode 8
put_io_channel 97032
register_flag_thread 2960
spdk_for_each_channel 606540
spdk_for_each_channel_continue 694059
spdk_for_each_thread 538
spdk_get_io_channel 306701
spdk_get_thread 733544940
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 87826738
spdk_interrupt_register 1392
spdk_interrupt_register_ext 1591
spdk_interrupt_register_for_events 1590
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3417
spdk_io_channel_from_ctx 19344222
spdk_io_channel_get_io_device 13619471
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 340496138
spdk_io_channel_iter_get_channel 710774
spdk_io_channel_iter_get_ctx 1319261
spdk_io_channel_iter_get_io_device 822083
spdk_io_device_get_name 0
spdk_io_device_register 44592
spdk_io_device_unregister 44588
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 209
spdk_poller_register 243
spdk_poller_register_interrupt 1747
spdk_poller_register_named 161639
spdk_poller_resume 205
spdk_poller_unregister 358312
spdk_put_io_channel 306680
spdk_set_thread 517006193
spdk_spin_destroy 89774
spdk_spin_held 1213208
spdk_spin_init 130656
spdk_spin_lock 1953791
spdk_spin_unlock 1953781
spdk_thread_bind 20
spdk_thread_create 7470
spdk_thread_destroy 7339
spdk_thread_exit 7482
spdk_thread_get_app_thread 22087
spdk_thread_get_by_id 588
spdk_thread_get_count 399
spdk_thread_get_cpumask 28745
spdk_thread_get_ctx 37262
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 15807984736
spdk_thread_get_id 78728
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7960860169
spdk_thread_get_name 1212
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 8211
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3571986
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 35804
spdk_thread_is_bound 122
spdk_thread_is_exited 7928474878
spdk_thread_is_idle 61344707
spdk_thread_is_running 3130
spdk_thread_lib_fini 2663
spdk_thread_lib_init 368
spdk_thread_lib_init_ext 2303
spdk_thread_next_poller_expiration 19437
spdk_thread_poll 8151013726
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1300
spdk_thread_send_msg 14940092
spdk_thread_set_cpumask 11936
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 89770
sspin_init_internal 130656
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5861833300
thread_execute_timed_poller 25653263
thread_exit 4117258
thread_get_io_channel 4384193
thread_has_unpaused_pollers 61343824
thread_insert_poller 162008
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 816308
thread_poll 8151284197
thread_run_pp_handlers 0
thread_send_msg_notification 14941388
thread_trace 2253
thread_update_stats 8150615443
timed_poller_compare 197824561
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25661261
timed_pollers_tree_RB_INSERT_COLOR 25661261
timed_pollers_tree_RB_MINMAX 16450
timed_pollers_tree_RB_NEXT 25670137
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25661175
timed_pollers_tree_RB_REMOVE_COLOR 22611991
wrong_thread 0

Generated by: LCOV version 1.14