LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1091 1309 83.3 %
Date: 2024-07-12 12:12:18 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 761 1132 67.2 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 537
_call_channel 746979
_call_completion 677083
_finish_unregister 41642
_free_thread 8434
_get_thread 11504804497
_interrupt_wrapper 3720812
_on_thread 677
_thread_exit 17
_thread_lib_init 3220
_thread_remove_pollers 140
_thread_trace 3643
busy_poller_interrupt_init 138
busy_poller_set_interrupt_mode 138
convert_us_to_ticks 252429
interrupt_timerfd_process 8265
io_channel_cmp 10554586
io_channel_tree_RB_FIND 3970691
io_channel_tree_RB_INSERT 126444
io_channel_tree_RB_INSERT_COLOR 126444
io_channel_tree_RB_MINMAX 16975
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 126440
io_channel_tree_RB_REMOVE_COLOR 107863
io_device_cmp 4615481
io_device_free 52168
io_device_get 1121893
io_device_tree_RB_FIND 1121893
io_device_tree_RB_INSERT 52180
io_device_tree_RB_INSERT_COLOR 52172
io_device_tree_RB_MINMAX 3232
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 52172
io_device_tree_RB_REMOVE_COLOR 43986
msg_queue_run_batch 11008197360
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 20202411
poller_interrupt_fini 153
poller_register 252429
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 126529
register_flag_thread 3643
spdk_for_each_channel 677083
spdk_for_each_channel_continue 746979
spdk_for_each_thread 537
spdk_get_io_channel 392622
spdk_get_thread 483032328
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 252272614
spdk_interrupt_register 171
spdk_interrupt_register_for_events 171
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 316
spdk_io_channel_from_ctx 27748320
spdk_io_channel_get_io_device 22103935
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 376033053
spdk_io_channel_iter_get_channel 753657
spdk_io_channel_iter_get_ctx 1353931
spdk_io_channel_iter_get_io_device 636372
spdk_io_device_get_name 0
spdk_io_device_register 52180
spdk_io_device_unregister 52176
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 181
spdk_poller_register 208
spdk_poller_register_interrupt 804
spdk_poller_register_named 252221
spdk_poller_resume 141
spdk_poller_unregister 603316
spdk_put_io_channel 392606
spdk_set_thread 8810651
spdk_spin_destroy 107872
spdk_spin_held 8287393
spdk_spin_init 150483
spdk_spin_lock 3675268
spdk_spin_unlock 3675260
spdk_thread_bind 20
spdk_thread_create 8574
spdk_thread_destroy 8441
spdk_thread_exit 8577
spdk_thread_get_app_thread 35090
spdk_thread_get_by_id 495
spdk_thread_get_count 296
spdk_thread_get_cpumask 32940
spdk_thread_get_ctx 46251
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 21644531914
spdk_thread_get_id 86441
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 10843174412
spdk_thread_get_name 1227
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 9451
spdk_thread_has_active_pollers 1805961
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 41895
spdk_thread_is_bound 91
spdk_thread_is_exited 10842072864
spdk_thread_is_idle 168377212
spdk_thread_is_running 3552
spdk_thread_lib_fini 3216
spdk_thread_lib_init 323
spdk_thread_lib_init_ext 2897
spdk_thread_next_poller_expiration 23163
spdk_thread_poll 11008196841
spdk_thread_send_critical_msg 1526
spdk_thread_send_msg 12450871
spdk_thread_set_cpumask 15404
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 107868
sspin_init_internal 150483
sspin_stack_print 72
sspin_stacks_print 24
thread_execute_poller 12563491883
thread_execute_timed_poller 20197161
thread_exit 3231586
thread_get_io_channel 3970691
thread_has_unpaused_pollers 168377220
thread_insert_poller 252534
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 647
thread_poll 11008196841
thread_send_msg_notification 12452397
thread_trace 2853
thread_update_stats 11008196841
timed_poller_compare 91306972
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 20202411
timed_pollers_tree_RB_INSERT_COLOR 20202411
timed_pollers_tree_RB_MINMAX 17290
timed_pollers_tree_RB_NEXT 20208423
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 20202331
timed_pollers_tree_RB_REMOVE_COLOR 14536030
wrong_thread 0

Generated by: LCOV version 1.14