LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1205 1505 80.1 %
Date: 2024-12-09 11:18:52 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4161 10364 40.1 %

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 667638
_call_completion 581281
_finish_unregister 34098
_free_thread 7082
_get_thread 8289346399
_interrupt_wrapper 256117188
_on_thread 703
_thread_exit 248
_thread_lib_init 2579
_thread_remove_pollers 1184
_thread_trace 2839
busy_poller_interrupt_init 1025
busy_poller_set_interrupt_mode 1025
convert_us_to_ticks 159177
interrupt_timerfd_process 101354
io_channel_cmp 10925337
io_channel_tree_RB_FIND 4139276
io_channel_tree_RB_INSERT 94849
io_channel_tree_RB_INSERT_COLOR 94849
io_channel_tree_RB_MINMAX 14273
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 94841
io_channel_tree_RB_REMOVE_COLOR 80049
io_device_cmp 3765247
io_device_free 42989
io_device_get 924521
io_device_tree_RB_FIND 924521
io_device_tree_RB_INSERT 43001
io_device_tree_RB_INSERT_COLOR 42993
io_device_tree_RB_MINMAX 2587
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 42993
io_device_tree_RB_REMOVE_COLOR 35238
msg_queue_run_batch 7666345295
period_poller_interrupt_init 239
period_poller_set_interrupt_mode 247
poller_insert_timer 25491507
poller_interrupt_fini 1264
poller_register 159177
poller_remove_timer 243
poller_set_interrupt_mode 8
put_io_channel 94915
register_flag_thread 2839
spdk_for_each_channel 581284
spdk_for_each_channel_continue 667638
spdk_for_each_thread 514
spdk_get_io_channel 300227
spdk_get_thread 616589082
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 147916514
spdk_interrupt_register 1294
spdk_interrupt_register_ext 1493
spdk_interrupt_register_for_events 1492
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3350
spdk_io_channel_from_ctx 18853993
spdk_io_channel_get_io_device 13660130
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 293393729
spdk_io_channel_iter_get_channel 684877
spdk_io_channel_iter_get_ctx 1267228
spdk_io_channel_iter_get_io_device 830494
spdk_io_device_get_name 0
spdk_io_device_register 43001
spdk_io_device_unregister 42997
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 207
spdk_poller_register 243
spdk_poller_register_interrupt 1727
spdk_poller_register_named 158933
spdk_poller_resume 203
spdk_poller_unregister 325290
spdk_put_io_channel 300205
spdk_set_thread 515392078
spdk_spin_destroy 88492
spdk_spin_held 1915630
spdk_spin_init 127476
spdk_spin_lock 1842224
spdk_spin_unlock 1842216
spdk_thread_bind 4
spdk_thread_create 7220
spdk_thread_destroy 7089
spdk_thread_exit 7230
spdk_thread_get_app_thread 22511
spdk_thread_get_by_id 644
spdk_thread_get_count 359
spdk_thread_get_cpumask 27996
spdk_thread_get_ctx 36310
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 14827846025
spdk_thread_get_id 78832
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7408352340
spdk_thread_get_name 1128
spdk_thread_get_next_active_poller 48
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 8072
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3450313
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 34438
spdk_thread_is_bound 125
spdk_thread_is_exited 7454641564
spdk_thread_is_idle 56210678
spdk_thread_is_running 3079
spdk_thread_lib_fini 2571
spdk_thread_lib_init 356
spdk_thread_lib_init_ext 2223
spdk_thread_next_poller_expiration 23590
spdk_thread_poll 7665571977
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1274
spdk_thread_send_msg 13275641
spdk_thread_set_cpumask 11700
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 88488
sspin_init_internal 127476
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5400059912
thread_execute_timed_poller 25483626
thread_exit 3475445
thread_get_io_channel 4139276
thread_has_unpaused_pollers 56206942
thread_insert_poller 159299
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 713231
thread_poll 7665712937
thread_run_pp_handlers 0
thread_send_msg_notification 13276915
thread_trace 2173
thread_update_stats 7665327384
timed_poller_compare 181671149
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25491507
timed_pollers_tree_RB_INSERT_COLOR 25491507
timed_pollers_tree_RB_MINMAX 15840
timed_pollers_tree_RB_NEXT 25500179
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25491426
timed_pollers_tree_RB_REMOVE_COLOR 22282042
wrong_thread 0

Generated by: LCOV version 1.15