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-13 17:41:03 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4164 10466 39.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 612
_call_channel 876617
_call_completion 781024
_finish_unregister 38726
_free_thread 8101
_get_thread 10498019100
_interrupt_wrapper 257700742
_on_thread 823
_thread_exit 249
_thread_lib_init 2903
_thread_remove_pollers 1504
_thread_trace 3265
alloc_interrupt 1840
busy_poller_interrupt_init 1369
busy_poller_set_interrupt_mode 1369
convert_us_to_ticks 171722
interrupt_fd_group_wrapper 159145
interrupt_timerfd_process 98606
io_channel_cmp 12765075
io_channel_tree_RB_FIND 4858197
io_channel_tree_RB_INSERT 114925
io_channel_tree_RB_INSERT_COLOR 114925
io_channel_tree_RB_MINMAX 16313
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 114917
io_channel_tree_RB_REMOVE_COLOR 98865
io_device_cmp 4980282
io_device_free 48885
io_device_get 1209323
io_device_tree_RB_FIND 1209323
io_device_tree_RB_INSERT 48897
io_device_tree_RB_INSERT_COLOR 48889
io_device_tree_RB_MINMAX 2911
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 48889
io_device_tree_RB_REMOVE_COLOR 40651
msg_queue_run_batch 9582542258
period_poller_interrupt_init 242
period_poller_set_interrupt_mode 250
poller_insert_timer 28257744
poller_interrupt_fini 1611
poller_register 171721
poller_remove_timer 246
poller_set_interrupt_mode 8
put_io_channel 114999
register_flag_thread 3265
spdk_for_each_channel 781024
spdk_for_each_channel_continue 876617
spdk_for_each_thread 612
spdk_get_io_channel 379394
spdk_get_thread 903693522
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 400529334
spdk_interrupt_register 1639
spdk_interrupt_register_ext 1838
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 1837
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3794
spdk_io_channel_from_ctx 25248403
spdk_io_channel_get_io_device 17587673
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 463317429
spdk_io_channel_iter_get_channel 799614
spdk_io_channel_iter_get_ctx 1603555
spdk_io_channel_iter_get_io_device 802511
spdk_io_device_get_name 0
spdk_io_device_register 48897
spdk_io_device_unregister 48893
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 213
spdk_poller_register 243
spdk_poller_register_interrupt 2004
spdk_poller_register_named 171476
spdk_poller_resume 209
spdk_poller_unregister 371670
spdk_put_io_channel 379377
spdk_set_thread 519262046
spdk_spin_destroy 100808
spdk_spin_held 8325400
spdk_spin_init 145483
spdk_spin_lock 2892917
spdk_spin_unlock 2892907
spdk_thread_bind 20
spdk_thread_create 8239
spdk_thread_destroy 8111
spdk_thread_exit 8251
spdk_thread_get_app_thread 22943
spdk_thread_get_by_id 718
spdk_thread_get_count 421
spdk_thread_get_cpumask 34235
spdk_thread_get_ctx 46247
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 18663443942
spdk_thread_get_id 97596
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 9417801820
spdk_thread_get_name 1389
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 9227
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3876523
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 39844
spdk_thread_is_bound 150
spdk_thread_is_exited 9371825485
spdk_thread_is_idle 150775719
spdk_thread_is_running 3240
spdk_thread_lib_fini 2895
spdk_thread_lib_init 376
spdk_thread_lib_init_ext 2527
spdk_thread_next_poller_expiration 23748
spdk_thread_poll 9581646542
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1475
spdk_thread_send_msg 19072483
spdk_thread_set_cpumask 15676
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 100804
sspin_init_internal 145483
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 8895992164
thread_execute_timed_poller 28249084
thread_exit 3828655
thread_get_io_channel 4858197
thread_has_unpaused_pollers 150773403
thread_insert_poller 171851
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 901381
thread_poll 9581649106
thread_run_pp_handlers 0
thread_send_msg_notification 19073957
thread_trace 2476
thread_update_stats 9581657317
timed_poller_compare 182329979
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 28257744
timed_pollers_tree_RB_INSERT_COLOR 28257744
timed_pollers_tree_RB_MINMAX 18209
timed_pollers_tree_RB_NEXT 28267793
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 28257663
timed_pollers_tree_RB_REMOVE_COLOR 23993419
wrong_thread 0

Generated by: LCOV version 1.15