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-20 15:47:59 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4179 10270 40.7 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 536
_call_channel 683895
_call_completion 597882
_finish_unregister 34202
_free_thread 7261
_get_thread 8073616353
_interrupt_wrapper 258380349
_on_thread 744
_thread_exit 248
_thread_lib_init 2660
_thread_remove_pollers 1244
_thread_trace 2953
busy_poller_interrupt_init 1068
busy_poller_set_interrupt_mode 1068
convert_us_to_ticks 159454
interrupt_timerfd_process 91744
io_channel_cmp 11130467
io_channel_tree_RB_FIND 4237885
io_channel_tree_RB_INSERT 95626
io_channel_tree_RB_INSERT_COLOR 95626
io_channel_tree_RB_MINMAX 14634
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 95618
io_channel_tree_RB_REMOVE_COLOR 81262
io_device_cmp 3799736
io_device_free 43535
io_device_get 945429
io_device_tree_RB_FIND 945429
io_device_tree_RB_INSERT 43547
io_device_tree_RB_INSERT_COLOR 43539
io_device_tree_RB_MINMAX 2672
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 43539
io_device_tree_RB_REMOVE_COLOR 36476
msg_queue_run_batch 7423316374
period_poller_interrupt_init 237
period_poller_set_interrupt_mode 245
poller_insert_timer 23853269
poller_interrupt_fini 1305
poller_register 159452
poller_remove_timer 241
poller_set_interrupt_mode 8
put_io_channel 95682
register_flag_thread 2953
spdk_for_each_channel 597886
spdk_for_each_channel_continue 683895
spdk_for_each_thread 536
spdk_get_io_channel 303988
spdk_get_thread 644315902
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 91836046
spdk_interrupt_register 1335
spdk_interrupt_register_ext 1534
spdk_interrupt_register_for_events 1533
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3369
spdk_io_channel_from_ctx 16355315
spdk_io_channel_get_io_device 11945763
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 302170823
spdk_io_channel_iter_get_channel 698539
spdk_io_channel_iter_get_ctx 1301218
spdk_io_channel_iter_get_io_device 834573
spdk_io_device_get_name 0
spdk_io_device_register 43547
spdk_io_device_unregister 43543
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 2495
spdk_poller_register_named 159210
spdk_poller_resume 205
spdk_poller_unregister 342014
spdk_put_io_channel 303966
spdk_set_thread 519510588
spdk_spin_destroy 88742
spdk_spin_held 1166029
spdk_spin_init 129494
spdk_spin_lock 1896874
spdk_spin_unlock 1896863
spdk_thread_bind 20
spdk_thread_create 7395
spdk_thread_destroy 7270
spdk_thread_exit 7411
spdk_thread_get_app_thread 22136
spdk_thread_get_by_id 649
spdk_thread_get_count 399
spdk_thread_get_cpumask 28371
spdk_thread_get_ctx 36954
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 14388475297
spdk_thread_get_id 78489
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7205005673
spdk_thread_get_name 1212
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 8219
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3364572
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 35689
spdk_thread_is_bound 131
spdk_thread_is_exited 7223455702
spdk_thread_is_idle 60442800
spdk_thread_is_running 3120
spdk_thread_lib_fini 2656
spdk_thread_lib_init 364
spdk_thread_lib_init_ext 2296
spdk_thread_next_poller_expiration 20249
spdk_thread_poll 7421921158
spdk_thread_send_critical_msg 1293
spdk_thread_send_msg 11188831
spdk_thread_set_cpumask 11848
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 88738
sspin_init_internal 129494
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6559343190
thread_execute_timed_poller 23845326
thread_exit 4298383
thread_get_io_channel 4237885
thread_has_unpaused_pollers 60440782
thread_insert_poller 159579
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 728443
thread_poll 7422139236
thread_send_msg_notification 11190121
thread_trace 2246
thread_update_stats 7421576592
timed_poller_compare 181705396
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 23853269
timed_pollers_tree_RB_INSERT_COLOR 23853269
timed_pollers_tree_RB_MINMAX 16263
timed_pollers_tree_RB_NEXT 23862039
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 23853188
timed_pollers_tree_RB_REMOVE_COLOR 20995090
wrong_thread 0

Generated by: LCOV version 1.15