LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1202 1483 81.1 %
Date: 2024-11-15 10:43:43 Functions: 141 163 86.5 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4185 10270 40.7 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 5
__posix_abort 0
_back_to_orig_thread 510
_call_channel 694539
_call_completion 602472
_finish_unregister 33508
_free_thread 6957
_get_thread 8220613442
_interrupt_wrapper 254933729
_on_thread 625
_thread_exit 242
_thread_lib_init 2566
_thread_remove_pollers 1303
_thread_trace 2833
busy_poller_interrupt_init 1164
busy_poller_set_interrupt_mode 1164
convert_us_to_ticks 152647
interrupt_timerfd_process 84519
io_channel_cmp 11204262
io_channel_tree_RB_FIND 4262015
io_channel_tree_RB_INSERT 94944
io_channel_tree_RB_INSERT_COLOR 94944
io_channel_tree_RB_MINMAX 14026
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 94936
io_channel_tree_RB_REMOVE_COLOR 80916
io_device_cmp 3883992
io_device_free 42521
io_device_get 947208
io_device_tree_RB_FIND 947208
io_device_tree_RB_INSERT 42533
io_device_tree_RB_INSERT_COLOR 42525
io_device_tree_RB_MINMAX 2578
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 42525
io_device_tree_RB_REMOVE_COLOR 35623
msg_queue_run_batch 7529181911
period_poller_interrupt_init 233
period_poller_set_interrupt_mode 241
poller_insert_timer 25100196
poller_interrupt_fini 1397
poller_register 152646
poller_remove_timer 237
poller_set_interrupt_mode 8
put_io_channel 95005
register_flag_thread 2833
spdk_for_each_channel 602480
spdk_for_each_channel_continue 694539
spdk_for_each_thread 510
spdk_get_io_channel 302186
spdk_get_thread 687811843
spdk_interrupt_mode_enable 40
spdk_interrupt_mode_is_enabled 147651969
spdk_interrupt_register 1425
spdk_interrupt_register_ext 1623
spdk_interrupt_register_for_events 1623
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3458
spdk_io_channel_from_ctx 18412720
spdk_io_channel_get_io_device 14229727
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 342187091
spdk_io_channel_iter_get_channel 702992
spdk_io_channel_iter_get_ctx 1316048
spdk_io_channel_iter_get_io_device 819646
spdk_io_device_get_name 0
spdk_io_device_register 42533
spdk_io_device_unregister 42530
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 2429
spdk_poller_register_named 152404
spdk_poller_resume 205
spdk_poller_unregister 346591
spdk_put_io_channel 302169
spdk_set_thread 513407981
spdk_spin_destroy 88372
spdk_spin_held 1840883
spdk_spin_init 127745
spdk_spin_lock 2147169
spdk_spin_unlock 2147159
spdk_thread_bind 20
spdk_thread_create 7091
spdk_thread_destroy 6965
spdk_thread_exit 7106
spdk_thread_get_app_thread 21549
spdk_thread_get_by_id 374
spdk_thread_get_count 385
spdk_thread_get_cpumask 27179
spdk_thread_get_ctx 36121
spdk_thread_get_first_active_poller 24
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 24
spdk_thread_get_first_timed_poller 24
spdk_thread_get_from_ctx 14474225955
spdk_thread_get_id 77629
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 264
spdk_thread_get_last_tsc 7248368883
spdk_thread_get_name 854
spdk_thread_get_next_active_poller 0
spdk_thread_get_next_io_channel 0
spdk_thread_get_next_paused_poller 0
spdk_thread_get_next_timed_poller 24
spdk_thread_get_stats 6679
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3081815
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 34579
spdk_thread_is_bound 78
spdk_thread_is_exited 7273542775
spdk_thread_is_idle 51446681
spdk_thread_is_running 3042
spdk_thread_lib_fini 2562
spdk_thread_lib_init 351
spdk_thread_lib_init_ext 2215
spdk_thread_next_poller_expiration 23361
spdk_thread_poll 7527505790
spdk_thread_send_critical_msg 1260
spdk_thread_send_msg 12774689
spdk_thread_set_cpumask 11788
spdk_thread_set_interrupt_mode 136
sspin_fini_internal 88368
sspin_init_internal 127745
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6765506161
thread_execute_timed_poller 25092292
thread_exit 3109550
thread_get_io_channel 4262015
thread_has_unpaused_pollers 51444477
thread_insert_poller 152770
thread_interrupt_create 120
thread_interrupt_destroy 120
thread_interrupt_msg_process 1130017
thread_poll 7527822068
thread_send_msg_notification 12775949
thread_trace 2165
thread_update_stats 7527514319
timed_poller_compare 202705898
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25100197
timed_pollers_tree_RB_INSERT_COLOR 25100196
timed_pollers_tree_RB_MINMAX 15615
timed_pollers_tree_RB_NEXT 25108864
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25100111
timed_pollers_tree_RB_REMOVE_COLOR 22324182
wrong_thread 0

Generated by: LCOV version 1.15