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-20 10:35:50 Functions: 141 163 86.5 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4187 10270 40.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 519
_call_channel 684746
_call_completion 594535
_finish_unregister 33771
_free_thread 7044
_get_thread 8238063915
_interrupt_wrapper 252625172
_on_thread 634
_thread_exit 242
_thread_lib_init 2601
_thread_remove_pollers 1594
_thread_trace 2864
busy_poller_interrupt_init 1502
busy_poller_set_interrupt_mode 1502
convert_us_to_ticks 158018
interrupt_timerfd_process 83716
io_channel_cmp 11483760
io_channel_tree_RB_FIND 4288594
io_channel_tree_RB_INSERT 94860
io_channel_tree_RB_INSERT_COLOR 94860
io_channel_tree_RB_MINMAX 14197
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 94852
io_channel_tree_RB_REMOVE_COLOR 80731
io_device_cmp 3867012
io_device_free 42952
io_device_get 939787
io_device_tree_RB_FIND 939787
io_device_tree_RB_INSERT 42964
io_device_tree_RB_INSERT_COLOR 42956
io_device_tree_RB_MINMAX 2613
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 42956
io_device_tree_RB_REMOVE_COLOR 35993
msg_queue_run_batch 7556646832
period_poller_interrupt_init 235
period_poller_set_interrupt_mode 243
poller_insert_timer 24681294
poller_interrupt_fini 1737
poller_register 158013
poller_remove_timer 239
poller_set_interrupt_mode 8
put_io_channel 94915
register_flag_thread 2864
spdk_for_each_channel 594535
spdk_for_each_channel_continue 684746
spdk_for_each_thread 519
spdk_get_io_channel 302280
spdk_get_thread 674435306
spdk_interrupt_mode_enable 40
spdk_interrupt_mode_is_enabled 149494244
spdk_interrupt_register 1765
spdk_interrupt_register_ext 1963
spdk_interrupt_register_for_events 1963
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3777
spdk_io_channel_from_ctx 18015404
spdk_io_channel_get_io_device 13574043
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 326094168
spdk_io_channel_iter_get_channel 695631
spdk_io_channel_iter_get_ctx 1295782
spdk_io_channel_iter_get_io_device 843817
spdk_io_device_get_name 0
spdk_io_device_register 42964
spdk_io_device_unregister 42960
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 209
spdk_poller_register 243
spdk_poller_register_interrupt 2438
spdk_poller_register_named 157771
spdk_poller_resume 205
spdk_poller_unregister 329096
spdk_put_io_channel 302258
spdk_set_thread 508517228
spdk_spin_destroy 88551
spdk_spin_held 3311029
spdk_spin_init 128544
spdk_spin_lock 2422256
spdk_spin_unlock 2422245
spdk_thread_bind 20
spdk_thread_create 7178
spdk_thread_destroy 7052
spdk_thread_exit 7193
spdk_thread_get_app_thread 22055
spdk_thread_get_by_id 401
spdk_thread_get_count 393
spdk_thread_get_cpumask 27525
spdk_thread_get_ctx 36578
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 14573862050
spdk_thread_get_id 76672
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 264
spdk_thread_get_last_tsc 7300929880
spdk_thread_get_name 854
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 6747
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3325000
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 35032
spdk_thread_is_bound 71
spdk_thread_is_exited 7328960904
spdk_thread_is_idle 60744608
spdk_thread_is_running 3056
spdk_thread_lib_fini 2597
spdk_thread_lib_init 367
spdk_thread_lib_init_ext 2234
spdk_thread_next_poller_expiration 22534
spdk_thread_poll 7555196841
spdk_thread_send_critical_msg 1269
spdk_thread_send_msg 12769017
spdk_thread_set_cpumask 11960
spdk_thread_set_interrupt_mode 136
sspin_fini_internal 88547
sspin_init_internal 128544
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6753630266
thread_execute_timed_poller 24673046
thread_exit 4065545
thread_get_io_channel 4288594
thread_has_unpaused_pollers 60739311
thread_insert_poller 158143
thread_interrupt_create 120
thread_interrupt_destroy 120
thread_interrupt_msg_process 991087
thread_poll 7555207533
thread_send_msg_notification 12770285
thread_trace 2184
thread_update_stats 7555188054
timed_poller_compare 197741689
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 24681294
timed_pollers_tree_RB_INSERT_COLOR 24681294
timed_pollers_tree_RB_MINMAX 16077
timed_pollers_tree_RB_NEXT 24690642
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 24681213
timed_pollers_tree_RB_REMOVE_COLOR 21920999
wrong_thread 0

Generated by: LCOV version 1.15