LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1204 1483 81.2 %
Date: 2024-11-17 22:58:00 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4173 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 579
_call_channel 781187
_call_completion 723494
_finish_unregister 35027
_free_thread 7344
_get_thread 9042117737
_interrupt_wrapper 108857037
_on_thread 790
_thread_exit 141
_thread_lib_init 2671
_thread_remove_pollers 769
_thread_trace 2986
busy_poller_interrupt_init 697
busy_poller_set_interrupt_mode 697
convert_us_to_ticks 160432
interrupt_timerfd_process 59392
io_channel_cmp 12187988
io_channel_tree_RB_FIND 4555999
io_channel_tree_RB_INSERT 99868
io_channel_tree_RB_INSERT_COLOR 99868
io_channel_tree_RB_MINMAX 14800
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 99860
io_channel_tree_RB_REMOVE_COLOR 85667
io_device_cmp 4634235
io_device_free 44289
io_device_get 1108626
io_device_tree_RB_FIND 1108626
io_device_tree_RB_INSERT 44301
io_device_tree_RB_INSERT_COLOR 44293
io_device_tree_RB_MINMAX 2683
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 44293
io_device_tree_RB_REMOVE_COLOR 37294
msg_queue_run_batch 8323594741
period_poller_interrupt_init 135
period_poller_set_interrupt_mode 143
poller_insert_timer 27769203
poller_interrupt_fini 832
poller_register 160432
poller_remove_timer 139
poller_set_interrupt_mode 8
put_io_channel 99944
register_flag_thread 2986
spdk_for_each_channel 723494
spdk_for_each_channel_continue 781187
spdk_for_each_thread 579
spdk_get_io_channel 340823
spdk_get_thread 714080456
spdk_interrupt_mode_enable 28
spdk_interrupt_mode_is_enabled 340684279
spdk_interrupt_register 857
spdk_interrupt_register_ext 962
spdk_interrupt_register_for_events 961
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 2435
spdk_io_channel_from_ctx 24339372
spdk_io_channel_get_io_device 16888193
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 423358561
spdk_io_channel_iter_get_channel 707461
spdk_io_channel_iter_get_ctx 1435148
spdk_io_channel_iter_get_io_device 801146
spdk_io_device_get_name 0
spdk_io_device_register 44301
spdk_io_device_unregister 44297
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 208
spdk_poller_register 243
spdk_poller_register_interrupt 2495
spdk_poller_register_named 160189
spdk_poller_resume 204
spdk_poller_unregister 300704
spdk_put_io_channel 340803
spdk_set_thread 220102006
spdk_spin_destroy 91681
spdk_spin_held 5492625
spdk_spin_init 132300
spdk_spin_lock 2527799
spdk_spin_unlock 2527790
spdk_thread_bind 20
spdk_thread_create 7478
spdk_thread_destroy 7353
spdk_thread_exit 7493
spdk_thread_get_app_thread 22477
spdk_thread_get_by_id 694
spdk_thread_get_count 401
spdk_thread_get_cpumask 28744
spdk_thread_get_ctx 37240
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 16227853518
spdk_thread_get_id 89987
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 170
spdk_thread_get_last_tsc 8214608859
spdk_thread_get_name 1228
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 8555
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3819871
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36472
spdk_thread_is_bound 136
spdk_thread_is_exited 8149228994
spdk_thread_is_idle 123761265
spdk_thread_is_running 2912
spdk_thread_lib_fini 2667
spdk_thread_lib_init 346
spdk_thread_lib_init_ext 2325
spdk_thread_next_poller_expiration 16512
spdk_thread_poll 8323338808
spdk_thread_send_critical_msg 1315
spdk_thread_send_msg 17312148
spdk_thread_set_cpumask 11900
spdk_thread_set_interrupt_mode 89
sspin_fini_internal 91677
sspin_init_internal 132300
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 8725059205
thread_execute_timed_poller 27761853
thread_exit 3875857
thread_get_io_channel 4555999
thread_has_unpaused_pollers 123746113
thread_insert_poller 160556
thread_interrupt_create 73
thread_interrupt_destroy 73
thread_interrupt_msg_process 547600
thread_poll 8323213524
thread_send_msg_notification 17313461
thread_trace 2275
thread_update_stats 8323153875
timed_poller_compare 182367498
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 27769203
timed_pollers_tree_RB_INSERT_COLOR 27769203
timed_pollers_tree_RB_MINMAX 15851
timed_pollers_tree_RB_NEXT 27777560
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 27769122
timed_pollers_tree_RB_REMOVE_COLOR 23671486
wrong_thread 0

Generated by: LCOV version 1.15