LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1230 1547 79.5 %
Date: 2024-12-12 10:36:05 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4175 10466 39.9 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 485
_call_channel 460043
_call_completion 453954
_finish_unregister 29624
_free_thread 5998
_get_thread 5937903157
_interrupt_wrapper 19717
_on_thread 696
_thread_exit 17
_thread_lib_init 2254
_thread_remove_pollers 133
_thread_trace 2399
alloc_interrupt 162
busy_poller_interrupt_init 129
busy_poller_set_interrupt_mode 129
convert_us_to_ticks 126831
interrupt_fd_group_wrapper 160320
interrupt_timerfd_process 18968
io_channel_cmp 9622433
io_channel_tree_RB_FIND 3442786
io_channel_tree_RB_INSERT 58445
io_channel_tree_RB_INSERT_COLOR 58445
io_channel_tree_RB_MINMAX 12108
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 58437
io_channel_tree_RB_REMOVE_COLOR 45487
io_device_cmp 2816867
io_device_free 37359
io_device_get 675799
io_device_tree_RB_FIND 675799
io_device_tree_RB_INSERT 37371
io_device_tree_RB_INSERT_COLOR 37363
io_device_tree_RB_MINMAX 2262
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 37363
io_device_tree_RB_REMOVE_COLOR 30214
msg_queue_run_batch 5577389401
period_poller_interrupt_init 18
period_poller_set_interrupt_mode 26
poller_insert_timer 25162660
poller_interrupt_fini 147
poller_register 126829
poller_remove_timer 22
poller_set_interrupt_mode 8
put_io_channel 58505
register_flag_thread 2399
spdk_for_each_channel 453955
spdk_for_each_channel_continue 460043
spdk_for_each_thread 485
spdk_get_io_channel 184463
spdk_get_thread 356426041
spdk_interrupt_mode_enable 13
spdk_interrupt_mode_is_enabled 144029688
spdk_interrupt_register 159
spdk_interrupt_register_ext 160
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 159
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 1015
spdk_io_channel_from_ctx 16385460
spdk_io_channel_get_io_device 11546042
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 250323756
spdk_io_channel_iter_get_channel 472223
spdk_io_channel_iter_get_ctx 889251
spdk_io_channel_iter_get_io_device 759332
spdk_io_device_get_name 0
spdk_io_device_register 37371
spdk_io_device_unregister 37367
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 182
spdk_poller_register 243
spdk_poller_register_interrupt 1040
spdk_poller_register_named 126588
spdk_poller_resume 178
spdk_poller_unregister 186523
spdk_put_io_channel 184445
spdk_set_thread 2089204
spdk_spin_destroy 69883
spdk_spin_held 1849490
spdk_spin_init 102968
spdk_spin_lock 1336858
spdk_spin_unlock 1336848
spdk_thread_bind 20
spdk_thread_create 6136
spdk_thread_destroy 6007
spdk_thread_exit 6146
spdk_thread_get_app_thread 20003
spdk_thread_get_by_id 614
spdk_thread_get_count 378
spdk_thread_get_cpumask 14019
spdk_thread_get_ctx 10736
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 10773007782
spdk_thread_get_id 13644
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 52
spdk_thread_get_last_tsc 5448007863
spdk_thread_get_name 750
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 6979
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3600775
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 29283
spdk_thread_is_bound 126
spdk_thread_is_exited 5416139269
spdk_thread_is_idle 48062830
spdk_thread_is_running 2350
spdk_thread_lib_fini 2246
spdk_thread_lib_init 364
spdk_thread_lib_init_ext 1890
spdk_thread_next_poller_expiration 10404
spdk_thread_poll 5577563937
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 957
spdk_thread_send_msg 8730502
spdk_thread_set_cpumask 16
spdk_thread_set_interrupt_mode 30
sspin_fini_internal 69879
sspin_init_internal 102968
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 3793060931
thread_execute_timed_poller 25158020
thread_exit 3782141
thread_get_io_channel 3442786
thread_has_unpaused_pollers 48059217
thread_insert_poller 126927
thread_interrupt_create 14
thread_interrupt_destroy 14
thread_interrupt_msg_process 561
thread_poll 5577515311
thread_run_pp_handlers 0
thread_send_msg_notification 8731453
thread_trace 1843
thread_update_stats 5577246442
timed_poller_compare 208222380
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25162661
timed_pollers_tree_RB_INSERT_COLOR 25162660
timed_pollers_tree_RB_MINMAX 12415
timed_pollers_tree_RB_NEXT 25167796
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25162580
timed_pollers_tree_RB_REMOVE_COLOR 22889401
wrong_thread 0

Generated by: LCOV version 1.14