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-20 11:33:06 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4185 10270 40.7 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 5
__posix_abort 0
_back_to_orig_thread 560
_call_channel 696001
_call_completion 604057
_finish_unregister 34649
_free_thread 7387
_get_thread 8590060982
_interrupt_wrapper 255162016
_on_thread 771
_thread_exit 245
_thread_lib_init 2694
_thread_remove_pollers 1288
_thread_trace 2989
busy_poller_interrupt_init 1124
busy_poller_set_interrupt_mode 1124
convert_us_to_ticks 160045
interrupt_timerfd_process 97010
io_channel_cmp 11480505
io_channel_tree_RB_FIND 4325554
io_channel_tree_RB_INSERT 96339
io_channel_tree_RB_INSERT_COLOR 96339
io_channel_tree_RB_MINMAX 14885
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 96331
io_channel_tree_RB_REMOVE_COLOR 81879
io_device_cmp 3914314
io_device_free 44067
io_device_get 954520
io_device_tree_RB_FIND 954520
io_device_tree_RB_INSERT 44079
io_device_tree_RB_INSERT_COLOR 44071
io_device_tree_RB_MINMAX 2706
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 44071
io_device_tree_RB_REMOVE_COLOR 36979
msg_queue_run_batch 7879354018
period_poller_interrupt_init 238
period_poller_set_interrupt_mode 246
poller_insert_timer 29242480
poller_interrupt_fini 1362
poller_register 160043
poller_remove_timer 242
poller_set_interrupt_mode 8
put_io_channel 96401
register_flag_thread 2989
spdk_for_each_channel 604058
spdk_for_each_channel_continue 696001
spdk_for_each_thread 560
spdk_get_io_channel 306374
spdk_get_thread 707243029
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 162210860
spdk_interrupt_register 1392
spdk_interrupt_register_ext 1591
spdk_interrupt_register_for_events 1590
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3422
spdk_io_channel_from_ctx 19393028
spdk_io_channel_get_io_device 13885649
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 356080383
spdk_io_channel_iter_get_channel 707797
spdk_io_channel_iter_get_ctx 1318235
spdk_io_channel_iter_get_io_device 817625
spdk_io_device_get_name 0
spdk_io_device_register 44079
spdk_io_device_unregister 44076
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 2548
spdk_poller_register_named 159801
spdk_poller_resume 205
spdk_poller_unregister 360200
spdk_put_io_channel 306353
spdk_set_thread 513568332
spdk_spin_destroy 89873
spdk_spin_held 3318802
spdk_spin_init 131108
spdk_spin_lock 1933075
spdk_spin_unlock 1933065
spdk_thread_bind 20
spdk_thread_create 7521
spdk_thread_destroy 7393
spdk_thread_exit 7536
spdk_thread_get_app_thread 22743
spdk_thread_get_by_id 694
spdk_thread_get_count 408
spdk_thread_get_cpumask 28776
spdk_thread_get_ctx 37317
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 15147671552
spdk_thread_get_id 79078
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7587030237
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 8401
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 2974778
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36351
spdk_thread_is_bound 130
spdk_thread_is_exited 7612363954
spdk_thread_is_idle 59086000
spdk_thread_is_running 3203
spdk_thread_lib_fini 2690
spdk_thread_lib_init 362
spdk_thread_lib_init_ext 2332
spdk_thread_next_poller_expiration 23838
spdk_thread_poll 7878298571
spdk_thread_send_critical_msg 1325
spdk_thread_send_msg 13796746
spdk_thread_set_cpumask 11904
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 89869
sspin_init_internal 131108
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6757921489
thread_execute_timed_poller 29234318
thread_exit 3323580
thread_get_io_channel 4325554
thread_has_unpaused_pollers 59084168
thread_insert_poller 160170
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 979553
thread_poll 7878570560
thread_send_msg_notification 13798070
thread_trace 2282
thread_update_stats 7878258695
timed_poller_compare 233418811
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 29242480
timed_pollers_tree_RB_INSERT_COLOR 29242480
timed_pollers_tree_RB_MINMAX 16555
timed_pollers_tree_RB_NEXT 29251494
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 29242397
timed_pollers_tree_RB_REMOVE_COLOR 26219231
wrong_thread 0

Generated by: LCOV version 1.15