LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1085 1305 83.1 %
Date: 2024-07-16 00:47:24 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 774 1128 68.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 5
__posix_abort 0
_back_to_orig_thread 503
_call_channel 691535
_call_completion 640227
_finish_unregister 42312
_free_thread 7893
_get_thread 11149385767
_interrupt_wrapper 3869546
_on_thread 647
_thread_exit 17
_thread_lib_init 3054
_thread_remove_pollers 141
_thread_trace 2968
busy_poller_interrupt_init 139
busy_poller_set_interrupt_mode 139
convert_us_to_ticks 277119
interrupt_timerfd_process 8710
io_channel_cmp 10897210
io_channel_tree_RB_FIND 3859261
io_channel_tree_RB_INSERT 107343
io_channel_tree_RB_INSERT_COLOR 107343
io_channel_tree_RB_MINMAX 15920
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 107338
io_channel_tree_RB_REMOVE_COLOR 85669
io_device_cmp 4245374
io_device_free 52145
io_device_get 994465
io_device_tree_RB_FIND 994465
io_device_tree_RB_INSERT 52160
io_device_tree_RB_INSERT_COLOR 52150
io_device_tree_RB_MINMAX 3069
io_device_tree_RB_NEXT 45
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
io_device_tree_RB_REMOVE 52150
io_device_tree_RB_REMOVE_COLOR 43341
msg_queue_run_batch 10721305018
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 21833053
poller_interrupt_fini 154
poller_register 277119
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 107427
register_flag_thread 2968
spdk_for_each_channel 640227
spdk_for_each_channel_continue 691535
spdk_for_each_thread 503
spdk_get_io_channel 302068
spdk_get_thread 421568519
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 305577424
spdk_interrupt_register 172
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 322
spdk_io_channel_from_ctx 35932525
spdk_io_channel_get_io_device 27489637
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 349968588
spdk_io_channel_iter_get_channel 739764
spdk_io_channel_iter_get_ctx 1243300
spdk_io_channel_iter_get_io_device 692316
spdk_io_device_get_name 0
spdk_io_device_register 52160
spdk_io_device_unregister 52155
spdk_poller_get_id 8
spdk_poller_get_name 8
spdk_poller_get_period_ticks 8
spdk_poller_get_state_str 8
spdk_poller_get_stats 8
spdk_poller_pause 219
spdk_poller_register 258
spdk_poller_register_interrupt 867
spdk_poller_register_named 276861
spdk_poller_resume 169
spdk_poller_unregister 641543
spdk_put_io_channel 302048
spdk_set_thread 66074735
spdk_spin_destroy 100616
spdk_spin_held 6148826
spdk_spin_init 139517
spdk_spin_lock 2209469
spdk_spin_unlock 2209463
spdk_thread_bind 21
spdk_thread_create 8068
spdk_thread_destroy 7902
spdk_thread_exit 8068
spdk_thread_get_app_thread 36511
spdk_thread_get_by_id 520
spdk_thread_get_count 333
spdk_thread_get_cpumask 23598
spdk_thread_get_ctx 28955
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 21031746767
spdk_thread_get_id 72309
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 10535301563
spdk_thread_get_name 703
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 8390
spdk_thread_has_active_pollers 2047097
spdk_thread_has_pollers 10
spdk_thread_is_app_thread 38827
spdk_thread_is_bound 90
spdk_thread_is_exited 10533621438
spdk_thread_is_idle 88856624
spdk_thread_is_running 3607
spdk_thread_lib_fini 3049
spdk_thread_lib_init 409
spdk_thread_lib_init_ext 2645
spdk_thread_next_poller_expiration 22253
spdk_thread_poll 10721303510
spdk_thread_send_critical_msg 1389
spdk_thread_send_msg 5525946
spdk_thread_set_cpumask 7422
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 100611
sspin_init_internal 139517
sspin_stack_print 84
sspin_stacks_print 28
thread_execute_poller 11797628563
thread_execute_timed_poller 21828330
thread_exit 548332
thread_get_io_channel 3859261
thread_has_unpaused_pollers 88856634
thread_insert_poller 277243
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 631
thread_poll 10721303510
thread_send_msg_notification 5527335
thread_trace 2593
thread_update_stats 10721303510
timed_poller_compare 120597616
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 21833053
timed_pollers_tree_RB_INSERT_COLOR 21833053
timed_pollers_tree_RB_MINMAX 16242
timed_pollers_tree_RB_NEXT 21838117
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 21832953
timed_pollers_tree_RB_REMOVE_COLOR 16959577
wrong_thread 0

Generated by: LCOV version 1.14