LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1091 1309 83.3 %
Date: 2024-07-15 18:10:46 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 763 1132 67.4 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 6
__posix_abort 0
_back_to_orig_thread 555
_call_channel 756472
_call_completion 694527
_finish_unregister 41186
_free_thread 8430
_get_thread 11344813296
_interrupt_wrapper 2869484
_on_thread 691
_thread_exit 17
_thread_lib_init 3148
_thread_remove_pollers 140
_thread_trace 3598
busy_poller_interrupt_init 138
busy_poller_set_interrupt_mode 138
convert_us_to_ticks 290885
interrupt_timerfd_process 7413
io_channel_cmp 11025410
io_channel_tree_RB_FIND 4110678
io_channel_tree_RB_INSERT 126615
io_channel_tree_RB_INSERT_COLOR 126615
io_channel_tree_RB_MINMAX 16940
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 126612
io_channel_tree_RB_REMOVE_COLOR 108724
io_device_cmp 4708056
io_device_free 51498
io_device_get 1141739
io_device_tree_RB_FIND 1141739
io_device_tree_RB_INSERT 51507
io_device_tree_RB_INSERT_COLOR 51501
io_device_tree_RB_MINMAX 3157
io_device_tree_RB_NEXT 27
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
io_device_tree_RB_REMOVE 51501
io_device_tree_RB_REMOVE_COLOR 44047
msg_queue_run_batch 10868404871
period_poller_interrupt_init 15
period_poller_set_interrupt_mode 23
poller_insert_timer 20344136
poller_interrupt_fini 153
poller_register 290885
poller_remove_timer 19
poller_set_interrupt_mode 8
put_io_channel 126714
register_flag_thread 3598
spdk_for_each_channel 694527
spdk_for_each_channel_continue 756472
spdk_for_each_thread 555
spdk_get_io_channel 395696
spdk_get_thread 463076599
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 307490544
spdk_interrupt_register 171
spdk_interrupt_register_for_events 171
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 316
spdk_io_channel_from_ctx 31013669
spdk_io_channel_get_io_device 22489747
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 368099014
spdk_io_channel_iter_get_channel 807694
spdk_io_channel_iter_get_ctx 1383388
spdk_io_channel_iter_get_io_device 703586
spdk_io_device_get_name 0
spdk_io_device_register 51507
spdk_io_device_unregister 51507
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 143
spdk_poller_register 156
spdk_poller_register_interrupt 883
spdk_poller_register_named 290729
spdk_poller_resume 113
spdk_poller_unregister 644474
spdk_put_io_channel 395684
spdk_set_thread 6811129
spdk_spin_destroy 110160
spdk_spin_held 7440904
spdk_spin_init 152726
spdk_spin_lock 2492536
spdk_spin_unlock 2492530
spdk_thread_bind 19
spdk_thread_create 8535
spdk_thread_destroy 8435
spdk_thread_exit 8541
spdk_thread_get_app_thread 35474
spdk_thread_get_by_id 505
spdk_thread_get_count 315
spdk_thread_get_cpumask 33474
spdk_thread_get_ctx 46944
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 21394452169
spdk_thread_get_id 82940
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 58
spdk_thread_get_last_tsc 10715673632
spdk_thread_get_name 1223
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 9456
spdk_thread_has_active_pollers 2064790
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 42203
spdk_thread_is_bound 81
spdk_thread_is_exited 10717088579
spdk_thread_is_idle 197117181
spdk_thread_is_running 3564
spdk_thread_lib_fini 3145
spdk_thread_lib_init 259
spdk_thread_lib_init_ext 2889
spdk_thread_next_poller_expiration 21651
spdk_thread_poll 10868404349
spdk_thread_send_critical_msg 1563
spdk_thread_send_msg 12192322
spdk_thread_set_cpumask 15642
spdk_thread_set_interrupt_mode 33
sspin_fini_internal 110157
sspin_init_internal 152726
sspin_stack_print 54
sspin_stacks_print 18
thread_execute_poller 12536706523
thread_execute_timed_poller 20339257
thread_exit 4183910
thread_get_io_channel 4110678
thread_has_unpaused_pollers 197117187
thread_insert_poller 290971
thread_interrupt_create 17
thread_interrupt_destroy 17
thread_interrupt_msg_process 650
thread_poll 10868404349
thread_send_msg_notification 12193885
thread_trace 2855
thread_update_stats 10868404349
timed_poller_compare 86464557
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 20344136
timed_pollers_tree_RB_INSERT_COLOR 20344136
timed_pollers_tree_RB_MINMAX 17249
timed_pollers_tree_RB_NEXT 20349748
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 20344076
timed_pollers_tree_RB_REMOVE_COLOR 14467571
wrong_thread 0

Generated by: LCOV version 1.14