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 00:26:27 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4215 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 562
_call_channel 705522
_call_completion 613561
_finish_unregister 35799
_free_thread 7482
_get_thread 9039611896
_interrupt_wrapper 251431666
_on_thread 773
_thread_exit 249
_thread_lib_init 2715
_thread_remove_pollers 1356
_thread_trace 3006
busy_poller_interrupt_init 1231
busy_poller_set_interrupt_mode 1231
convert_us_to_ticks 160176
interrupt_timerfd_process 92469
io_channel_cmp 11292206
io_channel_tree_RB_FIND 4299423
io_channel_tree_RB_INSERT 98570
io_channel_tree_RB_INSERT_COLOR 98570
io_channel_tree_RB_MINMAX 15075
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 98562
io_channel_tree_RB_REMOVE_COLOR 83135
io_device_cmp 3957200
io_device_free 45300
io_device_get 971021
io_device_tree_RB_FIND 971021
io_device_tree_RB_INSERT 45312
io_device_tree_RB_INSERT_COLOR 45304
io_device_tree_RB_MINMAX 2723
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 45304
io_device_tree_RB_REMOVE_COLOR 37346
msg_queue_run_batch 8336116486
period_poller_interrupt_init 242
period_poller_set_interrupt_mode 250
poller_insert_timer 25239881
poller_interrupt_fini 1473
poller_register 160175
poller_remove_timer 246
poller_set_interrupt_mode 8
put_io_channel 98631
register_flag_thread 3006
spdk_for_each_channel 613561
spdk_for_each_channel_continue 705522
spdk_for_each_thread 562
spdk_get_io_channel 312140
spdk_get_thread 700738546
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 154887785
spdk_interrupt_register 1503
spdk_interrupt_register_ext 1702
spdk_interrupt_register_for_events 1701
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3596
spdk_io_channel_from_ctx 18515808
spdk_io_channel_get_io_device 13834364
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 349339655
spdk_io_channel_iter_get_channel 713480
spdk_io_channel_iter_get_ctx 1336013
spdk_io_channel_iter_get_io_device 832782
spdk_io_device_get_name 0
spdk_io_device_register 45312
spdk_io_device_unregister 45308
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 159932
spdk_poller_resume 205
spdk_poller_unregister 357561
spdk_put_io_channel 312122
spdk_set_thread 506221383
spdk_spin_destroy 91197
spdk_spin_held 1864591
spdk_spin_init 132766
spdk_spin_lock 2210131
spdk_spin_unlock 2210121
spdk_thread_bind 20
spdk_thread_create 7620
spdk_thread_destroy 7491
spdk_thread_exit 7630
spdk_thread_get_app_thread 22253
spdk_thread_get_by_id 689
spdk_thread_get_count 408
spdk_thread_get_cpumask 28816
spdk_thread_get_ctx 36846
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 15978710484
spdk_thread_get_id 79480
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 8008976976
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 8553
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 4133020
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36594
spdk_thread_is_bound 131
spdk_thread_is_exited 8087737959
spdk_thread_is_idle 57314549
spdk_thread_is_running 3189
spdk_thread_lib_fini 2707
spdk_thread_lib_init 372
spdk_thread_lib_init_ext 2343
spdk_thread_next_poller_expiration 24629
spdk_thread_poll 8334748255
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1332
spdk_thread_send_msg 13781758
spdk_thread_set_cpumask 11576
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 91193
sspin_init_internal 132766
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6112224635
thread_execute_timed_poller 25231529
thread_exit 4098413
thread_get_io_channel 4299423
thread_has_unpaused_pollers 57313429
thread_insert_poller 160300
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 814720
thread_poll 8335143301
thread_run_pp_handlers 0
thread_send_msg_notification 13783088
thread_trace 2293
thread_update_stats 8334919558
timed_poller_compare 193781396
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25239883
timed_pollers_tree_RB_INSERT_COLOR 25239882
timed_pollers_tree_RB_MINMAX 16822
timed_pollers_tree_RB_NEXT 25249184
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25239803
timed_pollers_tree_RB_REMOVE_COLOR 22316665
wrong_thread 0

Generated by: LCOV version 1.14