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-15 12:23:05 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4193 10270 40.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 560
_call_channel 661917
_call_completion 574580
_finish_unregister 34562
_free_thread 7382
_get_thread 9249579311
_interrupt_wrapper 269426044
_on_thread 771
_thread_exit 243
_thread_lib_init 2681
_thread_remove_pollers 1237
_thread_trace 2980
busy_poller_interrupt_init 1067
busy_poller_set_interrupt_mode 1067
convert_us_to_ticks 160612
interrupt_timerfd_process 87253
io_channel_cmp 11290123
io_channel_tree_RB_FIND 4233082
io_channel_tree_RB_INSERT 96368
io_channel_tree_RB_INSERT_COLOR 96368
io_channel_tree_RB_MINMAX 14871
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 96360
io_channel_tree_RB_REMOVE_COLOR 81859
io_device_cmp 3709600
io_device_free 43915
io_device_get 924950
io_device_tree_RB_FIND 924950
io_device_tree_RB_INSERT 43927
io_device_tree_RB_INSERT_COLOR 43919
io_device_tree_RB_MINMAX 2693
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 43919
io_device_tree_RB_REMOVE_COLOR 36857
msg_queue_run_batch 8545509869
period_poller_interrupt_init 235
period_poller_set_interrupt_mode 243
poller_insert_timer 27665966
poller_interrupt_fini 1302
poller_register 160609
poller_remove_timer 239
poller_set_interrupt_mode 8
put_io_channel 96427
register_flag_thread 2980
spdk_for_each_channel 574580
spdk_for_each_channel_continue 661917
spdk_for_each_thread 560
spdk_get_io_channel 306434
spdk_get_thread 700037119
spdk_interrupt_mode_enable 40
spdk_interrupt_mode_is_enabled 159224440
spdk_interrupt_register 1330
spdk_interrupt_register_ext 1528
spdk_interrupt_register_for_events 1528
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3371
spdk_io_channel_from_ctx 18562105
spdk_io_channel_get_io_device 13710831
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 338695080
spdk_io_channel_iter_get_channel 675226
spdk_io_channel_iter_get_ctx 1256034
spdk_io_channel_iter_get_io_device 779184
spdk_io_device_get_name 0
spdk_io_device_register 43927
spdk_io_device_unregister 43923
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 2545
spdk_poller_register_named 160369
spdk_poller_resume 205
spdk_poller_unregister 346828
spdk_put_io_channel 306412
spdk_set_thread 541866068
spdk_spin_destroy 89847
spdk_spin_held 1169839
spdk_spin_init 130894
spdk_spin_lock 1840624
spdk_spin_unlock 1840614
spdk_thread_bind 20
spdk_thread_create 7516
spdk_thread_destroy 7387
spdk_thread_exit 7530
spdk_thread_get_app_thread 22271
spdk_thread_get_by_id 664
spdk_thread_get_count 400
spdk_thread_get_cpumask 28303
spdk_thread_get_ctx 36253
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 16560259148
spdk_thread_get_id 78828
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 264
spdk_thread_get_last_tsc 8295735000
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 8328
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3754034
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36248
spdk_thread_is_bound 134
spdk_thread_is_exited 8322957174
spdk_thread_is_idle 58918381
spdk_thread_is_running 3199
spdk_thread_lib_fini 2677
spdk_thread_lib_init 352
spdk_thread_lib_init_ext 2329
spdk_thread_next_poller_expiration 23715
spdk_thread_poll 8544371037
spdk_thread_send_critical_msg 1328
spdk_thread_send_msg 11890965
spdk_thread_set_cpumask 11364
spdk_thread_set_interrupt_mode 136
sspin_fini_internal 89843
sspin_init_internal 130894
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 7721814392
thread_execute_timed_poller 27658044
thread_exit 3718610
thread_get_io_channel 4233082
thread_has_unpaused_pollers 58918084
thread_insert_poller 160737
thread_interrupt_create 120
thread_interrupt_destroy 120
thread_interrupt_msg_process 862612
thread_poll 8544459680
thread_send_msg_notification 11892293
thread_trace 2279
thread_update_stats 8544304975
timed_poller_compare 212981617
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 27665966
timed_pollers_tree_RB_INSERT_COLOR 27665966
timed_pollers_tree_RB_MINMAX 16494
timed_pollers_tree_RB_NEXT 27674721
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 27665881
timed_pollers_tree_RB_REMOVE_COLOR 24499078
wrong_thread 0

Generated by: LCOV version 1.14