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-15 12:06:21 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4205 10270 40.9 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 557
_call_channel 665091
_call_completion 580496
_finish_unregister 34499
_free_thread 7373
_get_thread 8616956960
_interrupt_wrapper 268303666
_on_thread 768
_thread_exit 243
_thread_lib_init 2678
_thread_remove_pollers 2682
_thread_trace 2977
busy_poller_interrupt_init 2836
busy_poller_set_interrupt_mode 2836
convert_us_to_ticks 156436
interrupt_timerfd_process 86948
io_channel_cmp 10984330
io_channel_tree_RB_FIND 4139327
io_channel_tree_RB_INSERT 96206
io_channel_tree_RB_INSERT_COLOR 96206
io_channel_tree_RB_MINMAX 14857
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 96198
io_channel_tree_RB_REMOVE_COLOR 81780
io_device_cmp 3776095
io_device_free 43840
io_device_get 930752
io_device_tree_RB_FIND 930752
io_device_tree_RB_INSERT 43852
io_device_tree_RB_INSERT_COLOR 43844
io_device_tree_RB_MINMAX 2690
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 43844
io_device_tree_RB_REMOVE_COLOR 36785
msg_queue_run_batch 7928825530
period_poller_interrupt_init 233
period_poller_set_interrupt_mode 241
poller_insert_timer 25149253
poller_interrupt_fini 3069
poller_register 156436
poller_remove_timer 237
poller_set_interrupt_mode 8
put_io_channel 96261
register_flag_thread 2977
spdk_for_each_channel 580497
spdk_for_each_channel_continue 665091
spdk_for_each_thread 557
spdk_get_io_channel 306395
spdk_get_thread 686747409
spdk_interrupt_mode_enable 40
spdk_interrupt_mode_is_enabled 144556567
spdk_interrupt_register 3097
spdk_interrupt_register_ext 3295
spdk_interrupt_register_for_events 3295
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 5123
spdk_io_channel_from_ctx 17317834
spdk_io_channel_get_io_device 13305823
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 323140913
spdk_io_channel_iter_get_channel 670875
spdk_io_channel_iter_get_ctx 1263744
spdk_io_channel_iter_get_io_device 827515
spdk_io_device_get_name 0
spdk_io_device_register 43852
spdk_io_device_unregister 43848
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 2542
spdk_poller_register_named 156192
spdk_poller_resume 205
spdk_poller_unregister 327337
spdk_put_io_channel 306368
spdk_set_thread 539093776
spdk_spin_destroy 89792
spdk_spin_held 3263108
spdk_spin_init 130779
spdk_spin_lock 1964522
spdk_spin_unlock 1964512
spdk_thread_bind 20
spdk_thread_create 7507
spdk_thread_destroy 7379
spdk_thread_exit 7521
spdk_thread_get_app_thread 22392
spdk_thread_get_by_id 711
spdk_thread_get_count 400
spdk_thread_get_cpumask 28532
spdk_thread_get_ctx 36605
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 15272277444
spdk_thread_get_id 78064
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 264
spdk_thread_get_last_tsc 7653424792
spdk_thread_get_name 1219
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 8429
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3706469
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36174
spdk_thread_is_bound 133
spdk_thread_is_exited 7676531656
spdk_thread_is_idle 56513267
spdk_thread_is_running 3189
spdk_thread_lib_fini 2674
spdk_thread_lib_init 352
spdk_thread_lib_init_ext 2326
spdk_thread_next_poller_expiration 23612
spdk_thread_poll 7928108019
spdk_thread_send_critical_msg 1325
spdk_thread_send_msg 11036825
spdk_thread_set_cpumask 11536
spdk_thread_set_interrupt_mode 136
sspin_fini_internal 89788
sspin_init_internal 130779
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 7051303571
thread_execute_timed_poller 25141398
thread_exit 4438360
thread_get_io_channel 4139327
thread_has_unpaused_pollers 56512135
thread_insert_poller 156560
thread_interrupt_create 120
thread_interrupt_destroy 120
thread_interrupt_msg_process 597894
thread_poll 7928194740
thread_send_msg_notification 11038147
thread_trace 2276
thread_update_stats 7927916558
timed_poller_compare 190916439
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25149253
timed_pollers_tree_RB_INSERT_COLOR 25149253
timed_pollers_tree_RB_MINMAX 17918
timed_pollers_tree_RB_NEXT 25159397
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25149170
timed_pollers_tree_RB_REMOVE_COLOR 22227061
wrong_thread 0

Generated by: LCOV version 1.15