LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1234 1547 79.8 %
Date: 2024-12-12 10:52:15 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4167 10466 39.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 563
_call_channel 689225
_call_completion 594024
_finish_unregister 35760
_free_thread 7497
_get_thread 9131023325
_interrupt_wrapper 254600007
_on_thread 774
_thread_exit 247
_thread_lib_init 2720
_thread_remove_pollers 1562
_thread_trace 3007
alloc_interrupt 1932
busy_poller_interrupt_init 1462
busy_poller_set_interrupt_mode 1462
convert_us_to_ticks 161745
interrupt_fd_group_wrapper 46139
interrupt_timerfd_process 92855
io_channel_cmp 11400774
io_channel_tree_RB_FIND 4315092
io_channel_tree_RB_INSERT 97898
io_channel_tree_RB_INSERT_COLOR 97898
io_channel_tree_RB_MINMAX 15103
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 97890
io_channel_tree_RB_REMOVE_COLOR 82475
io_device_cmp 3795899
io_device_free 45273
io_device_get 949038
io_device_tree_RB_FIND 949038
io_device_tree_RB_INSERT 45285
io_device_tree_RB_INSERT_COLOR 45277
io_device_tree_RB_MINMAX 2728
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 45277
io_device_tree_RB_REMOVE_COLOR 37312
msg_queue_run_batch 8375277432
period_poller_interrupt_init 241
period_poller_set_interrupt_mode 249
poller_insert_timer 25876773
poller_interrupt_fini 1703
poller_register 161740
poller_remove_timer 245
poller_set_interrupt_mode 8
put_io_channel 97958
register_flag_thread 3007
spdk_for_each_channel 594026
spdk_for_each_channel_continue 689225
spdk_for_each_thread 563
spdk_get_io_channel 309718
spdk_get_thread 750858475
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 173381710
spdk_interrupt_register 1731
spdk_interrupt_register_ext 1930
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 1929
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3790
spdk_io_channel_from_ctx 18372076
spdk_io_channel_get_io_device 13585195
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 374520441
spdk_io_channel_iter_get_channel 702162
spdk_io_channel_iter_get_ctx 1301170
spdk_io_channel_iter_get_io_device 813632
spdk_io_device_get_name 0
spdk_io_device_register 45285
spdk_io_device_unregister 45281
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 161499
spdk_poller_resume 205
spdk_poller_unregister 352615
spdk_put_io_channel 309696
spdk_set_thread 512655957
spdk_spin_destroy 91024
spdk_spin_held 1903711
spdk_spin_init 132612
spdk_spin_lock 2185731
spdk_spin_unlock 2185720
spdk_thread_bind 20
spdk_thread_create 7635
spdk_thread_destroy 7503
spdk_thread_exit 7646
spdk_thread_get_app_thread 22280
spdk_thread_get_by_id 631
spdk_thread_get_count 408
spdk_thread_get_cpumask 29071
spdk_thread_get_ctx 37446
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 16135031979
spdk_thread_get_id 78921
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 8105244243
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 8560
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3342771
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36604
spdk_thread_is_bound 125
spdk_thread_is_exited 8107546224
spdk_thread_is_idle 63283045
spdk_thread_is_running 3233
spdk_thread_lib_fini 2712
spdk_thread_lib_init 376
spdk_thread_lib_init_ext 2344
spdk_thread_next_poller_expiration 22604
spdk_thread_poll 8374175019
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1333
spdk_thread_send_msg 13795219
spdk_thread_set_cpumask 11880
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 91020
sspin_init_internal 132612
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 5996731937
thread_execute_timed_poller 25868491
thread_exit 3289991
thread_get_io_channel 4315092
thread_has_unpaused_pollers 63278448
thread_insert_poller 161869
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 814162
thread_poll 8374291235
thread_run_pp_handlers 0
thread_send_msg_notification 13796551
thread_trace 2294
thread_update_stats 8374341117
timed_poller_compare 203824661
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25876774
timed_pollers_tree_RB_INSERT_COLOR 25876774
timed_pollers_tree_RB_MINMAX 17051
timed_pollers_tree_RB_NEXT 25886215
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25876692
timed_pollers_tree_RB_REMOVE_COLOR 23088945
wrong_thread 0

Generated by: LCOV version 1.14