LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1172 1453 80.7 %
Date: 2024-12-14 15:01:46 Functions: 138 160 86.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3778 10254 36.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 454
_call_channel 757805
_call_completion 680362
_finish_unregister 33340
_free_thread 8313
_get_thread 9264985924
_interrupt_wrapper 4127735
_on_thread 560
_thread_exit 17
_thread_lib_init 3182
_thread_remove_pollers 142
_thread_trace 3159
busy_poller_interrupt_init 154
busy_poller_set_interrupt_mode 154
convert_us_to_ticks 278630
interrupt_timerfd_process 8203
io_channel_cmp 11185143
io_channel_tree_RB_FIND 4103502
io_channel_tree_RB_INSERT 106980
io_channel_tree_RB_INSERT_COLOR 106980
io_channel_tree_RB_MINMAX 16701
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 106980
io_channel_tree_RB_REMOVE_COLOR 91866
io_device_cmp 4403655
io_device_free 42730
io_device_get 1057866
io_device_tree_RB_FIND 1057866
io_device_tree_RB_INSERT 42736
io_device_tree_RB_INSERT_COLOR 42730
io_device_tree_RB_MINMAX 3191
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 42730
io_device_tree_RB_REMOVE_COLOR 35363
msg_queue_run_batch 8712687840
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 22639679
poller_interrupt_fini 169
poller_register 278630
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 107038
register_flag_thread 3159
spdk_for_each_channel 680362
spdk_for_each_channel_continue 757805
spdk_for_each_thread 454
spdk_get_io_channel 334763
spdk_get_thread 541774300
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 10548928
spdk_interrupt_register 187
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 574
spdk_io_channel_from_ctx 29245370
spdk_io_channel_get_io_device 22669558
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 424534590
spdk_io_channel_iter_get_channel 810885
spdk_io_channel_iter_get_ctx 1374749
spdk_io_channel_iter_get_io_device 691090
spdk_io_device_get_name 0
spdk_io_device_register 42736
spdk_io_device_unregister 42733
spdk_poller_get_id 8
spdk_poller_get_name 8
spdk_poller_get_period_ticks 8
spdk_poller_get_state_str 8
spdk_poller_get_stats 8
spdk_poller_pause 140
spdk_poller_register 157
spdk_poller_register_interrupt 790
spdk_poller_register_named 278473
spdk_poller_resume 110
spdk_poller_unregister 763937
spdk_put_io_channel 334752
spdk_set_thread 69295186
spdk_spin_destroy 92806
spdk_spin_held 8171817
spdk_spin_init 128662
spdk_spin_lock 2715621
spdk_spin_unlock 2715613
spdk_thread_bind 19
spdk_thread_create 8418
spdk_thread_destroy 8318
spdk_thread_exit 8423
spdk_thread_get_app_thread 24585
spdk_thread_get_by_id 385
spdk_thread_get_count 293
spdk_thread_get_cpumask 33209
spdk_thread_get_ctx 47570
spdk_thread_get_first_active_poller 24
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 24
spdk_thread_get_first_timed_poller 24
spdk_thread_get_from_ctx 17054776071
spdk_thread_get_id 77859
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 8574171121
spdk_thread_get_name 324
spdk_thread_get_next_active_poller 0
spdk_thread_get_next_io_channel 0
spdk_thread_get_next_paused_poller 0
spdk_thread_get_next_timed_poller 24
spdk_thread_get_stats 8204
spdk_thread_has_active_pollers 1936753
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 35949
spdk_thread_is_bound 69
spdk_thread_is_exited 8547841474
spdk_thread_is_idle 69210938
spdk_thread_is_running 3713
spdk_thread_lib_fini 3179
spdk_thread_lib_init 255
spdk_thread_lib_init_ext 2927
spdk_thread_next_poller_expiration 48456
spdk_thread_poll 8712438087
spdk_thread_send_critical_msg 1231
spdk_thread_send_msg 9934344
spdk_thread_set_cpumask 16034
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 92803
sspin_init_internal 128662
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 11827064332
thread_execute_timed_poller 22632081
thread_exit 3008524
thread_get_io_channel 4103502
thread_has_unpaused_pollers 69209807
thread_insert_poller 278713
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 635
thread_poll 8712457579
thread_send_msg_notification 9935575
thread_trace 2893
thread_update_stats 8712178408
timed_poller_compare 143166962
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 22639680
timed_pollers_tree_RB_INSERT_COLOR 22639679
timed_pollers_tree_RB_MINMAX 16911
timed_pollers_tree_RB_NEXT 22647701
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 22639620
timed_pollers_tree_RB_REMOVE_COLOR 17946974
wrong_thread 0

Generated by: LCOV version 1.15