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 14:21:55 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4130 10364 39.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 562
_call_channel 662798
_call_completion 576076
_finish_unregister 35735
_free_thread 7482
_get_thread 8924085729
_interrupt_wrapper 258196496
_on_thread 773
_thread_exit 246
_thread_lib_init 2715
_thread_remove_pollers 1382
_thread_trace 3006
busy_poller_interrupt_init 1263
busy_poller_set_interrupt_mode 1263
convert_us_to_ticks 159712
interrupt_timerfd_process 92276
io_channel_cmp 11345988
io_channel_tree_RB_FIND 4232793
io_channel_tree_RB_INSERT 97779
io_channel_tree_RB_INSERT_COLOR 97779
io_channel_tree_RB_MINMAX 15069
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 97771
io_channel_tree_RB_REMOVE_COLOR 82379
io_device_cmp 3718584
io_device_free 45236
io_device_get 930860
io_device_tree_RB_FIND 930860
io_device_tree_RB_INSERT 45248
io_device_tree_RB_INSERT_COLOR 45240
io_device_tree_RB_MINMAX 2723
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 45240
io_device_tree_RB_REMOVE_COLOR 37284
msg_queue_run_batch 8148245979
period_poller_interrupt_init 237
period_poller_set_interrupt_mode 245
poller_insert_timer 25482591
poller_interrupt_fini 1500
poller_register 159705
poller_remove_timer 241
poller_set_interrupt_mode 8
put_io_channel 97836
register_flag_thread 3006
spdk_for_each_channel 576083
spdk_for_each_channel_continue 662798
spdk_for_each_thread 562
spdk_get_io_channel 309520
spdk_get_thread 769416977
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 165926813
spdk_interrupt_register 1530
spdk_interrupt_register_ext 1729
spdk_interrupt_register_for_events 1728
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3572
spdk_io_channel_from_ctx 20174122
spdk_io_channel_get_io_device 14722272
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 362935102
spdk_io_channel_iter_get_channel 671665
spdk_io_channel_iter_get_ctx 1254852
spdk_io_channel_iter_get_io_device 811441
spdk_io_device_get_name 0
spdk_io_device_register 45248
spdk_io_device_unregister 45244
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 1770
spdk_poller_register_named 159464
spdk_poller_resume 205
spdk_poller_unregister 326574
spdk_put_io_channel 309484
spdk_set_thread 519443333
spdk_spin_destroy 90980
spdk_spin_held 1877107
spdk_spin_init 132549
spdk_spin_lock 2409822
spdk_spin_unlock 2409811
spdk_thread_bind 20
spdk_thread_create 7620
spdk_thread_destroy 7487
spdk_thread_exit 7631
spdk_thread_get_app_thread 22148
spdk_thread_get_by_id 670
spdk_thread_get_count 408
spdk_thread_get_cpumask 29223
spdk_thread_get_ctx 37715
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 15698889048
spdk_thread_get_id 78749
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7916762978
spdk_thread_get_name 1219
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 8461
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3282893
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36577
spdk_thread_is_bound 131
spdk_thread_is_exited 7891699250
spdk_thread_is_idle 62452873
spdk_thread_is_running 3224
spdk_thread_lib_fini 2707
spdk_thread_lib_init 372
spdk_thread_lib_init_ext 2343
spdk_thread_next_poller_expiration 24273
spdk_thread_poll 8146921648
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1332
spdk_thread_send_msg 14595861
spdk_thread_set_cpumask 12012
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 90976
sspin_init_internal 132549
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5999295543
thread_execute_timed_poller 25474363
thread_exit 3380263
thread_get_io_channel 4232793
thread_has_unpaused_pollers 62448466
thread_insert_poller 159837
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 658857
thread_poll 8147941219
thread_run_pp_handlers 0
thread_send_msg_notification 14597192
thread_trace 2293
thread_update_stats 8147365000
timed_poller_compare 201417491
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25482592
timed_pollers_tree_RB_INSERT_COLOR 25482592
timed_pollers_tree_RB_MINMAX 16839
timed_pollers_tree_RB_NEXT 25491822
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25482510
timed_pollers_tree_RB_REMOVE_COLOR 22667450
wrong_thread 0

Generated by: LCOV version 1.15