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 04:27:10 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4164 10364 40.2 %

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 677476
_call_completion 589738
_finish_unregister 35805
_free_thread 7497
_get_thread 9175202403
_interrupt_wrapper 253600624
_on_thread 776
_thread_exit 249
_thread_lib_init 2720
_thread_remove_pollers 1367
_thread_trace 3011
busy_poller_interrupt_init 1196
busy_poller_set_interrupt_mode 1196
convert_us_to_ticks 160775
interrupt_timerfd_process 100024
io_channel_cmp 11207183
io_channel_tree_RB_FIND 4213339
io_channel_tree_RB_INSERT 98356
io_channel_tree_RB_INSERT_COLOR 98356
io_channel_tree_RB_MINMAX 15104
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 98348
io_channel_tree_RB_REMOVE_COLOR 82940
io_device_cmp 3830129
io_device_free 45326
io_device_get 946657
io_device_tree_RB_FIND 946657
io_device_tree_RB_INSERT 45338
io_device_tree_RB_INSERT_COLOR 45330
io_device_tree_RB_MINMAX 2728
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 45330
io_device_tree_RB_REMOVE_COLOR 37367
msg_queue_run_batch 8487926971
period_poller_interrupt_init 243
period_poller_set_interrupt_mode 251
poller_insert_timer 29472037
poller_interrupt_fini 1439
poller_register 160768
poller_remove_timer 247
poller_set_interrupt_mode 8
put_io_channel 98420
register_flag_thread 3011
spdk_for_each_channel 589748
spdk_for_each_channel_continue 677475
spdk_for_each_thread 565
spdk_get_io_channel 311563
spdk_get_thread 682197110
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 146172859
spdk_interrupt_register 1469
spdk_interrupt_register_ext 1668
spdk_interrupt_register_for_events 1667
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3520
spdk_io_channel_from_ctx 15961340
spdk_io_channel_get_io_device 12477379
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 334419839
spdk_io_channel_iter_get_channel 687741
spdk_io_channel_iter_get_ctx 1284055
spdk_io_channel_iter_get_io_device 800953
spdk_io_device_get_name 0
spdk_io_device_register 45338
spdk_io_device_unregister 45334
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 160526
spdk_poller_resume 205
spdk_poller_unregister 347287
spdk_put_io_channel 311528
spdk_set_thread 510647118
spdk_spin_destroy 91124
spdk_spin_held 3409992
spdk_spin_init 132794
spdk_spin_lock 2411158
spdk_spin_unlock 2411147
spdk_thread_bind 20
spdk_thread_create 7635
spdk_thread_destroy 7504
spdk_thread_exit 7647
spdk_thread_get_app_thread 21961
spdk_thread_get_by_id 664
spdk_thread_get_count 408
spdk_thread_get_cpumask 29183
spdk_thread_get_ctx 37632
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 16436102574
spdk_thread_get_id 79210
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 8232926278
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 8479
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3368422
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36672
spdk_thread_is_bound 133
spdk_thread_is_exited 8251580835
spdk_thread_is_idle 66265520
spdk_thread_is_running 3212
spdk_thread_lib_fini 2712
spdk_thread_lib_init 372
spdk_thread_lib_init_ext 2348
spdk_thread_next_poller_expiration 23756
spdk_thread_poll 8486865610
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1337
spdk_thread_send_msg 9928303
spdk_thread_set_cpumask 11952
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 91120
sspin_init_internal 132794
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5847856395
thread_execute_timed_poller 29464019
thread_exit 3945475
thread_get_io_channel 4213339
thread_has_unpaused_pollers 66260018
thread_insert_poller 160899
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 854392
thread_poll 8487090214
thread_run_pp_handlers 0
thread_send_msg_notification 9929639
thread_trace 2298
thread_update_stats 8486704913
timed_poller_compare 238555068
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 29472038
timed_pollers_tree_RB_INSERT_COLOR 29472038
timed_pollers_tree_RB_MINMAX 16861
timed_pollers_tree_RB_NEXT 29480992
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 29471957
timed_pollers_tree_RB_REMOVE_COLOR 26558721
wrong_thread 0

Generated by: LCOV version 1.14