LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1202 1483 81.1 %
Date: 2024-11-20 13:00:13 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4161 10270 40.5 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 540
_call_channel 588066
_call_completion 531192
_finish_unregister 32828
_free_thread 6930
_get_thread 7519403306
_interrupt_wrapper 134769954
_on_thread 751
_thread_exit 128
_thread_lib_init 2533
_thread_remove_pollers 1075
_thread_trace 2797
busy_poller_interrupt_init 1048
busy_poller_set_interrupt_mode 1048
convert_us_to_ticks 149654
interrupt_timerfd_process 49832
io_channel_cmp 10982557
io_channel_tree_RB_FIND 4087797
io_channel_tree_RB_INSERT 85449
io_channel_tree_RB_INSERT_COLOR 85449
io_channel_tree_RB_MINMAX 13966
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 85441
io_channel_tree_RB_REMOVE_COLOR 71584
io_device_cmp 3522097
io_device_free 41644
io_device_get 852604
io_device_tree_RB_FIND 852604
io_device_tree_RB_INSERT 41656
io_device_tree_RB_INSERT_COLOR 41648
io_device_tree_RB_MINMAX 2545
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 41648
io_device_tree_RB_REMOVE_COLOR 34846
msg_queue_run_batch 6992559408
period_poller_interrupt_init 126
period_poller_set_interrupt_mode 134
poller_insert_timer 25207285
poller_interrupt_fini 1174
poller_register 149655
poller_remove_timer 130
poller_set_interrupt_mode 8
put_io_channel 85510
register_flag_thread 2797
spdk_for_each_channel 531194
spdk_for_each_channel_continue 588066
spdk_for_each_thread 540
spdk_get_io_channel 279742
spdk_get_thread 521534745
spdk_interrupt_mode_enable 27
spdk_interrupt_mode_is_enabled 145506864
spdk_interrupt_register 1199
spdk_interrupt_register_ext 1294
spdk_interrupt_register_for_events 1293
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 2694
spdk_io_channel_from_ctx 17252252
spdk_io_channel_get_io_device 12283839
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 298647179
spdk_io_channel_iter_get_channel 599961
spdk_io_channel_iter_get_ctx 1123060
spdk_io_channel_iter_get_io_device 837233
spdk_io_device_get_name 0
spdk_io_device_register 41656
spdk_io_device_unregister 41652
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 2258
spdk_poller_register_named 149412
spdk_poller_resume 187
spdk_poller_unregister 262525
spdk_put_io_channel 279725
spdk_set_thread 271851546
spdk_spin_destroy 83422
spdk_spin_held 1173205
spdk_spin_init 121725
spdk_spin_lock 1736002
spdk_spin_unlock 1735993
spdk_thread_bind 20
spdk_thread_create 7064
spdk_thread_destroy 6937
spdk_thread_exit 7079
spdk_thread_get_app_thread 21635
spdk_thread_get_by_id 637
spdk_thread_get_count 396
spdk_thread_get_cpumask 23656
spdk_thread_get_ctx 28011
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 13477523494
spdk_thread_get_id 26593
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 160
spdk_thread_get_last_tsc 6760115150
spdk_thread_get_name 1064
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 7909
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3020538
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 33941
spdk_thread_is_bound 122
spdk_thread_is_exited 6778660537
spdk_thread_is_idle 53505565
spdk_thread_is_running 2919
spdk_thread_lib_fini 2529
spdk_thread_lib_init 362
spdk_thread_lib_init_ext 2171
spdk_thread_next_poller_expiration 17032
spdk_thread_poll 6991763903
spdk_thread_send_critical_msg 1186
spdk_thread_send_msg 10919817
spdk_thread_set_cpumask 7732
spdk_thread_set_interrupt_mode 84
sspin_fini_internal 83418
sspin_init_internal 121725
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5948990132
thread_execute_timed_poller 25200671
thread_exit 3370255
thread_get_io_channel 4087797
thread_has_unpaused_pollers 53499220
thread_insert_poller 149760
thread_interrupt_create 68
thread_interrupt_destroy 68
thread_interrupt_msg_process 514447
thread_poll 6992042312
thread_send_msg_notification 10921003
thread_trace 2122
thread_update_stats 6991446706
timed_poller_compare 183991439
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25207285
timed_pollers_tree_RB_INSERT_COLOR 25207285
timed_pollers_tree_RB_MINMAX 15322
timed_pollers_tree_RB_NEXT 25214923
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25207202
timed_pollers_tree_RB_REMOVE_COLOR 22463640
wrong_thread 0

Generated by: LCOV version 1.15