LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1224 1532 79.9 %
Date: 2024-12-15 13:27:41 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3983 10466 38.1 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 584
_call_channel 822383
_call_completion 726625
_finish_unregister 34677
_free_thread 7323
_get_thread 10846868835
_interrupt_wrapper 219868833
_on_thread 791
_thread_exit 252
_thread_lib_init 2666
_thread_remove_pollers 1558
_thread_trace 3044
alloc_interrupt 1952
busy_poller_interrupt_init 1474
busy_poller_set_interrupt_mode 1474
convert_us_to_ticks 167333
interrupt_fd_group_wrapper 159073
interrupt_timerfd_process 95345
io_channel_cmp 11512744
io_channel_tree_RB_FIND 4306845
io_channel_tree_RB_INSERT 97194
io_channel_tree_RB_INSERT_COLOR 97194
io_channel_tree_RB_MINMAX 14731
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 97188
io_channel_tree_RB_REMOVE_COLOR 83119
io_device_cmp 4705473
io_device_free 44124
io_device_get 1081283
io_device_tree_RB_FIND 1081283
io_device_tree_RB_INSERT 44133
io_device_tree_RB_INSERT_COLOR 44127
io_device_tree_RB_MINMAX 2672
io_device_tree_RB_NEXT 27
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
io_device_tree_RB_REMOVE 44127
io_device_tree_RB_REMOVE_COLOR 37227
msg_queue_run_batch 10030788920
period_poller_interrupt_init 243
period_poller_set_interrupt_mode 251
poller_insert_timer 25728134
poller_interrupt_fini 1717
poller_register 167333
poller_remove_timer 247
poller_set_interrupt_mode 8
put_io_channel 97264
register_flag_thread 3044
spdk_for_each_channel 726625
spdk_for_each_channel_continue 822383
spdk_for_each_thread 584
spdk_get_io_channel 310519
spdk_get_thread 797247333
spdk_interrupt_mode_enable 42
spdk_interrupt_mode_is_enabled 507369153
spdk_interrupt_register 1751
spdk_interrupt_register_ext 1950
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 1949
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3972
spdk_io_channel_from_ctx 24214783
spdk_io_channel_get_io_device 16065664
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 403436291
spdk_io_channel_iter_get_channel 746653
spdk_io_channel_iter_get_ctx 1476205
spdk_io_channel_iter_get_io_device 688037
spdk_io_device_get_name 0
spdk_io_device_register 44133
spdk_io_device_unregister 44130
spdk_poller_get_id 17
spdk_poller_get_name 14
spdk_poller_get_period_ticks 14
spdk_poller_get_state_str 35
spdk_poller_get_stats 14
spdk_poller_pause 168
spdk_poller_register 187
spdk_poller_register_interrupt 1841
spdk_poller_register_named 167146
spdk_poller_resume 165
spdk_poller_unregister 357554
spdk_put_io_channel 310503
spdk_set_thread 443472358
spdk_spin_destroy 90649
spdk_spin_held 7834564
spdk_spin_init 132944
spdk_spin_lock 2445400
spdk_spin_unlock 2445392
spdk_thread_bind 19
spdk_thread_create 7434
spdk_thread_destroy 7331
spdk_thread_exit 7437
spdk_thread_get_app_thread 20612
spdk_thread_get_by_id 679
spdk_thread_get_count 384
spdk_thread_get_cpumask 28867
spdk_thread_get_ctx 37415
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 19594380282
spdk_thread_get_id 91592
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 278
spdk_thread_get_last_tsc 9875781333
spdk_thread_get_name 1232
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 8497
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 1778699
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 37242
spdk_thread_is_bound 120
spdk_thread_is_exited 9819324592
spdk_thread_is_idle 58151716
spdk_thread_is_running 3508
spdk_thread_lib_fini 2660
spdk_thread_lib_init 298
spdk_thread_lib_init_ext 2368
spdk_thread_next_poller_expiration 23019
spdk_thread_poll 10029545487
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1372
spdk_thread_send_msg 19328867
spdk_thread_set_cpumask 11874
spdk_thread_set_interrupt_mode 143
sspin_fini_internal 90646
sspin_init_internal 132944
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 8661006990
thread_execute_timed_poller 25719236
thread_exit 573085
thread_get_io_channel 4306845
thread_has_unpaused_pollers 58149228
thread_insert_poller 167438
thread_interrupt_create 127
thread_interrupt_destroy 127
thread_interrupt_msg_process 1051015
thread_poll 10029575292
thread_run_pp_handlers 0
thread_send_msg_notification 19330239
thread_trace 2329
thread_update_stats 10029339653
timed_poller_compare 162129397
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25728134
timed_pollers_tree_RB_INSERT_COLOR 25728134
timed_pollers_tree_RB_MINMAX 16674
timed_pollers_tree_RB_NEXT 25738123
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25728074
timed_pollers_tree_RB_REMOVE_COLOR 21703337
wrong_thread 0

Generated by: LCOV version 1.15