LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1174 1453 80.8 %
Date: 2024-11-21 04:06:59 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3748 10254 36.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 494
_call_channel 790925
_call_completion 717993
_finish_unregister 34231
_free_thread 8665
_get_thread 9378265358
_interrupt_wrapper 2984348
_on_thread 696
_thread_exit 17
_thread_lib_init 3298
_thread_remove_pollers 145
_thread_trace 3278
busy_poller_interrupt_init 154
busy_poller_set_interrupt_mode 154
convert_us_to_ticks 284604
interrupt_timerfd_process 8396
io_channel_cmp 11452044
io_channel_tree_RB_FIND 4234566
io_channel_tree_RB_INSERT 108674
io_channel_tree_RB_INSERT_COLOR 108674
io_channel_tree_RB_MINMAX 17406
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 108674
io_channel_tree_RB_REMOVE_COLOR 93214
io_device_cmp 4624663
io_device_free 43915
io_device_get 1102042
io_device_tree_RB_FIND 1102042
io_device_tree_RB_INSERT 43921
io_device_tree_RB_INSERT_COLOR 43915
io_device_tree_RB_MINMAX 3307
io_device_tree_RB_NEXT 27
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
io_device_tree_RB_REMOVE 43915
io_device_tree_RB_REMOVE_COLOR 36336
msg_queue_run_batch 8859437275
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 24385218
poller_interrupt_fini 169
poller_register 284604
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 108732
register_flag_thread 3278
spdk_for_each_channel 717993
spdk_for_each_channel_continue 790925
spdk_for_each_thread 494
spdk_get_io_channel 340122
spdk_get_thread 508643328
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 10222847
spdk_interrupt_register 187
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 583
spdk_io_channel_from_ctx 27888542
spdk_io_channel_get_io_device 21121598
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 403132995
spdk_io_channel_iter_get_channel 844067
spdk_io_channel_iter_get_ctx 1444169
spdk_io_channel_iter_get_io_device 691599
spdk_io_device_get_name 0
spdk_io_device_register 43921
spdk_io_device_unregister 43918
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 140
spdk_poller_register 157
spdk_poller_register_interrupt 809
spdk_poller_register_named 284446
spdk_poller_resume 110
spdk_poller_unregister 696429
spdk_put_io_channel 340111
spdk_set_thread 67621991
spdk_spin_destroy 94247
spdk_spin_held 6238717
spdk_spin_init 131360
spdk_spin_lock 2678979
spdk_spin_unlock 2678971
spdk_thread_bind 19
spdk_thread_create 8770
spdk_thread_destroy 8670
spdk_thread_exit 8774
spdk_thread_get_app_thread 25171
spdk_thread_get_by_id 486
spdk_thread_get_count 306
spdk_thread_get_cpumask 33909
spdk_thread_get_ctx 47637
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 17334854765
spdk_thread_get_id 79521
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 8708974617
spdk_thread_get_name 543
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 9260
spdk_thread_has_active_pollers 2088930
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 37366
spdk_thread_is_bound 74
spdk_thread_is_exited 8687008321
spdk_thread_is_idle 69349191
spdk_thread_is_running 3868
spdk_thread_lib_fini 3295
spdk_thread_lib_init 256
spdk_thread_lib_init_ext 3042
spdk_thread_next_poller_expiration 48903
spdk_thread_poll 8859169472
spdk_thread_send_critical_msg 1283
spdk_thread_send_msg 9593888
spdk_thread_set_cpumask 15710
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 94244
sspin_init_internal 131360
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 11764719373
thread_execute_timed_poller 24377452
thread_exit 3035777
thread_get_io_channel 4234566
thread_has_unpaused_pollers 69348552
thread_insert_poller 284687
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 633
thread_poll 8859177083
thread_send_msg_notification 9595172
thread_trace 3008
thread_update_stats 8858882730
timed_poller_compare 149918257
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 24385219
timed_pollers_tree_RB_INSERT_COLOR 24385218
timed_pollers_tree_RB_MINMAX 17721
timed_pollers_tree_RB_NEXT 24393491
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 24385158
timed_pollers_tree_RB_REMOVE_COLOR 19455850
wrong_thread 0

Generated by: LCOV version 1.15