LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1089 1309 83.2 %
Date: 2024-08-14 09:16:26 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 776 1132 68.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 5
__posix_abort 0
_back_to_orig_thread 557
_call_channel 715628
_call_completion 648836
_finish_unregister 36210
_free_thread 7123
_get_thread 10203488893
_interrupt_wrapper 2671930
_on_thread 744
_thread_exit 17
_thread_lib_init 2624
_thread_remove_pollers 141
_thread_trace 2919
busy_poller_interrupt_init 139
busy_poller_set_interrupt_mode 139
convert_us_to_ticks 167309
interrupt_timerfd_process 9028
io_channel_cmp 11190491
io_channel_tree_RB_FIND 3956581
io_channel_tree_RB_INSERT 96450
io_channel_tree_RB_INSERT_COLOR 96450
io_channel_tree_RB_MINMAX 14390
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 96440
io_channel_tree_RB_REMOVE_COLOR 78900
io_device_cmp 4240801
io_device_free 45292
io_device_get 975075
io_device_tree_RB_FIND 975075
io_device_tree_RB_INSERT 45307
io_device_tree_RB_INSERT_COLOR 45297
io_device_tree_RB_MINMAX 2639
io_device_tree_RB_NEXT 45
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
io_device_tree_RB_REMOVE 45297
io_device_tree_RB_REMOVE_COLOR 37487
msg_queue_run_batch 9718347607
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 23202803
poller_interrupt_fini 154
poller_register 167309
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 96504
register_flag_thread 2919
spdk_for_each_channel 648836
spdk_for_each_channel_continue 715628
spdk_for_each_thread 557
spdk_get_io_channel 280922
spdk_get_thread 471198049
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 305902184
spdk_interrupt_register 172
spdk_interrupt_register_for_events 172
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 322
spdk_io_channel_from_ctx 23573097
spdk_io_channel_get_io_device 18092426
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 373382491
spdk_io_channel_iter_get_channel 657051
spdk_io_channel_iter_get_ctx 1290014
spdk_io_channel_iter_get_io_device 685717
spdk_io_device_get_name 0
spdk_io_device_register 45307
spdk_io_device_unregister 45302
spdk_poller_get_id 8
spdk_poller_get_name 8
spdk_poller_get_period_ticks 8
spdk_poller_get_state_str 8
spdk_poller_get_stats 8
spdk_poller_pause 229
spdk_poller_register 258
spdk_poller_register_interrupt 2162
spdk_poller_register_named 167051
spdk_poller_resume 224
spdk_poller_unregister 290744
spdk_put_io_channel 280897
spdk_set_thread 7028344
spdk_spin_destroy 86750
spdk_spin_held 7465337
spdk_spin_init 125731
spdk_spin_lock 2212326
spdk_spin_unlock 2212320
spdk_thread_bind 21
spdk_thread_create 7303
spdk_thread_destroy 7132
spdk_thread_exit 7303
spdk_thread_get_app_thread 23264
spdk_thread_get_by_id 550
spdk_thread_get_count 373
spdk_thread_get_cpumask 26298
spdk_thread_get_ctx 35978
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 19019009152
spdk_thread_get_id 78637
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 9527776770
spdk_thread_get_name 1087
spdk_thread_get_next_active_poller 96
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 7973
spdk_thread_has_active_pollers 1809390
spdk_thread_has_pollers 10
spdk_thread_is_app_thread 34721
spdk_thread_is_bound 106
spdk_thread_is_exited 9530174245
spdk_thread_is_idle 53520722
spdk_thread_is_running 3218
spdk_thread_lib_fini 2619
spdk_thread_lib_init 416
spdk_thread_lib_init_ext 2208
spdk_thread_next_poller_expiration 24492
spdk_thread_poll 9718346953
spdk_thread_send_critical_msg 1273
spdk_thread_send_msg 12973013
spdk_thread_set_cpumask 11706
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 86745
sspin_init_internal 125731
sspin_stack_print 84
sspin_stacks_print 28
thread_execute_poller 9716576276
thread_execute_timed_poller 23197295
thread_exit 552266
thread_get_io_channel 3956581
thread_has_unpaused_pollers 53520732
thread_insert_poller 167433
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 654
thread_poll 9718346953
thread_send_msg_notification 12974286
thread_trace 2155
thread_update_stats 9718346953
timed_poller_compare 136010501
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 23202803
timed_pollers_tree_RB_INSERT_COLOR 23202803
timed_pollers_tree_RB_MINMAX 14712
timed_pollers_tree_RB_NEXT 23208717
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 23202703
timed_pollers_tree_RB_REMOVE_COLOR 18957719
wrong_thread 0

Generated by: LCOV version 1.14