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 08:39:57 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4193 10270 40.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 515
_call_channel 681537
_call_completion 590971
_finish_unregister 32876
_free_thread 6990
_get_thread 8073751229
_interrupt_wrapper 256869024
_on_thread 704
_thread_exit 246
_thread_lib_init 2571
_thread_remove_pollers 1332
_thread_trace 2820
busy_poller_interrupt_init 1191
busy_poller_set_interrupt_mode 1191
convert_us_to_ticks 151602
interrupt_timerfd_process 93554
io_channel_cmp 11133113
io_channel_tree_RB_FIND 4198601
io_channel_tree_RB_INSERT 92678
io_channel_tree_RB_INSERT_COLOR 92678
io_channel_tree_RB_MINMAX 14089
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 92670
io_channel_tree_RB_REMOVE_COLOR 78835
io_device_cmp 3792805
io_device_free 41751
io_device_get 927720
io_device_tree_RB_FIND 927720
io_device_tree_RB_INSERT 41763
io_device_tree_RB_INSERT_COLOR 41755
io_device_tree_RB_MINMAX 2583
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 41755
io_device_tree_RB_REMOVE_COLOR 34841
msg_queue_run_batch 7436864997
period_poller_interrupt_init 240
period_poller_set_interrupt_mode 248
poller_insert_timer 26226791
poller_interrupt_fini 1431
poller_register 151600
poller_remove_timer 244
poller_set_interrupt_mode 8
put_io_channel 92731
register_flag_thread 2820
spdk_for_each_channel 590973
spdk_for_each_channel_continue 681537
spdk_for_each_thread 515
spdk_get_io_channel 294975
spdk_get_thread 632025499
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 145830172
spdk_interrupt_register 1461
spdk_interrupt_register_ext 1660
spdk_interrupt_register_for_events 1659
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3487
spdk_io_channel_from_ctx 17652662
spdk_io_channel_get_io_device 12691121
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 304602141
spdk_io_channel_iter_get_channel 691214
spdk_io_channel_iter_get_ctx 1291481
spdk_io_channel_iter_get_io_device 821689
spdk_io_device_get_name 0
spdk_io_device_register 41763
spdk_io_device_unregister 41759
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 2437
spdk_poller_register_named 151357
spdk_poller_resume 205
spdk_poller_unregister 333267
spdk_put_io_channel 294956
spdk_set_thread 516759115
spdk_spin_destroy 86872
spdk_spin_held 3316081
spdk_spin_init 125784
spdk_spin_lock 1897319
spdk_spin_unlock 1897309
spdk_thread_bind 4
spdk_thread_create 7124
spdk_thread_destroy 6998
spdk_thread_exit 7137
spdk_thread_get_app_thread 21697
spdk_thread_get_by_id 649
spdk_thread_get_count 359
spdk_thread_get_cpumask 27745
spdk_thread_get_ctx 36478
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 14410118659
spdk_thread_get_id 78525
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7198352488
spdk_thread_get_name 1128
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 7970
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3243773
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 34324
spdk_thread_is_bound 132
spdk_thread_is_exited 7238471177
spdk_thread_is_idle 57561799
spdk_thread_is_running 3081
spdk_thread_lib_fini 2567
spdk_thread_lib_init 352
spdk_thread_lib_init_ext 2219
spdk_thread_next_poller_expiration 23706
spdk_thread_poll 7435507152
spdk_thread_send_critical_msg 1270
spdk_thread_send_msg 12569947
spdk_thread_set_cpumask 11868
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 86868
sspin_init_internal 125784
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6431643762
thread_execute_timed_poller 26218548
thread_exit 4033322
thread_get_io_channel 4198601
thread_has_unpaused_pollers 57558471
thread_insert_poller 151727
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 867480
thread_poll 7435660456
thread_send_msg_notification 12571216
thread_trace 2169
thread_update_stats 7435572868
timed_poller_compare 204837839
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 26226791
timed_pollers_tree_RB_INSERT_COLOR 26226791
timed_pollers_tree_RB_MINMAX 15809
timed_pollers_tree_RB_NEXT 26235890
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 26226710
timed_pollers_tree_RB_REMOVE_COLOR 23272372
wrong_thread 0

Generated by: LCOV version 1.14