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-15 10:35:06 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4162 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 533
_call_channel 603666
_call_completion 551826
_finish_unregister 32299
_free_thread 6819
_get_thread 7616076011
_interrupt_wrapper 130527116
_on_thread 744
_thread_exit 129
_thread_lib_init 2500
_thread_remove_pollers 700
_thread_trace 2753
busy_poller_interrupt_init 610
busy_poller_set_interrupt_mode 610
convert_us_to_ticks 145549
interrupt_timerfd_process 52636
io_channel_cmp 10995698
io_channel_tree_RB_FIND 4080265
io_channel_tree_RB_INSERT 84227
io_channel_tree_RB_INSERT_COLOR 84227
io_channel_tree_RB_MINMAX 13748
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 84219
io_channel_tree_RB_REMOVE_COLOR 70655
io_device_cmp 3513076
io_device_free 40955
io_device_get 868615
io_device_tree_RB_FIND 868615
io_device_tree_RB_INSERT 40967
io_device_tree_RB_INSERT_COLOR 40959
io_device_tree_RB_MINMAX 2512
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 40959
io_device_tree_RB_REMOVE_COLOR 34216
msg_queue_run_batch 7079486681
period_poller_interrupt_init 128
period_poller_set_interrupt_mode 136
poller_insert_timer 25375265
poller_interrupt_fini 738
poller_register 145546
poller_remove_timer 132
poller_set_interrupt_mode 8
put_io_channel 84289
register_flag_thread 2753
spdk_for_each_channel 551826
spdk_for_each_channel_continue 603760
spdk_for_each_thread 533
spdk_get_io_channel 275814
spdk_get_thread 530548325
spdk_interrupt_mode_enable 27
spdk_interrupt_mode_is_enabled 148843344
spdk_interrupt_register 763
spdk_interrupt_register_ext 858
spdk_interrupt_register_for_events 857
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 2279
spdk_io_channel_from_ctx 18021696
spdk_io_channel_get_io_device 12453980
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 315081547
spdk_io_channel_iter_get_channel 613768
spdk_io_channel_iter_get_ctx 1159758
spdk_io_channel_iter_get_io_device 826482
spdk_io_device_get_name 0
spdk_io_device_register 40967
spdk_io_device_unregister 40963
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 2239
spdk_poller_register_named 145305
spdk_poller_resume 187
spdk_poller_unregister 281406
spdk_put_io_channel 275796
spdk_set_thread 263158966
spdk_spin_destroy 82526
spdk_spin_held 3318175
spdk_spin_init 120250
spdk_spin_lock 1749967
spdk_spin_unlock 1749957
spdk_thread_bind 20
spdk_thread_create 6953
spdk_thread_destroy 6825
spdk_thread_exit 6968
spdk_thread_get_app_thread 21530
spdk_thread_get_by_id 660
spdk_thread_get_count 388
spdk_thread_get_cpumask 23715
spdk_thread_get_ctx 28348
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 13652506353
spdk_thread_get_id 26387
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 160
spdk_thread_get_last_tsc 6840030469
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 7844
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3318384
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 33460
spdk_thread_is_bound 124
spdk_thread_is_exited 6868113678
spdk_thread_is_idle 55771348
spdk_thread_is_running 2921
spdk_thread_lib_fini 2496
spdk_thread_lib_init 346
spdk_thread_lib_init_ext 2154
spdk_thread_next_poller_expiration 18929
spdk_thread_poll 7078603894
spdk_thread_send_critical_msg 1179
spdk_thread_send_msg 12860674
spdk_thread_set_cpumask 7980
spdk_thread_set_interrupt_mode 84
sspin_fini_internal 82522
sspin_init_internal 120250
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6155639673
thread_execute_timed_poller 25368482
thread_exit 3996587
thread_get_io_channel 4080265
thread_has_unpaused_pollers 55769574
thread_insert_poller 145656
thread_interrupt_create 68
thread_interrupt_destroy 68
thread_interrupt_msg_process 411043
thread_poll 7078926847
thread_send_msg_notification 12861852
thread_trace 2105
thread_update_stats 7078463093
timed_poller_compare 199614983
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25375265
timed_pollers_tree_RB_INSERT_COLOR 25375265
timed_pollers_tree_RB_MINMAX 14729
timed_pollers_tree_RB_NEXT 25382668
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25375184
timed_pollers_tree_RB_REMOVE_COLOR 22663745
wrong_thread 0

Generated by: LCOV version 1.14