LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1199 1483 80.8 %
Date: 2024-11-18 13:17:53 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4165 10270 40.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 477
_call_channel 494157
_call_completion 487870
_finish_unregister 28289
_free_thread 5833
_get_thread 5650151698
_interrupt_wrapper 8644
_on_thread 688
_thread_exit 12
_thread_lib_init 2205
_thread_remove_pollers 124
_thread_trace 2362
busy_poller_interrupt_init 124
busy_poller_set_interrupt_mode 124
convert_us_to_ticks 125646
interrupt_timerfd_process 7472
io_channel_cmp 10405014
io_channel_tree_RB_FIND 3751276
io_channel_tree_RB_INSERT 56773
io_channel_tree_RB_INSERT_COLOR 56773
io_channel_tree_RB_MINMAX 11777
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 56765
io_channel_tree_RB_REMOVE_COLOR 44763
io_device_cmp 2870601
io_device_free 35824
io_device_get 704421
io_device_tree_RB_FIND 704421
io_device_tree_RB_INSERT 35836
io_device_tree_RB_INSERT_COLOR 35828
io_device_tree_RB_MINMAX 2217
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 35828
io_device_tree_RB_REMOVE_COLOR 29593
msg_queue_run_batch 5266933311
period_poller_interrupt_init 12
period_poller_set_interrupt_mode 20
poller_insert_timer 24265183
poller_interrupt_fini 136
poller_register 125646
poller_remove_timer 16
poller_set_interrupt_mode 8
put_io_channel 56834
register_flag_thread 2362
spdk_for_each_channel 487875
spdk_for_each_channel_continue 494157
spdk_for_each_thread 477
spdk_get_io_channel 180702
spdk_get_thread 379792934
spdk_interrupt_mode_enable 12
spdk_interrupt_mode_is_enabled 145858007
spdk_interrupt_register 148
spdk_interrupt_register_ext 148
spdk_interrupt_register_for_events 148
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 998
spdk_io_channel_from_ctx 16991411
spdk_io_channel_get_io_device 12777076
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 265229794
spdk_io_channel_iter_get_channel 504852
spdk_io_channel_iter_get_ctx 957107
spdk_io_channel_iter_get_io_device 817035
spdk_io_device_get_name 0
spdk_io_device_register 35836
spdk_io_device_unregister 35832
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 182
spdk_poller_register 243
spdk_poller_register_interrupt 1705
spdk_poller_register_named 125402
spdk_poller_resume 178
spdk_poller_unregister 190611
spdk_put_io_channel 180685
spdk_set_thread 1302335
spdk_spin_destroy 68502
spdk_spin_held 1844186
spdk_spin_init 100857
spdk_spin_lock 1538584
spdk_spin_unlock 1538574
spdk_thread_bind 20
spdk_thread_create 5967
spdk_thread_destroy 5841
spdk_thread_exit 5980
spdk_thread_get_app_thread 20341
spdk_thread_get_by_id 611
spdk_thread_get_count 370
spdk_thread_get_cpumask 13579
spdk_thread_get_ctx 10469
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 10113104890
spdk_thread_get_id 13242
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 48
spdk_thread_get_last_tsc 5122885433
spdk_thread_get_name 750
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 6873
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3819655
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 28734
spdk_thread_is_bound 123
spdk_thread_is_exited 5088243458
spdk_thread_is_idle 44301219
spdk_thread_is_running 2365
spdk_thread_lib_fini 2201
spdk_thread_lib_init 340
spdk_thread_lib_init_ext 1865
spdk_thread_next_poller_expiration 10284
spdk_thread_poll 5266797942
spdk_thread_send_critical_msg 942
spdk_thread_send_msg 9192052
spdk_thread_set_cpumask 16
spdk_thread_set_interrupt_mode 28
sspin_fini_internal 68498
sspin_init_internal 100857
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 4618220060
thread_execute_timed_poller 24260372
thread_exit 2931496
thread_get_io_channel 3751276
thread_has_unpaused_pollers 44298252
thread_insert_poller 125744
thread_interrupt_create 12
thread_interrupt_destroy 12
thread_interrupt_msg_process 505
thread_poll 5266835165
thread_send_msg_notification 9192993
thread_trace 1818
thread_update_stats 5266560472
timed_poller_compare 203933524
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 24265183
timed_pollers_tree_RB_INSERT_COLOR 24265183
timed_pollers_tree_RB_MINMAX 12076
timed_pollers_tree_RB_NEXT 24270422
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 24265101
timed_pollers_tree_RB_REMOVE_COLOR 22002757
wrong_thread 0

Generated by: LCOV version 1.15