LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1202 1483 81.1 %
Date: 2024-11-15 11:17:58 Functions: 141 163 86.5 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4181 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 514
_call_channel 671021
_call_completion 577984
_finish_unregister 33504
_free_thread 6969
_get_thread 8204217557
_interrupt_wrapper 256706982
_on_thread 629
_thread_exit 241
_thread_lib_init 2570
_thread_remove_pollers 1358
_thread_trace 2837
busy_poller_interrupt_init 1223
busy_poller_set_interrupt_mode 1223
convert_us_to_ticks 153640
interrupt_timerfd_process 85159
io_channel_cmp 10969761
io_channel_tree_RB_FIND 4159383
io_channel_tree_RB_INSERT 95109
io_channel_tree_RB_INSERT_COLOR 95109
io_channel_tree_RB_MINMAX 14047
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 95101
io_channel_tree_RB_REMOVE_COLOR 81093
io_device_cmp 3707703
io_device_free 42533
io_device_get 922784
io_device_tree_RB_FIND 922784
io_device_tree_RB_INSERT 42545
io_device_tree_RB_INSERT_COLOR 42537
io_device_tree_RB_MINMAX 2582
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 42537
io_device_tree_RB_REMOVE_COLOR 35631
msg_queue_run_batch 7529581815
period_poller_interrupt_init 233
period_poller_set_interrupt_mode 241
poller_insert_timer 23972400
poller_interrupt_fini 1456
poller_register 153640
poller_remove_timer 237
poller_set_interrupt_mode 8
put_io_channel 95172
register_flag_thread 2837
spdk_for_each_channel 577985
spdk_for_each_channel_continue 671021
spdk_for_each_thread 514
spdk_get_io_channel 302243
spdk_get_thread 671180829
spdk_interrupt_mode_enable 40
spdk_interrupt_mode_is_enabled 140311988
spdk_interrupt_register 1484
spdk_interrupt_register_ext 1682
spdk_interrupt_register_for_events 1682
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3520
spdk_io_channel_from_ctx 17444837
spdk_io_channel_get_io_device 13519761
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 323821904
spdk_io_channel_iter_get_channel 682105
spdk_io_channel_iter_get_ctx 1269853
spdk_io_channel_iter_get_io_device 813993
spdk_io_device_get_name 0
spdk_io_device_register 42545
spdk_io_device_unregister 42541
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 2433
spdk_poller_register_named 153399
spdk_poller_resume 205
spdk_poller_unregister 327757
spdk_put_io_channel 302224
spdk_set_thread 516828392
spdk_spin_destroy 88332
spdk_spin_held 3278184
spdk_spin_init 127784
spdk_spin_lock 1928921
spdk_spin_unlock 1928911
spdk_thread_bind 20
spdk_thread_create 7103
spdk_thread_destroy 6977
spdk_thread_exit 7119
spdk_thread_get_app_thread 21869
spdk_thread_get_by_id 399
spdk_thread_get_count 385
spdk_thread_get_cpumask 27424
spdk_thread_get_ctx 36500
spdk_thread_get_first_active_poller 24
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 24
spdk_thread_get_first_timed_poller 24
spdk_thread_get_from_ctx 14528947334
spdk_thread_get_id 77968
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 264
spdk_thread_get_last_tsc 7279432116
spdk_thread_get_name 854
spdk_thread_get_next_active_poller 0
spdk_thread_get_next_io_channel 0
spdk_thread_get_next_paused_poller 0
spdk_thread_get_next_timed_poller 24
spdk_thread_get_stats 6711
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3820308
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 34654
spdk_thread_is_bound 72
spdk_thread_is_exited 7305471183
spdk_thread_is_idle 56111336
spdk_thread_is_running 3034
spdk_thread_lib_fini 2566
spdk_thread_lib_init 351
spdk_thread_lib_init_ext 2219
spdk_thread_next_poller_expiration 23111
spdk_thread_poll 7530330641
spdk_thread_send_critical_msg 1264
spdk_thread_send_msg 10878270
spdk_thread_set_cpumask 11968
spdk_thread_set_interrupt_mode 136
sspin_fini_internal 88328
sspin_init_internal 127784
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6691281881
thread_execute_timed_poller 23964292
thread_exit 3642558
thread_get_io_channel 4159383
thread_has_unpaused_pollers 56102286
thread_insert_poller 153765
thread_interrupt_create 120
thread_interrupt_destroy 120
thread_interrupt_msg_process 1063912
thread_poll 7530381800
thread_send_msg_notification 10879534
thread_trace 2169
thread_update_stats 7530226903
timed_poller_compare 187825705
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 23972400
timed_pollers_tree_RB_INSERT_COLOR 23972400
timed_pollers_tree_RB_MINMAX 15688
timed_pollers_tree_RB_NEXT 23981323
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 23972319
timed_pollers_tree_RB_REMOVE_COLOR 21140154
wrong_thread 0

Generated by: LCOV version 1.15