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 04:56:03 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4133 10270 40.2 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 581
_call_channel 811836
_call_completion 730205
_finish_unregister 35883
_free_thread 7581
_get_thread 9264893789
_interrupt_wrapper 237655506
_on_thread 792
_thread_exit 247
_thread_lib_init 2756
_thread_remove_pollers 1428
_thread_trace 3092
busy_poller_interrupt_init 1290
busy_poller_set_interrupt_mode 1290
convert_us_to_ticks 167695
interrupt_timerfd_process 95628
io_channel_cmp 12178087
io_channel_tree_RB_FIND 4585113
io_channel_tree_RB_INSERT 99718
io_channel_tree_RB_INSERT_COLOR 99718
io_channel_tree_RB_MINMAX 15268
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 99710
io_channel_tree_RB_REMOVE_COLOR 85361
io_device_cmp 4549219
io_device_free 45486
io_device_get 1092473
io_device_tree_RB_FIND 1092473
io_device_tree_RB_INSERT 45498
io_device_tree_RB_INSERT_COLOR 45490
io_device_tree_RB_MINMAX 2768
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 45490
io_device_tree_RB_REMOVE_COLOR 38323
msg_queue_run_batch 8447321067
period_poller_interrupt_init 241
period_poller_set_interrupt_mode 249
poller_insert_timer 27474355
poller_interrupt_fini 1531
poller_register 167695
poller_remove_timer 245
poller_set_interrupt_mode 8
put_io_channel 99787
register_flag_thread 3092
spdk_for_each_channel 730206
spdk_for_each_channel_continue 811836
spdk_for_each_thread 581
spdk_get_io_channel 316761
spdk_get_thread 808206238
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 341079416
spdk_interrupt_register 1561
spdk_interrupt_register_ext 1760
spdk_interrupt_register_for_events 1759
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3694
spdk_io_channel_from_ctx 24520643
spdk_io_channel_get_io_device 17407406
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 405320260
spdk_io_channel_iter_get_channel 740276
spdk_io_channel_iter_get_ctx 1476680
spdk_io_channel_iter_get_io_device 797722
spdk_io_device_get_name 0
spdk_io_device_register 45498
spdk_io_device_unregister 45494
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 2659
spdk_poller_register_named 167451
spdk_poller_resume 205
spdk_poller_unregister 321324
spdk_put_io_channel 316741
spdk_set_thread 477971828
spdk_spin_destroy 93202
spdk_spin_held 5551192
spdk_spin_init 135360
spdk_spin_lock 2519126
spdk_spin_unlock 2519116
spdk_thread_bind 20
spdk_thread_create 7715
spdk_thread_destroy 7590
spdk_thread_exit 7731
spdk_thread_get_app_thread 22646
spdk_thread_get_by_id 653
spdk_thread_get_count 415
spdk_thread_get_cpumask 28819
spdk_thread_get_ctx 37074
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 16407485313
spdk_thread_get_id 92416
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 8289290871
spdk_thread_get_name 1236
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 8666
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3804732
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 37651
spdk_thread_is_bound 144
spdk_thread_is_exited 8243175778
spdk_thread_is_idle 117973456
spdk_thread_is_running 2999
spdk_thread_lib_fini 2752
spdk_thread_lib_init 356
spdk_thread_lib_init_ext 2400
spdk_thread_next_poller_expiration 25518
spdk_thread_poll 8446089571
spdk_thread_send_critical_msg 1381
spdk_thread_send_msg 16189121
spdk_thread_set_cpumask 11580
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 93198
sspin_init_internal 135360
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 8741319783
thread_execute_timed_poller 27466620
thread_exit 3312458
thread_get_io_channel 4585113
thread_has_unpaused_pollers 117971276
thread_insert_poller 167820
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 686354
thread_poll 8446301767
thread_send_msg_notification 16190502
thread_trace 2350
thread_update_stats 8446248515
timed_poller_compare 177136264
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 27474355
timed_pollers_tree_RB_INSERT_COLOR 27474355
timed_pollers_tree_RB_MINMAX 17086
timed_pollers_tree_RB_NEXT 27483300
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 27474274
timed_pollers_tree_RB_REMOVE_COLOR 23348777
wrong_thread 0

Generated by: LCOV version 1.15