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 12:49:14 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4135 10270 40.3 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 566
_call_channel 686626
_call_completion 599308
_finish_unregister 34788
_free_thread 7429
_get_thread 8477000989
_interrupt_wrapper 258892637
_on_thread 777
_thread_exit 247
_thread_lib_init 2710
_thread_remove_pollers 1459
_thread_trace 3005
busy_poller_interrupt_init 1396
busy_poller_set_interrupt_mode 1396
convert_us_to_ticks 166327
interrupt_timerfd_process 93253
io_channel_cmp 11391154
io_channel_tree_RB_FIND 4305934
io_channel_tree_RB_INSERT 96476
io_channel_tree_RB_INSERT_COLOR 96476
io_channel_tree_RB_MINMAX 14965
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 96468
io_channel_tree_RB_REMOVE_COLOR 81949
io_device_cmp 3917444
io_device_free 44285
io_device_get 950582
io_device_tree_RB_FIND 950582
io_device_tree_RB_INSERT 44297
io_device_tree_RB_INSERT_COLOR 44289
io_device_tree_RB_MINMAX 2722
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 44289
io_device_tree_RB_REMOVE_COLOR 37171
msg_queue_run_batch 7790041128
period_poller_interrupt_init 240
period_poller_set_interrupt_mode 248
poller_insert_timer 26584205
poller_interrupt_fini 1636
poller_register 166325
poller_remove_timer 244
poller_set_interrupt_mode 8
put_io_channel 96538
register_flag_thread 3005
spdk_for_each_channel 599310
spdk_for_each_channel_continue 686626
spdk_for_each_thread 566
spdk_get_io_channel 306967
spdk_get_thread 680207510
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 146107169
spdk_interrupt_register 1666
spdk_interrupt_register_ext 1865
spdk_interrupt_register_for_events 1864
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3708
spdk_io_channel_from_ctx 17455315
spdk_io_channel_get_io_device 12417640
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 325969882
spdk_io_channel_iter_get_channel 704244
spdk_io_channel_iter_get_ctx 1304779
spdk_io_channel_iter_get_io_device 804555
spdk_io_device_get_name 0
spdk_io_device_register 44297
spdk_io_device_unregister 44293
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 2554
spdk_poller_register_named 166080
spdk_poller_resume 205
spdk_poller_unregister 368093
spdk_put_io_channel 306946
spdk_set_thread 520918691
spdk_spin_destroy 89992
spdk_spin_held 3320936
spdk_spin_init 131548
spdk_spin_lock 2017341
spdk_spin_unlock 2017331
spdk_thread_bind 20
spdk_thread_create 7563
spdk_thread_destroy 7436
spdk_thread_exit 7578
spdk_thread_get_app_thread 22176
spdk_thread_get_by_id 660
spdk_thread_get_count 408
spdk_thread_get_cpumask 28787
spdk_thread_get_ctx 37317
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 14983347338
spdk_thread_get_id 78672
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7506922465
spdk_thread_get_name 1219
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 8383
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3647691
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36589
spdk_thread_is_bound 128
spdk_thread_is_exited 7531599001
spdk_thread_is_idle 58445727
spdk_thread_is_running 3194
spdk_thread_lib_fini 2706
spdk_thread_lib_init 368
spdk_thread_lib_init_ext 2342
spdk_thread_next_poller_expiration 23335
spdk_thread_poll 7788767719
spdk_thread_send_critical_msg 1331
spdk_thread_send_msg 12915442
spdk_thread_set_cpumask 11868
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 89988
sspin_init_internal 131548
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6817616932
thread_execute_timed_poller 26576066
thread_exit 3724595
thread_get_io_channel 4305934
thread_has_unpaused_pollers 58443370
thread_insert_poller 166452
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 923609
thread_poll 7788951184
thread_send_msg_notification 12916772
thread_trace 2292
thread_update_stats 7788681463
timed_poller_compare 204711041
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 26584205
timed_pollers_tree_RB_INSERT_COLOR 26584205
timed_pollers_tree_RB_MINMAX 16812
timed_pollers_tree_RB_NEXT 26593425
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 26584123
timed_pollers_tree_RB_REMOVE_COLOR 23559826
wrong_thread 0

Generated by: LCOV version 1.15