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-19 23:22:46 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4196 10270 40.9 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 558
_call_channel 895800
_call_completion 804515
_finish_unregister 35088
_free_thread 7404
_get_thread 10253365177
_interrupt_wrapper 227788634
_on_thread 767
_thread_exit 248
_thread_lib_init 2702
_thread_remove_pollers 1272
_thread_trace 3033
busy_poller_interrupt_init 1100
busy_poller_set_interrupt_mode 1100
convert_us_to_ticks 158294
interrupt_timerfd_process 95068
io_channel_cmp 13207201
io_channel_tree_RB_FIND 4930894
io_channel_tree_RB_INSERT 98437
io_channel_tree_RB_INSERT_COLOR 98437
io_channel_tree_RB_MINMAX 14917
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 98429
io_channel_tree_RB_REMOVE_COLOR 84169
io_device_cmp 4852034
io_device_free 44507
io_device_get 1162643
io_device_tree_RB_FIND 1162643
io_device_tree_RB_INSERT 44519
io_device_tree_RB_INSERT_COLOR 44511
io_device_tree_RB_MINMAX 2714
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 44511
io_device_tree_RB_REMOVE_COLOR 37415
msg_queue_run_batch 9383992048
period_poller_interrupt_init 241
period_poller_set_interrupt_mode 249
poller_insert_timer 30535675
poller_interrupt_fini 1341
poller_register 158295
poller_remove_timer 245
poller_set_interrupt_mode 8
put_io_channel 98503
register_flag_thread 3033
spdk_for_each_channel 804515
spdk_for_each_channel_continue 895800
spdk_for_each_thread 558
spdk_get_io_channel 313601
spdk_get_thread 856963575
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 92994860
spdk_interrupt_register 1371
spdk_interrupt_register_ext 1570
spdk_interrupt_register_for_events 1569
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3503
spdk_io_channel_from_ctx 26735176
spdk_io_channel_get_io_device 19119772
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 442167550
spdk_io_channel_iter_get_channel 813602
spdk_io_channel_iter_get_ctx 1630704
spdk_io_channel_iter_get_io_device 794086
spdk_io_device_get_name 0
spdk_io_device_register 44519
spdk_io_device_unregister 44515
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 2586
spdk_poller_register_named 158051
spdk_poller_resume 205
spdk_poller_unregister 379113
spdk_put_io_channel 313581
spdk_set_thread 458662331
spdk_spin_destroy 76580
spdk_spin_held 3445959
spdk_spin_init 117765
spdk_spin_lock 2499983
spdk_spin_unlock 2499972
spdk_thread_bind 20
spdk_thread_create 7538
spdk_thread_destroy 7411
spdk_thread_exit 7551
spdk_thread_get_app_thread 22002
spdk_thread_get_by_id 654
spdk_thread_get_count 410
spdk_thread_get_cpumask 28024
spdk_thread_get_ctx 37367
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 18241718439
spdk_thread_get_id 89273
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 9222307906
spdk_thread_get_name 1228
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 8431
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3757227
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36593
spdk_thread_is_bound 134
spdk_thread_is_exited 9155497102
spdk_thread_is_idle 59355039
spdk_thread_is_running 3479
spdk_thread_lib_fini 2698
spdk_thread_lib_init 356
spdk_thread_lib_init_ext 2346
spdk_thread_next_poller_expiration 22987
spdk_thread_poll 9382289827
spdk_thread_send_critical_msg 1334
spdk_thread_send_msg 18525944
spdk_thread_set_cpumask 11904
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 76576
sspin_init_internal 117765
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 9419042009
thread_execute_timed_poller 30526843
thread_exit 1150376
thread_get_io_channel 4930894
thread_has_unpaused_pollers 59352279
thread_insert_poller 158419
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 897487
thread_poll 9382012547
thread_send_msg_notification 18527276
thread_trace 2296
thread_update_stats 9382212333
timed_poller_compare 219154702
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 30535675
timed_pollers_tree_RB_INSERT_COLOR 30535675
timed_pollers_tree_RB_MINMAX 16575
timed_pollers_tree_RB_NEXT 30545263
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 30535591
timed_pollers_tree_RB_REMOVE_COLOR 26660479
wrong_thread 0

Generated by: LCOV version 1.14