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-17 10:11:24 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4181 10466 39.9 %

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 890738
_call_completion 794005
_finish_unregister 38717
_free_thread 8099
_get_thread 10494897642
_interrupt_wrapper 225487332
_on_thread 823
_thread_exit 247
_thread_lib_init 2902
_thread_remove_pollers 1362
_thread_trace 3264
alloc_interrupt 1720
busy_poller_interrupt_init 1250
busy_poller_set_interrupt_mode 1250
convert_us_to_ticks 182636
interrupt_fd_group_wrapper 160401
interrupt_timerfd_process 95999
io_channel_cmp 12823968
io_channel_tree_RB_FIND 4885209
io_channel_tree_RB_INSERT 114749
io_channel_tree_RB_INSERT_COLOR 114749
io_channel_tree_RB_MINMAX 16309
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 114741
io_channel_tree_RB_REMOVE_COLOR 98690
io_device_cmp 5049630
io_device_free 48872
io_device_get 1221794
io_device_tree_RB_FIND 1221794
io_device_tree_RB_INSERT 48884
io_device_tree_RB_INSERT_COLOR 48876
io_device_tree_RB_MINMAX 2910
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 48876
io_device_tree_RB_REMOVE_COLOR 40640
msg_queue_run_batch 9604581152
period_poller_interrupt_init 241
period_poller_set_interrupt_mode 249
poller_insert_timer 28429647
poller_interrupt_fini 1491
poller_register 182637
poller_remove_timer 245
poller_set_interrupt_mode 8
put_io_channel 114831
register_flag_thread 3264
spdk_for_each_channel 794006
spdk_for_each_channel_continue 890738
spdk_for_each_thread 612
spdk_get_io_channel 378897
spdk_get_thread 875504036
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 393210541
spdk_interrupt_register 1519
spdk_interrupt_register_ext 1718
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 1717
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3671
spdk_io_channel_from_ctx 25884682
spdk_io_channel_get_io_device 18436407
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 464489969
spdk_io_channel_iter_get_channel 827327
spdk_io_channel_iter_get_ctx 1632708
spdk_io_channel_iter_get_io_device 801869
spdk_io_device_get_name 0
spdk_io_device_register 48884
spdk_io_device_unregister 48880
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 182392
spdk_poller_resume 209
spdk_poller_unregister 400743
spdk_put_io_channel 378878
spdk_set_thread 454373966
spdk_spin_destroy 100764
spdk_spin_held 8217005
spdk_spin_init 145420
spdk_spin_lock 2890198
spdk_spin_unlock 2890187
spdk_thread_bind 20
spdk_thread_create 8237
spdk_thread_destroy 8108
spdk_thread_exit 8249
spdk_thread_get_app_thread 23293
spdk_thread_get_by_id 722
spdk_thread_get_count 421
spdk_thread_get_cpumask 34198
spdk_thread_get_ctx 46188
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 18716837912
spdk_thread_get_id 97854
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 9445960563
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 9257
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3844034
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 39832
spdk_thread_is_bound 141
spdk_thread_is_exited 9391400617
spdk_thread_is_idle 145902070
spdk_thread_is_running 3228
spdk_thread_lib_fini 2894
spdk_thread_lib_init 376
spdk_thread_lib_init_ext 2526
spdk_thread_next_poller_expiration 25097
spdk_thread_poll 9603652462
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1475
spdk_thread_send_msg 19169205
spdk_thread_set_cpumask 15660
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 100760
sspin_init_internal 145420
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 8747532486
thread_execute_timed_poller 28421002
thread_exit 4083187
thread_get_io_channel 4885209
thread_has_unpaused_pollers 145897774
thread_insert_poller 182765
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 669660
thread_poll 9603650084
thread_run_pp_handlers 0
thread_send_msg_notification 19170680
thread_trace 2475
thread_update_stats 9603569704
timed_poller_compare 183265350
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 28429647
timed_pollers_tree_RB_INSERT_COLOR 28429648
timed_pollers_tree_RB_MINMAX 18057
timed_pollers_tree_RB_NEXT 28439543
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 28429566
timed_pollers_tree_RB_REMOVE_COLOR 24039681
wrong_thread 0

Generated by: LCOV version 1.15