LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1224 1532 79.9 %
Date: 2024-12-11 15:19:31 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3997 10466 38.2 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 563
_call_channel 616002
_call_completion 524489
_finish_unregister 33302
_free_thread 7087
_get_thread 8353079967
_interrupt_wrapper 245555178
_on_thread 770
_thread_exit 248
_thread_lib_init 2587
_thread_remove_pollers 1354
_thread_trace 2907
alloc_interrupt 1685
busy_poller_interrupt_init 1218
busy_poller_set_interrupt_mode 1218
convert_us_to_ticks 163835
interrupt_fd_group_wrapper 153573
interrupt_timerfd_process 92121
io_channel_cmp 9623410
io_channel_tree_RB_FIND 3635626
io_channel_tree_RB_INSERT 93582
io_channel_tree_RB_INSERT_COLOR 93582
io_channel_tree_RB_MINMAX 14258
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 93576
io_channel_tree_RB_REMOVE_COLOR 79814
io_device_cmp 3533572
io_device_free 42487
io_device_get 864645
io_device_tree_RB_FIND 864645
io_device_tree_RB_INSERT 42496
io_device_tree_RB_INSERT_COLOR 42490
io_device_tree_RB_MINMAX 2593
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 42490
io_device_tree_RB_REMOVE_COLOR 35697
msg_queue_run_batch 7686129692
period_poller_interrupt_init 238
period_poller_set_interrupt_mode 246
poller_insert_timer 20198538
poller_interrupt_fini 1456
poller_register 163835
poller_remove_timer 242
poller_set_interrupt_mode 8
put_io_channel 93644
register_flag_thread 2907
spdk_for_each_channel 524489
spdk_for_each_channel_continue 616002
spdk_for_each_thread 563
spdk_get_io_channel 297654
spdk_get_thread 654085485
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 155795087
spdk_interrupt_register 1484
spdk_interrupt_register_ext 1683
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 1682
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3520
spdk_io_channel_from_ctx 15814957
spdk_io_channel_get_io_device 10885595
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 295857299
spdk_io_channel_iter_get_channel 636466
spdk_io_channel_iter_get_ctx 1159923
spdk_io_channel_iter_get_io_device 684375
spdk_io_device_get_name 0
spdk_io_device_register 42496
spdk_io_device_unregister 42493
spdk_poller_get_id 17
spdk_poller_get_name 14
spdk_poller_get_period_ticks 14
spdk_poller_get_state_str 35
spdk_poller_get_stats 14
spdk_poller_pause 168
spdk_poller_register 187
spdk_poller_register_interrupt 1742
spdk_poller_register_named 163648
spdk_poller_resume 165
spdk_poller_unregister 350369
spdk_put_io_channel 297638
spdk_set_thread 494529004
spdk_spin_destroy 87175
spdk_spin_held 3247648
spdk_spin_init 128230
spdk_spin_lock 1905749
spdk_spin_unlock 1905741
spdk_thread_bind 19
spdk_thread_create 7198
spdk_thread_destroy 7094
spdk_thread_exit 7201
spdk_thread_get_app_thread 20735
spdk_thread_get_by_id 626
spdk_thread_get_count 377
spdk_thread_get_cpumask 28318
spdk_thread_get_ctx 36899
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 14915608191
spdk_thread_get_id 78822
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7491246412
spdk_thread_get_name 1215
spdk_thread_get_next_active_poller 48
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 8146
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 1846855
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 35716
spdk_thread_is_bound 116
spdk_thread_is_exited 7482828861
spdk_thread_is_idle 56805648
spdk_thread_is_running 3140
spdk_thread_lib_fini 2581
spdk_thread_lib_init 298
spdk_thread_lib_init_ext 2289
spdk_thread_next_poller_expiration 23017
spdk_thread_poll 7685026048
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1312
spdk_thread_send_msg 13398828
spdk_thread_set_cpumask 11858
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 87172
sspin_init_internal 128230
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 5464759624
thread_execute_timed_poller 20190407
thread_exit 2707795
thread_get_io_channel 3635626
thread_has_unpaused_pollers 56806701
thread_insert_poller 163940
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 898419
thread_poll 7685006192
thread_run_pp_handlers 0
thread_send_msg_notification 13400140
thread_trace 2250
thread_update_stats 7684816315
timed_poller_compare 139358143
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 20198538
timed_pollers_tree_RB_INSERT_COLOR 20198538
timed_pollers_tree_RB_MINMAX 15992
timed_pollers_tree_RB_NEXT 20207643
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 20198477
timed_pollers_tree_RB_REMOVE_COLOR 17226061
wrong_thread 0

Generated by: LCOV version 1.14