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-10 17:40:01 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4181 10364 40.3 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 565
_call_channel 672397
_call_completion 579339
_finish_unregister 35774
_free_thread 7491
_get_thread 9066415495
_interrupt_wrapper 236444137
_on_thread 776
_thread_exit 246
_thread_lib_init 2718
_thread_remove_pollers 1494
_thread_trace 3009
busy_poller_interrupt_init 1394
busy_poller_set_interrupt_mode 1394
convert_us_to_ticks 156595
interrupt_timerfd_process 93613
io_channel_cmp 11101265
io_channel_tree_RB_FIND 4197807
io_channel_tree_RB_INSERT 97704
io_channel_tree_RB_INSERT_COLOR 97704
io_channel_tree_RB_MINMAX 15091
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 97696
io_channel_tree_RB_REMOVE_COLOR 82296
io_device_cmp 3751491
io_device_free 45287
io_device_get 934036
io_device_tree_RB_FIND 934036
io_device_tree_RB_INSERT 45299
io_device_tree_RB_INSERT_COLOR 45291
io_device_tree_RB_MINMAX 2726
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 45291
io_device_tree_RB_REMOVE_COLOR 37330
msg_queue_run_batch 8351167756
period_poller_interrupt_init 241
period_poller_set_interrupt_mode 249
poller_insert_timer 28661830
poller_interrupt_fini 1635
poller_register 156594
poller_remove_timer 245
poller_set_interrupt_mode 8
put_io_channel 97761
register_flag_thread 3009
spdk_for_each_channel 579339
spdk_for_each_channel_continue 672398
spdk_for_each_thread 565
spdk_get_io_channel 309390
spdk_get_thread 707047881
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 149186262
spdk_interrupt_register 1665
spdk_interrupt_register_ext 1864
spdk_interrupt_register_for_events 1863
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3698
spdk_io_channel_from_ctx 17795805
spdk_io_channel_get_io_device 12413618
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 341041939
spdk_io_channel_iter_get_channel 680592
spdk_io_channel_iter_get_ctx 1270034
spdk_io_channel_iter_get_io_device 803656
spdk_io_device_get_name 0
spdk_io_device_register 45299
spdk_io_device_unregister 45295
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 156350
spdk_poller_resume 205
spdk_poller_unregister 338969
spdk_put_io_channel 309368
spdk_set_thread 476744028
spdk_spin_destroy 90999
spdk_spin_held 1869648
spdk_spin_init 132627
spdk_spin_lock 2014699
spdk_spin_unlock 2014687
spdk_thread_bind 20
spdk_thread_create 7629
spdk_thread_destroy 7498
spdk_thread_exit 7639
spdk_thread_get_app_thread 22079
spdk_thread_get_by_id 658
spdk_thread_get_count 408
spdk_thread_get_cpumask 29108
spdk_thread_get_ctx 37475
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 16146472605
spdk_thread_get_id 78735
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 8121529698
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 8470
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3467794
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36644
spdk_thread_is_bound 128
spdk_thread_is_exited 8114437836
spdk_thread_is_idle 65540437
spdk_thread_is_running 3196
spdk_thread_lib_fini 2710
spdk_thread_lib_init 372
spdk_thread_lib_init_ext 2346
spdk_thread_next_poller_expiration 24402
spdk_thread_poll 8349099465
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1335
spdk_thread_send_msg 13905983
spdk_thread_set_cpumask 11884
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 90995
sspin_init_internal 132627
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5872661164
thread_execute_timed_poller 28653487
thread_exit 4169575
thread_get_io_channel 4197807
thread_has_unpaused_pollers 65538730
thread_insert_poller 156720
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 1057938
thread_poll 8349608565
thread_run_pp_handlers 0
thread_send_msg_notification 13907318
thread_trace 2296
thread_update_stats 8349082473
timed_poller_compare 228006320
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 28661830
timed_pollers_tree_RB_INSERT_COLOR 28661830
timed_pollers_tree_RB_MINMAX 16971
timed_pollers_tree_RB_NEXT 28671292
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 28661748
timed_pollers_tree_RB_REMOVE_COLOR 25691204
wrong_thread 0

Generated by: LCOV version 1.15