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 11:13:39 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 562
_call_channel 708027
_call_completion 623386
_finish_unregister 34627
_free_thread 7389
_get_thread 8466348004
_interrupt_wrapper 245050927
_on_thread 773
_thread_exit 247
_thread_lib_init 2692
_thread_remove_pollers 1227
_thread_trace 2987
busy_poller_interrupt_init 1042
busy_poller_set_interrupt_mode 1042
convert_us_to_ticks 162634
interrupt_timerfd_process 93651
io_channel_cmp 11730206
io_channel_tree_RB_FIND 4383589
io_channel_tree_RB_INSERT 96310
io_channel_tree_RB_INSERT_COLOR 96310
io_channel_tree_RB_MINMAX 14884
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 96302
io_channel_tree_RB_REMOVE_COLOR 81855
io_device_cmp 3996078
io_device_free 44035
io_device_get 973762
io_device_tree_RB_FIND 973762
io_device_tree_RB_INSERT 44047
io_device_tree_RB_INSERT_COLOR 44039
io_device_tree_RB_MINMAX 2704
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 44039
io_device_tree_RB_REMOVE_COLOR 36953
msg_queue_run_batch 7769263609
period_poller_interrupt_init 237
period_poller_set_interrupt_mode 245
poller_insert_timer 26753630
poller_interrupt_fini 1279
poller_register 162630
poller_remove_timer 241
poller_set_interrupt_mode 8
put_io_channel 96368
register_flag_thread 2987
spdk_for_each_channel 623390
spdk_for_each_channel_continue 708027
spdk_for_each_thread 562
spdk_get_io_channel 306316
spdk_get_thread 691447884
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 147781663
spdk_interrupt_register 1309
spdk_interrupt_register_ext 1508
spdk_interrupt_register_for_events 1507
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3372
spdk_io_channel_from_ctx 18948093
spdk_io_channel_get_io_device 13499850
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 331376885
spdk_io_channel_iter_get_channel 722177
spdk_io_channel_iter_get_ctx 1349415
spdk_io_channel_iter_get_io_device 832976
spdk_io_device_get_name 0
spdk_io_device_register 44047
spdk_io_device_unregister 44043
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 2550
spdk_poller_register_named 162389
spdk_poller_resume 205
spdk_poller_unregister 368076
spdk_put_io_channel 306293
spdk_set_thread 493366939
spdk_spin_destroy 89819
spdk_spin_held 3265881
spdk_spin_init 131014
spdk_spin_lock 1935870
spdk_spin_unlock 1935860
spdk_thread_bind 20
spdk_thread_create 7523
spdk_thread_destroy 7396
spdk_thread_exit 7539
spdk_thread_get_app_thread 22731
spdk_thread_get_by_id 669
spdk_thread_get_count 408
spdk_thread_get_cpumask 28192
spdk_thread_get_ctx 36135
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 15010602107
spdk_thread_get_id 78740
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7539763574
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 8377
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3786180
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36345
spdk_thread_is_bound 124
spdk_thread_is_exited 7544668851
spdk_thread_is_idle 60109511
spdk_thread_is_running 3201
spdk_thread_lib_fini 2688
spdk_thread_lib_init 362
spdk_thread_lib_init_ext 2330
spdk_thread_next_poller_expiration 23636
spdk_thread_poll 7768431933
spdk_thread_send_critical_msg 1327
spdk_thread_send_msg 13682693
spdk_thread_set_cpumask 11312
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 89815
sspin_init_internal 131014
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6878000177
thread_execute_timed_poller 26745346
thread_exit 4268966
thread_get_io_channel 4383589
thread_has_unpaused_pollers 60106083
thread_insert_poller 162759
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 986186
thread_poll 7768443204
thread_send_msg_notification 13684018
thread_trace 2280
thread_update_stats 7768564819
timed_poller_compare 209025679
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 26753630
timed_pollers_tree_RB_INSERT_COLOR 26753630
timed_pollers_tree_RB_MINMAX 16496
timed_pollers_tree_RB_NEXT 26762714
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 26753548
timed_pollers_tree_RB_REMOVE_COLOR 23875385
wrong_thread 0

Generated by: LCOV version 1.15