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-11-19 03:27:24 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3952 10270 38.5 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 578
_call_channel 818883
_call_completion 727753
_finish_unregister 33616
_free_thread 7179
_get_thread 10732373393
_interrupt_wrapper 222197661
_on_thread 785
_thread_exit 247
_thread_lib_init 2623
_thread_remove_pollers 1261
_thread_trace 2990
busy_poller_interrupt_init 1087
busy_poller_set_interrupt_mode 1087
convert_us_to_ticks 164466
interrupt_timerfd_process 91914
io_channel_cmp 11681371
io_channel_tree_RB_FIND 4289255
io_channel_tree_RB_INSERT 95733
io_channel_tree_RB_INSERT_COLOR 95733
io_channel_tree_RB_MINMAX 14442
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 95727
io_channel_tree_RB_REMOVE_COLOR 82638
io_device_cmp 4671291
io_device_free 42879
io_device_get 1077342
io_device_tree_RB_FIND 1077342
io_device_tree_RB_INSERT 42888
io_device_tree_RB_INSERT_COLOR 42882
io_device_tree_RB_MINMAX 2632
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 42882
io_device_tree_RB_REMOVE_COLOR 36677
msg_queue_run_batch 9912688848
period_poller_interrupt_init 243
period_poller_set_interrupt_mode 251
poller_insert_timer 26116001
poller_interrupt_fini 1330
poller_register 164466
poller_remove_timer 247
poller_set_interrupt_mode 8
put_io_channel 95803
register_flag_thread 2990
spdk_for_each_channel 727753
spdk_for_each_channel_continue 818883
spdk_for_each_thread 578
spdk_get_io_channel 306695
spdk_get_thread 801739559
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 500083303
spdk_interrupt_register 1360
spdk_interrupt_register_ext 1559
spdk_interrupt_register_for_events 1558
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3503
spdk_io_channel_from_ctx 24957327
spdk_io_channel_get_io_device 17223127
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 404537121
spdk_io_channel_iter_get_channel 746908
spdk_io_channel_iter_get_ctx 1479490
spdk_io_channel_iter_get_io_device 688179
spdk_io_device_get_name 0
spdk_io_device_register 42888
spdk_io_device_unregister 42885
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 2611
spdk_poller_register_named 164279
spdk_poller_resume 165
spdk_poller_unregister 364101
spdk_put_io_channel 306680
spdk_set_thread 447455979
spdk_spin_destroy 89504
spdk_spin_held 7581071
spdk_spin_init 131085
spdk_spin_lock 2453099
spdk_spin_unlock 2453091
spdk_thread_bind 19
spdk_thread_create 7287
spdk_thread_destroy 7187
spdk_thread_exit 7292
spdk_thread_get_app_thread 20488
spdk_thread_get_by_id 686
spdk_thread_get_count 378
spdk_thread_get_cpumask 28328
spdk_thread_get_ctx 36870
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 19370135278
spdk_thread_get_id 89040
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 9769086420
spdk_thread_get_name 1232
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 8387
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 1844094
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 36671
spdk_thread_is_bound 124
spdk_thread_is_exited 9706134038
spdk_thread_is_idle 57756427
spdk_thread_is_running 3453
spdk_thread_lib_fini 2620
spdk_thread_lib_init 280
spdk_thread_lib_init_ext 2343
spdk_thread_next_poller_expiration 22943
spdk_thread_poll 9911467589
spdk_thread_send_critical_msg 1358
spdk_thread_send_msg 18227748
spdk_thread_set_cpumask 11718
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 89501
sspin_init_internal 131085
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 9927095084
thread_execute_timed_poller 26107395
thread_exit 468004
thread_get_io_channel 4289255
thread_has_unpaused_pollers 57755026
thread_insert_poller 164571
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 1043873
thread_poll 9911428031
thread_send_msg_notification 18229106
thread_trace 2304
thread_update_stats 9911570407
timed_poller_compare 167108804
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 26116001
timed_pollers_tree_RB_INSERT_COLOR 26116001
timed_pollers_tree_RB_MINMAX 16089
timed_pollers_tree_RB_NEXT 26125443
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 26115940
timed_pollers_tree_RB_REMOVE_COLOR 22078850
wrong_thread 0

Generated by: LCOV version 1.14