LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1213 1547 78.4 %
Date: 2024-12-10 00:23:43 Functions: 143 168 85.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4175 10472 39.9 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 565
_call_channel 683654
_call_completion 596976
_finish_unregister 35774
_free_thread 7491
_get_thread 8731860500
_interrupt_wrapper 246214981
_on_thread 776
_thread_exit 246
_thread_lib_init 2718
_thread_remove_pollers 1256
_thread_trace 3009
alloc_interrupt 1537
busy_poller_interrupt_init 1067
busy_poller_set_interrupt_mode 1067
convert_us_to_ticks 164733
interrupt_fd_group_wrapper 0
interrupt_timerfd_process 93543
io_channel_cmp 11236212
io_channel_tree_RB_FIND 4254638
io_channel_tree_RB_INSERT 98164
io_channel_tree_RB_INSERT_COLOR 98164
io_channel_tree_RB_MINMAX 15091
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 98156
io_channel_tree_RB_REMOVE_COLOR 82758
io_device_cmp 3839051
io_device_free 45287
io_device_get 953321
io_device_tree_RB_FIND 953321
io_device_tree_RB_INSERT 45299
io_device_tree_RB_INSERT_COLOR 45291
io_device_tree_RB_MINMAX 2726
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 45291
io_device_tree_RB_REMOVE_COLOR 37332
msg_queue_run_batch 8044465320
period_poller_interrupt_init 241
period_poller_set_interrupt_mode 249
poller_insert_timer 25794115
poller_interrupt_fini 1308
poller_register 164727
poller_remove_timer 245
poller_set_interrupt_mode 8
put_io_channel 98227
register_flag_thread 3009
spdk_for_each_channel 596978
spdk_for_each_channel_continue 683654
spdk_for_each_thread 565
spdk_get_io_channel 311036
spdk_get_thread 679434855
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 150751462
spdk_interrupt_register 1338
spdk_interrupt_register_ext 1537
spdk_interrupt_register_fd_group 0
spdk_interrupt_register_for_events 1536
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3389
spdk_io_channel_from_ctx 17797491
spdk_io_channel_get_io_device 12243176
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 323367924
spdk_io_channel_iter_get_channel 700346
spdk_io_channel_iter_get_ctx 1299315
spdk_io_channel_iter_get_io_device 827191
spdk_io_device_get_name 0
spdk_io_device_register 45299
spdk_io_device_unregister 45295
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 164487
spdk_poller_resume 205
spdk_poller_unregister 347995
spdk_put_io_channel 311014
spdk_set_thread 495825412
spdk_spin_destroy 91032
spdk_spin_held 3293783
spdk_spin_init 132659
spdk_spin_lock 2005227
spdk_spin_unlock 2005217
spdk_thread_bind 20
spdk_thread_create 7629
spdk_thread_destroy 7498
spdk_thread_exit 7641
spdk_thread_get_app_thread 23008
spdk_thread_get_by_id 703
spdk_thread_get_count 408
spdk_thread_get_cpumask 29188
spdk_thread_get_ctx 37570
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 15547138910
spdk_thread_get_id 78996
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7804182738
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 8530
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3272797
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36643
spdk_thread_is_bound 132
spdk_thread_is_exited 7821420862
spdk_thread_is_idle 59925205
spdk_thread_is_running 3206
spdk_thread_lib_fini 2710
spdk_thread_lib_init 372
spdk_thread_lib_init_ext 2346
spdk_thread_next_poller_expiration 24047
spdk_thread_poll 8043241591
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1335
spdk_thread_send_msg 14650342
spdk_thread_set_cpumask 11928
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 91028
sspin_init_internal 132659
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5637643441
thread_execute_timed_poller 25786150
thread_exit 3869056
thread_get_io_channel 4254638
thread_has_unpaused_pollers 59929318
thread_insert_poller 164856
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 829628
thread_poll 8043784440
thread_run_pp_handlers 0
thread_send_msg_notification 14651675
thread_trace 2296
thread_update_stats 8043258353
timed_poller_compare 197861168
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25794117
timed_pollers_tree_RB_INSERT_COLOR 25794117
timed_pollers_tree_RB_MINMAX 16735
timed_pollers_tree_RB_NEXT 25802911
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25794034
timed_pollers_tree_RB_REMOVE_COLOR 22895223
wrong_thread 0

Generated by: LCOV version 1.15