LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1184 1458 81.2 %
Date: 2024-12-13 10:00:12 Functions: 140 161 87.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3946 10256 38.5 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 573
_call_channel 844097
_call_completion 748276
_finish_unregister 33237
_free_thread 7110
_get_thread 10495525767
_interrupt_wrapper 223254894
_on_thread 780
_thread_exit 249
_thread_lib_init 2598
_thread_remove_pollers 1302
_thread_trace 2988
busy_poller_interrupt_init 1162
busy_poller_set_interrupt_mode 1162
convert_us_to_ticks 160107
interrupt_timerfd_process 85184
io_channel_cmp 11711818
io_channel_tree_RB_FIND 4403900
io_channel_tree_RB_INSERT 94994
io_channel_tree_RB_INSERT_COLOR 94994
io_channel_tree_RB_MINMAX 14302
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 94988
io_channel_tree_RB_REMOVE_COLOR 82049
io_device_cmp 4692675
io_device_free 42409
io_device_get 1095267
io_device_tree_RB_FIND 1095267
io_device_tree_RB_INSERT 42418
io_device_tree_RB_INSERT_COLOR 42412
io_device_tree_RB_MINMAX 2607
io_device_tree_RB_NEXT 27
io_device_tree_RB_NFIND 0
io_device_tree_RB_PREV 0
io_device_tree_RB_REINSERT 0
io_device_tree_RB_REMOVE 42412
io_device_tree_RB_REMOVE_COLOR 36247
msg_queue_run_batch 9591751506
period_poller_interrupt_init 233
period_poller_set_interrupt_mode 241
poller_insert_timer 24179291
poller_interrupt_fini 1395
poller_register 160107
poller_remove_timer 237
poller_set_interrupt_mode 8
put_io_channel 95045
register_flag_thread 2988
spdk_for_each_channel 748276
spdk_for_each_channel_continue 844097
spdk_for_each_thread 573
spdk_get_io_channel 304567
spdk_get_thread 889087528
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 331788542
spdk_interrupt_register 1429
spdk_interrupt_register_for_events 1627
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3647
spdk_io_channel_from_ctx 24702898
spdk_io_channel_get_io_device 19629826
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 431287182
spdk_io_channel_iter_get_channel 766489
spdk_io_channel_iter_get_ctx 1523599
spdk_io_channel_iter_get_io_device 692372
spdk_io_device_get_name 0
spdk_io_device_register 42418
spdk_io_device_unregister 42415
spdk_poller_get_id 17
spdk_poller_get_name 14
spdk_poller_get_period_ticks 14
spdk_poller_get_state_str 35
spdk_poller_get_stats 14
spdk_poller_pause 168
spdk_poller_register 184
spdk_poller_register_interrupt 2607
spdk_poller_register_named 159923
spdk_poller_resume 165
spdk_poller_unregister 371874
spdk_put_io_channel 304550
spdk_set_thread 450171886
spdk_spin_destroy 88812
spdk_spin_held 13486001
spdk_spin_init 129983
spdk_spin_lock 3316832
spdk_spin_unlock 3316824
spdk_thread_bind 19
spdk_thread_create 7218
spdk_thread_destroy 7113
spdk_thread_exit 7223
spdk_thread_get_app_thread 20190
spdk_thread_get_by_id 692
spdk_thread_get_count 375
spdk_thread_get_cpumask 28160
spdk_thread_get_ctx 36888
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 18683109841
spdk_thread_get_id 91066
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 274
spdk_thread_get_last_tsc 9474516803
spdk_thread_get_name 1130
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 8542
spdk_thread_has_active_pollers 1846859
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 36383
spdk_thread_is_bound 109
spdk_thread_is_exited 9367125243
spdk_thread_is_idle 57453849
spdk_thread_is_running 3441
spdk_thread_lib_fini 2595
spdk_thread_lib_init 277
spdk_thread_lib_init_ext 2321
spdk_thread_next_poller_expiration 22261
spdk_thread_poll 9590147702
spdk_thread_send_critical_msg 1339
spdk_thread_send_msg 15313647
spdk_thread_set_cpumask 11818
spdk_thread_set_interrupt_mode 141
sspin_fini_internal 88809
sspin_init_internal 129983
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 9712174043
thread_execute_timed_poller 24170659
thread_exit 532458
thread_get_io_channel 4403900
thread_has_unpaused_pollers 57452398
thread_insert_poller 160212
thread_interrupt_create 125
thread_interrupt_destroy 125
thread_interrupt_msg_process 1342766
thread_poll 9590206865
thread_send_msg_notification 15314986
thread_trace 2285
thread_update_stats 9590040059
timed_poller_compare 149265739
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 24179291
timed_pollers_tree_RB_INSERT_COLOR 24179291
timed_pollers_tree_RB_MINMAX 15985
timed_pollers_tree_RB_NEXT 24188737
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 24179230
timed_pollers_tree_RB_REMOVE_COLOR 20264622
wrong_thread 0

Generated by: LCOV version 1.15