LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1234 1547 79.8 %
Date: 2024-12-12 21:49:58 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4142 10466 39.6 %

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 655563
_call_completion 560156
_finish_unregister 35786
_free_thread 7503
_get_thread 8962889472
_interrupt_wrapper 226480647
_on_thread 776
_thread_exit 246
_thread_lib_init 2722
_thread_remove_pollers 1718
_thread_trace 3009
alloc_interrupt 2066
busy_poller_interrupt_init 1596
busy_poller_set_interrupt_mode 1596
convert_us_to_ticks 162550
interrupt_fd_group_wrapper 157654
interrupt_timerfd_process 94599
io_channel_cmp 11220999
io_channel_tree_RB_FIND 4187018
io_channel_tree_RB_INSERT 98185
io_channel_tree_RB_INSERT_COLOR 98185
io_channel_tree_RB_MINMAX 15113
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 98177
io_channel_tree_RB_REMOVE_COLOR 82752
io_device_cmp 3718265
io_device_free 45307
io_device_get 915825
io_device_tree_RB_FIND 915825
io_device_tree_RB_INSERT 45319
io_device_tree_RB_INSERT_COLOR 45311
io_device_tree_RB_MINMAX 2730
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 45311
io_device_tree_RB_REMOVE_COLOR 37344
msg_queue_run_batch 8231403232
period_poller_interrupt_init 241
period_poller_set_interrupt_mode 249
poller_insert_timer 27540545
poller_interrupt_fini 1837
poller_register 162550
poller_remove_timer 245
poller_set_interrupt_mode 8
put_io_channel 98244
register_flag_thread 3009
spdk_for_each_channel 560157
spdk_for_each_channel_continue 655563
spdk_for_each_thread 565
spdk_get_io_channel 310340
spdk_get_thread 727426809
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 171267869
spdk_interrupt_register 1865
spdk_interrupt_register_ext 2064
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 2063
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3924
spdk_io_channel_from_ctx 19039304
spdk_io_channel_get_io_device 13658976
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 369198712
spdk_io_channel_iter_get_channel 669049
spdk_io_channel_iter_get_ctx 1234104
spdk_io_channel_iter_get_io_device 792807
spdk_io_device_get_name 0
spdk_io_device_register 45319
spdk_io_device_unregister 45315
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 162303
spdk_poller_resume 205
spdk_poller_unregister 330371
spdk_put_io_channel 310320
spdk_set_thread 456583604
spdk_spin_destroy 91067
spdk_spin_held 1876747
spdk_spin_init 132695
spdk_spin_lock 1991428
spdk_spin_unlock 1991418
spdk_thread_bind 20
spdk_thread_create 7641
spdk_thread_destroy 7510
spdk_thread_exit 7652
spdk_thread_get_app_thread 22266
spdk_thread_get_by_id 664
spdk_thread_get_count 408
spdk_thread_get_cpumask 29153
spdk_thread_get_ctx 37518
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 15872449914
spdk_thread_get_id 78902
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7988551092
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 8451
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3699337
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36648
spdk_thread_is_bound 121
spdk_thread_is_exited 7978847403
spdk_thread_is_idle 61204239
spdk_thread_is_running 3232
spdk_thread_lib_fini 2714
spdk_thread_lib_init 376
spdk_thread_lib_init_ext 2346
spdk_thread_next_poller_expiration 23442
spdk_thread_poll 8230294879
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1335
spdk_thread_send_msg 13771241
spdk_thread_set_cpumask 11916
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 91063
sspin_init_internal 132695
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5789499869
thread_execute_timed_poller 27532142
thread_exit 3075003
thread_get_io_channel 4187018
thread_has_unpaused_pollers 61200803
thread_insert_poller 162675
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 785570
thread_poll 8230261533
thread_run_pp_handlers 0
thread_send_msg_notification 13772576
thread_trace 2296
thread_update_stats 8230446229
timed_poller_compare 217307040
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 27540545
timed_pollers_tree_RB_INSERT_COLOR 27540545
timed_pollers_tree_RB_MINMAX 17221
timed_pollers_tree_RB_NEXT 27550187
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 27540463
timed_pollers_tree_RB_REMOVE_COLOR 24645986
wrong_thread 0

Generated by: LCOV version 1.15