LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1248 1546 80.7 %
Date: 2024-11-19 18:25:22 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4546 10305 44.1 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 5
__posix_abort 0
_back_to_orig_thread 460
_call_channel 685879
_call_completion 617637
_finish_unregister 33852
_free_thread 8209
_get_thread 8364895474
_interrupt_wrapper 5225895
_on_thread 630
_thread_exit 14
_thread_lib_init 3165
_thread_remove_pollers 111
_thread_trace 3049
busy_poller_interrupt_init 121
busy_poller_set_interrupt_mode 121
convert_us_to_ticks 236415
interrupt_timerfd_process 7124
io_channel_cmp 9681976
io_channel_tree_RB_FIND 3526396
io_channel_tree_RB_INSERT 93039
io_channel_tree_RB_INSERT_COLOR 93039
io_channel_tree_RB_MINMAX 16545
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 93039
io_channel_tree_RB_REMOVE_COLOR 74872
io_device_cmp 3878176
io_device_free 42903
io_device_get 934450
io_device_tree_RB_FIND 934450
io_device_tree_RB_INSERT 42913
io_device_tree_RB_INSERT_COLOR 42903
io_device_tree_RB_MINMAX 3180
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 42903
io_device_tree_RB_REMOVE_COLOR 33922
msg_queue_run_batch 7925739136
period_poller_interrupt_init 12
period_poller_set_interrupt_mode 18
poller_insert_timer 22575461
poller_interrupt_fini 133
poller_register 236415
poller_remove_timer 15
poller_set_interrupt_mode 6
put_io_channel 93091
register_flag_thread 3049
spdk_for_each_channel 617637
spdk_for_each_channel_continue 685879
spdk_for_each_thread 460
spdk_get_io_channel 273890
spdk_get_thread 430839307
spdk_interrupt_mode_enable 10
spdk_interrupt_mode_is_enabled 8442459
spdk_interrupt_register 148
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 588
spdk_io_channel_from_ctx 21864893
spdk_io_channel_get_io_device 16703066
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 367335617
spdk_io_channel_iter_get_channel 701687
spdk_io_channel_iter_get_ctx 1229136
spdk_io_channel_iter_get_io_device 547067
spdk_io_device_get_name 0
spdk_io_device_register 42913
spdk_io_device_unregister 42908
spdk_poller_get_id 6
spdk_poller_get_name 6
spdk_poller_get_period_ticks 6
spdk_poller_get_state_str 6
spdk_poller_get_stats 6
spdk_poller_pause 216
spdk_poller_register 258
spdk_poller_register_interrupt 682
spdk_poller_register_named 236157
spdk_poller_resume 166
spdk_poller_unregister 669933
spdk_put_io_channel 273874
spdk_set_thread 73548584
spdk_spin_destroy 83926
spdk_spin_held 7485626
spdk_spin_init 116379
spdk_spin_lock 2461405
spdk_spin_unlock 2461399
spdk_thread_bind 21
spdk_thread_create 8384
spdk_thread_destroy 8217
spdk_thread_exit 8380
spdk_thread_get_app_thread 24077
spdk_thread_get_by_id 516
spdk_thread_get_count 301
spdk_thread_get_cpumask 28208
spdk_thread_get_ctx 37960
spdk_thread_get_first_active_poller 120
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 120
spdk_thread_get_first_timed_poller 120
spdk_thread_get_from_ctx 15472658507
spdk_thread_get_id 71506
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 46
spdk_thread_get_last_tsc 7739063579
spdk_thread_get_name 526
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 72
spdk_thread_get_stats 8643
spdk_thread_has_active_pollers 1557037
spdk_thread_has_pollers 10
spdk_thread_is_app_thread 33618
spdk_thread_is_bound 90
spdk_thread_is_exited 7750381940
spdk_thread_is_idle 57525466
spdk_thread_is_running 3670
spdk_thread_lib_fini 3160
spdk_thread_lib_init 405
spdk_thread_lib_init_ext 2760
spdk_thread_next_poller_expiration 48071
spdk_thread_poll 7925529357
spdk_thread_send_critical_msg 1144
spdk_thread_send_msg 7914218
spdk_thread_set_cpumask 11608
spdk_thread_set_interrupt_mode 26
sspin_fini_internal 83921
sspin_init_internal 116379
sspin_stack_print 84
sspin_stacks_print 28
thread_execute_poller 10023818069
thread_execute_timed_poller 22568031
thread_exit 501511
thread_get_io_channel 3526396
thread_has_unpaused_pollers 57525076
thread_insert_poller 236536
thread_interrupt_create 14
thread_interrupt_destroy 14
thread_interrupt_msg_process 510
thread_poll 7925519911
thread_send_msg_notification 7915362
thread_trace 2707
thread_update_stats 7925538433
timed_poller_compare 140623751
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 22575461
timed_pollers_tree_RB_INSERT_COLOR 22575461
timed_pollers_tree_RB_MINMAX 16827
timed_pollers_tree_RB_NEXT 22583200
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 22575360
timed_pollers_tree_RB_REMOVE_COLOR 18086997
wrong_thread 0

Generated by: LCOV version 1.15