LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1205 1505 80.1 %
Date: 2024-12-09 05:26:07 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4213 10364 40.7 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 566
_call_channel 669173
_call_completion 582780
_finish_unregister 35795
_free_thread 7494
_get_thread 9036792222
_interrupt_wrapper 257656759
_on_thread 777
_thread_exit 246
_thread_lib_init 2719
_thread_remove_pollers 1318
_thread_trace 3010
busy_poller_interrupt_init 1190
busy_poller_set_interrupt_mode 1190
convert_us_to_ticks 158806
interrupt_timerfd_process 100644
io_channel_cmp 11176886
io_channel_tree_RB_FIND 4226710
io_channel_tree_RB_INSERT 97961
io_channel_tree_RB_INSERT_COLOR 97961
io_channel_tree_RB_MINMAX 15096
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 97953
io_channel_tree_RB_REMOVE_COLOR 82476
io_device_cmp 3774438
io_device_free 45312
io_device_get 937991
io_device_tree_RB_FIND 937991
io_device_tree_RB_INSERT 45324
io_device_tree_RB_INSERT_COLOR 45316
io_device_tree_RB_MINMAX 2727
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 45316
io_device_tree_RB_REMOVE_COLOR 37354
msg_queue_run_batch 8339344069
period_poller_interrupt_init 243
period_poller_set_interrupt_mode 251
poller_insert_timer 26612828
poller_interrupt_fini 1433
poller_register 158806
poller_remove_timer 247
poller_set_interrupt_mode 8
put_io_channel 98018
register_flag_thread 3010
spdk_for_each_channel 582781
spdk_for_each_channel_continue 669173
spdk_for_each_thread 566
spdk_get_io_channel 309878
spdk_get_thread 687294929
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 156297110
spdk_interrupt_register 1463
spdk_interrupt_register_ext 1662
spdk_interrupt_register_for_events 1661
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3511
spdk_io_channel_from_ctx 20092342
spdk_io_channel_get_io_device 12545389
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 331939982
spdk_io_channel_iter_get_channel 680132
spdk_io_channel_iter_get_ctx 1270871
spdk_io_channel_iter_get_io_device 800900
spdk_io_device_get_name 0
spdk_io_device_register 45324
spdk_io_device_unregister 45320
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 1770
spdk_poller_register_named 158561
spdk_poller_resume 205
spdk_poller_unregister 343694
spdk_put_io_channel 309855
spdk_set_thread 518440088
spdk_spin_destroy 91045
spdk_spin_held 1196683
spdk_spin_init 132692
spdk_spin_lock 1937648
spdk_spin_unlock 1937638
spdk_thread_bind 20
spdk_thread_create 7632
spdk_thread_destroy 7502
spdk_thread_exit 7643
spdk_thread_get_app_thread 22127
spdk_thread_get_by_id 657
spdk_thread_get_count 408
spdk_thread_get_cpumask 29051
spdk_thread_get_ctx 37366
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 16097420797
spdk_thread_get_id 78821
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 8064606147
spdk_thread_get_name 1219
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 8458
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3536817
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36668
spdk_thread_is_bound 127
spdk_thread_is_exited 8090094483
spdk_thread_is_idle 64112844
spdk_thread_is_running 3219
spdk_thread_lib_fini 2711
spdk_thread_lib_init 372
spdk_thread_lib_init_ext 2347
spdk_thread_next_poller_expiration 26181
spdk_thread_poll 8338630315
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1336
spdk_thread_send_msg 20083985
spdk_thread_set_cpumask 11832
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 91041
sspin_init_internal 132692
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5832865259
thread_execute_timed_poller 26604639
thread_exit 4213699
thread_get_io_channel 4226710
thread_has_unpaused_pollers 64108120
thread_insert_poller 158930
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 698438
thread_poll 8338531084
thread_run_pp_handlers 0
thread_send_msg_notification 20085317
thread_trace 2297
thread_update_stats 8338193997
timed_poller_compare 203790643
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 26612828
timed_pollers_tree_RB_INSERT_COLOR 26612828
timed_pollers_tree_RB_MINMAX 16806
timed_pollers_tree_RB_NEXT 26621894
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 26612746
timed_pollers_tree_RB_REMOVE_COLOR 23590845
wrong_thread 0

Generated by: LCOV version 1.14