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-19 11:10:02 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4222 10270 41.1 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 537
_call_channel 689430
_call_completion 597663
_finish_unregister 33927
_free_thread 7222
_get_thread 8374197882
_interrupt_wrapper 254522646
_on_thread 746
_thread_exit 245
_thread_lib_init 2639
_thread_remove_pollers 1432
_thread_trace 2929
busy_poller_interrupt_init 1333
busy_poller_set_interrupt_mode 1333
convert_us_to_ticks 157344
interrupt_timerfd_process 92409
io_channel_cmp 11195551
io_channel_tree_RB_FIND 4241646
io_channel_tree_RB_INSERT 95550
io_channel_tree_RB_INSERT_COLOR 95550
io_channel_tree_RB_MINMAX 14557
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 95542
io_channel_tree_RB_REMOVE_COLOR 81253
io_device_cmp 3854878
io_device_free 43136
io_device_get 945022
io_device_tree_RB_FIND 945022
io_device_tree_RB_INSERT 43148
io_device_tree_RB_INSERT_COLOR 43140
io_device_tree_RB_MINMAX 2651
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 43140
io_device_tree_RB_REMOVE_COLOR 36121
msg_queue_run_batch 7711432120
period_poller_interrupt_init 240
period_poller_set_interrupt_mode 248
poller_insert_timer 24320969
poller_interrupt_fini 1573
poller_register 157345
poller_remove_timer 244
poller_set_interrupt_mode 8
put_io_channel 95609
register_flag_thread 2929
spdk_for_each_channel 597663
spdk_for_each_channel_continue 689430
spdk_for_each_thread 537
spdk_get_io_channel 304203
spdk_get_thread 660009258
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 92269594
spdk_interrupt_register 1603
spdk_interrupt_register_ext 1802
spdk_interrupt_register_for_events 1801
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3534
spdk_io_channel_from_ctx 17484223
spdk_io_channel_get_io_device 12867636
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 312620294
spdk_io_channel_iter_get_channel 702745
spdk_io_channel_iter_get_ctx 1306639
spdk_io_channel_iter_get_io_device 837157
spdk_io_device_get_name 0
spdk_io_device_register 43148
spdk_io_device_unregister 43144
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 2497
spdk_poller_register_named 157100
spdk_poller_resume 205
spdk_poller_unregister 340451
spdk_put_io_channel 304182
spdk_set_thread 512330399
spdk_spin_destroy 73532
spdk_spin_held 443761
spdk_spin_init 113764
spdk_spin_lock 1869056
spdk_spin_unlock 1869046
spdk_thread_bind 20
spdk_thread_create 7356
spdk_thread_destroy 7231
spdk_thread_exit 7370
spdk_thread_get_app_thread 21853
spdk_thread_get_by_id 673
spdk_thread_get_count 395
spdk_thread_get_cpumask 27272
spdk_thread_get_ctx 36158
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 14890362161
spdk_thread_get_id 78675
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7464579586
spdk_thread_get_name 1212
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 8226
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3638309
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 35383
spdk_thread_is_bound 127
spdk_thread_is_exited 7483124863
spdk_thread_is_idle 55875650
spdk_thread_is_running 3133
spdk_thread_lib_fini 2635
spdk_thread_lib_init 356
spdk_thread_lib_init_ext 2283
spdk_thread_next_poller_expiration 25205
spdk_thread_poll 7710808740
spdk_thread_send_critical_msg 1289
spdk_thread_send_msg 11991906
spdk_thread_set_cpumask 11484
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 73528
sspin_init_internal 113764
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6761729727
thread_execute_timed_poller 24313793
thread_exit 3825040
thread_get_io_channel 4241646
thread_has_unpaused_pollers 55873839
thread_insert_poller 157468
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 1001163
thread_poll 7710911384
thread_send_msg_notification 11993193
thread_trace 2233
thread_update_stats 7710826291
timed_poller_compare 183546079
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 24320969
timed_pollers_tree_RB_INSERT_COLOR 24320969
timed_pollers_tree_RB_MINMAX 16375
timed_pollers_tree_RB_NEXT 24329130
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 24320889
timed_pollers_tree_RB_REMOVE_COLOR 21405323
wrong_thread 0

Generated by: LCOV version 1.14