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-20 09:27:57 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4185 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 558
_call_channel 685211
_call_completion 601306
_finish_unregister 34522
_free_thread 7357
_get_thread 8773079428
_interrupt_wrapper 251362000
_on_thread 768
_thread_exit 247
_thread_lib_init 2680
_thread_remove_pollers 1230
_thread_trace 2975
busy_poller_interrupt_init 1038
busy_poller_set_interrupt_mode 1038
convert_us_to_ticks 151636
interrupt_timerfd_process 97555
io_channel_cmp 11289870
io_channel_tree_RB_FIND 4272287
io_channel_tree_RB_INSERT 96156
io_channel_tree_RB_INSERT_COLOR 96156
io_channel_tree_RB_MINMAX 14820
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 96148
io_channel_tree_RB_REMOVE_COLOR 81704
io_device_cmp 3888003
io_device_free 43871
io_device_get 950922
io_device_tree_RB_FIND 950922
io_device_tree_RB_INSERT 43883
io_device_tree_RB_INSERT_COLOR 43875
io_device_tree_RB_MINMAX 2692
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 43875
io_device_tree_RB_REMOVE_COLOR 36810
msg_queue_run_batch 8116151944
period_poller_interrupt_init 242
period_poller_set_interrupt_mode 250
poller_insert_timer 25164622
poller_interrupt_fini 1280
poller_register 151634
poller_remove_timer 246
poller_set_interrupt_mode 8
put_io_channel 96217
register_flag_thread 2975
spdk_for_each_channel 601306
spdk_for_each_channel_continue 685211
spdk_for_each_thread 558
spdk_get_io_channel 305723
spdk_get_thread 651582096
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 132416783
spdk_interrupt_register 1310
spdk_interrupt_register_ext 1509
spdk_interrupt_register_for_events 1508
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3331
spdk_io_channel_from_ctx 16742115
spdk_io_channel_get_io_device 12024963
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 306787972
spdk_io_channel_iter_get_channel 690186
spdk_io_channel_iter_get_ctx 1306360
spdk_io_channel_iter_get_io_device 837577
spdk_io_device_get_name 0
spdk_io_device_register 43883
spdk_io_device_unregister 43879
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 2546
spdk_poller_register_named 151391
spdk_poller_resume 205
spdk_poller_unregister 336501
spdk_put_io_channel 305705
spdk_set_thread 506107809
spdk_spin_destroy 89724
spdk_spin_held 3314361
spdk_spin_init 130681
spdk_spin_lock 1886865
spdk_spin_unlock 1886856
spdk_thread_bind 20
spdk_thread_create 7491
spdk_thread_destroy 7365
spdk_thread_exit 7506
spdk_thread_get_app_thread 22812
spdk_thread_get_by_id 698
spdk_thread_get_count 408
spdk_thread_get_cpumask 28440
spdk_thread_get_ctx 36681
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 15683981688
spdk_thread_get_id 78385
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7858227317
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 8360
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3159768
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36171
spdk_thread_is_bound 131
spdk_thread_is_exited 7881461609
spdk_thread_is_idle 59386531
spdk_thread_is_running 3187
spdk_thread_lib_fini 2676
spdk_thread_lib_init 356
spdk_thread_lib_init_ext 2324
spdk_thread_next_poller_expiration 24247
spdk_thread_poll 8114704933
spdk_thread_send_critical_msg 1323
spdk_thread_send_msg 11969345
spdk_thread_set_cpumask 11608
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 89720
sspin_init_internal 130681
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 7030773191
thread_execute_timed_poller 25156638
thread_exit 4170318
thread_get_io_channel 4272287
thread_has_unpaused_pollers 59384990
thread_insert_poller 151760
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 1046538
thread_poll 8114798326
thread_send_msg_notification 11970667
thread_trace 2274
thread_update_stats 8114562595
timed_poller_compare 187999525
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25164678
timed_pollers_tree_RB_INSERT_COLOR 25164678
timed_pollers_tree_RB_MINMAX 16440
timed_pollers_tree_RB_NEXT 25173538
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25164597
timed_pollers_tree_RB_REMOVE_COLOR 22117059
wrong_thread 0

Generated by: LCOV version 1.14