LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1204 1483 81.2 %
Date: 2024-11-15 15:13:27 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4184 10270 40.7 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 557
_call_channel 709021
_call_completion 623372
_finish_unregister 34469
_free_thread 7342
_get_thread 8852239904
_interrupt_wrapper 247151176
_on_thread 768
_thread_exit 246
_thread_lib_init 2675
_thread_remove_pollers 1693
_thread_trace 2974
busy_poller_interrupt_init 1681
busy_poller_set_interrupt_mode 1681
convert_us_to_ticks 161612
interrupt_timerfd_process 96385
io_channel_cmp 11370497
io_channel_tree_RB_FIND 4317440
io_channel_tree_RB_INSERT 96755
io_channel_tree_RB_INSERT_COLOR 96755
io_channel_tree_RB_MINMAX 14793
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 96747
io_channel_tree_RB_REMOVE_COLOR 82357
io_device_cmp 3934352
io_device_free 43798
io_device_get 974280
io_device_tree_RB_FIND 974280
io_device_tree_RB_INSERT 43810
io_device_tree_RB_INSERT_COLOR 43802
io_device_tree_RB_MINMAX 2687
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 43802
io_device_tree_RB_REMOVE_COLOR 36745
msg_queue_run_batch 8121315540
period_poller_interrupt_init 244
period_poller_set_interrupt_mode 252
poller_insert_timer 27794035
poller_interrupt_fini 1925
poller_register 161610
poller_remove_timer 248
poller_set_interrupt_mode 8
put_io_channel 96817
register_flag_thread 2974
spdk_for_each_channel 623373
spdk_for_each_channel_continue 709021
spdk_for_each_thread 557
spdk_get_io_channel 307088
spdk_get_thread 727134596
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 174861164
spdk_interrupt_register 1955
spdk_interrupt_register_ext 2154
spdk_interrupt_register_for_events 2153
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3994
spdk_io_channel_from_ctx 19355429
spdk_io_channel_get_io_device 14556693
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 362128183
spdk_io_channel_iter_get_channel 722362
spdk_io_channel_iter_get_ctx 1351994
spdk_io_channel_iter_get_io_device 813313
spdk_io_device_get_name 0
spdk_io_device_register 43810
spdk_io_device_unregister 43806
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 209
spdk_poller_register 243
spdk_poller_register_interrupt 2545
spdk_poller_register_named 161368
spdk_poller_resume 205
spdk_poller_unregister 383766
spdk_put_io_channel 307071
spdk_set_thread 497132328
spdk_spin_destroy 89762
spdk_spin_held 1840609
spdk_spin_init 130701
spdk_spin_lock 2200222
spdk_spin_unlock 2200212
spdk_thread_bind 20
spdk_thread_create 7476
spdk_thread_destroy 7349
spdk_thread_exit 7490
spdk_thread_get_app_thread 22131
spdk_thread_get_by_id 687
spdk_thread_get_count 400
spdk_thread_get_cpumask 28724
spdk_thread_get_ctx 37285
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 15632352897
spdk_thread_get_id 79396
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7850067298
spdk_thread_get_name 1219
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 8403
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3250665
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36122
spdk_thread_is_bound 130
spdk_thread_is_exited 7856073111
spdk_thread_is_idle 55723848
spdk_thread_is_running 3190
spdk_thread_lib_fini 2671
spdk_thread_lib_init 352
spdk_thread_lib_init_ext 2323
spdk_thread_next_poller_expiration 24082
spdk_thread_poll 8120272041
spdk_thread_send_critical_msg 1322
spdk_thread_send_msg 12778644
spdk_thread_set_cpumask 11916
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 89758
sspin_init_internal 130701
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 7190378406
thread_execute_timed_poller 27785828
thread_exit 3030180
thread_get_io_channel 4317440
thread_has_unpaused_pollers 55724892
thread_insert_poller 161737
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 772252
thread_poll 8121145313
thread_send_msg_notification 12779964
thread_trace 2273
thread_update_stats 8120835246
timed_poller_compare 223798956
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 27794035
timed_pollers_tree_RB_INSERT_COLOR 27794035
timed_pollers_tree_RB_MINMAX 16877
timed_pollers_tree_RB_NEXT 27803414
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 27793953
timed_pollers_tree_RB_REMOVE_COLOR 24972089
wrong_thread 0

Generated by: LCOV version 1.15