LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1086 1303 83.3 %
Date: 2024-07-10 16:15:41 Functions: 139 160 86.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 772 1126 68.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 435
_call_channel 582854
_call_completion 507776
_finish_unregister 35582
_free_thread 8707
_get_thread 9269864352
_interrupt_wrapper 5671714
_on_thread 575
_thread_exit 20
_thread_lib_init 3339
_thread_remove_pollers 173
_thread_trace 3285
busy_poller_interrupt_init 188
busy_poller_set_interrupt_mode 188
convert_us_to_ticks 293963
interrupt_timerfd_process 10492
io_channel_cmp 10778446
io_channel_tree_RB_FIND 4019376
io_channel_tree_RB_INSERT 111282
io_channel_tree_RB_INSERT_COLOR 111282
io_channel_tree_RB_MINMAX 17518
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 111282
io_channel_tree_RB_REMOVE_COLOR 94990
io_device_cmp 3641113
io_device_free 45451
io_device_get 901678
io_device_tree_RB_FIND 901678
io_device_tree_RB_INSERT 45459
io_device_tree_RB_INSERT_COLOR 45451
io_device_tree_RB_MINMAX 3351
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 45451
io_device_tree_RB_REMOVE_COLOR 37121
msg_queue_run_batch 8747449163
period_poller_interrupt_init 18
period_poller_set_interrupt_mode 28
poller_insert_timer 22732353
poller_interrupt_fini 206
poller_register 293963
poller_remove_timer 23
poller_set_interrupt_mode 10
put_io_channel 111311
register_flag_thread 3285
spdk_for_each_channel 507776
spdk_for_each_channel_continue 582854
spdk_for_each_thread 435
spdk_get_io_channel 348435
spdk_get_thread 512547887
spdk_interrupt_mode_enable 16
spdk_interrupt_mode_is_enabled 9614250
spdk_interrupt_register 227
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 372
spdk_io_channel_from_ctx 23919489
spdk_io_channel_get_io_device 18856327
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 431769980
spdk_io_channel_iter_get_channel 761397
spdk_io_channel_iter_get_ctx 1138697
spdk_io_channel_iter_get_io_device 803670
spdk_io_device_get_name 0
spdk_io_device_register 45459
spdk_io_device_unregister 45455
spdk_poller_get_id 10
spdk_poller_get_name 10
spdk_poller_get_period_ticks 10
spdk_poller_get_state_str 10
spdk_poller_get_stats 10
spdk_poller_pause 178
spdk_poller_register 208
spdk_poller_register_interrupt 805
spdk_poller_register_named 293755
spdk_poller_resume 138
spdk_poller_unregister 726145
spdk_put_io_channel 348423
spdk_set_thread 63643564
spdk_spin_destroy 98033
spdk_spin_held 7447661
spdk_spin_init 135824
spdk_spin_lock 1895359
spdk_spin_unlock 1895351
spdk_thread_bind 20
spdk_thread_create 8847
spdk_thread_destroy 8715
spdk_thread_exit 8855
spdk_thread_get_app_thread 28009
spdk_thread_get_by_id 522
spdk_thread_get_count 294
spdk_thread_get_cpumask 34055
spdk_thread_get_ctx 47939
spdk_thread_get_first_active_poller 132
spdk_thread_get_first_io_channel 0
spdk_thread_get_first_paused_poller 132
spdk_thread_get_first_timed_poller 132
spdk_thread_get_from_ctx 17105328308
spdk_thread_get_id 79802
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 70
spdk_thread_get_last_tsc 8569124672
spdk_thread_get_name 546
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 84
spdk_thread_get_stats 9205
spdk_thread_has_active_pollers 1951304
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 37290
spdk_thread_is_bound 83
spdk_thread_is_exited 8573042300
spdk_thread_is_idle 75162529
spdk_thread_is_running 3792
spdk_thread_lib_fini 3335
spdk_thread_lib_init 325
spdk_thread_lib_init_ext 3014
spdk_thread_next_poller_expiration 47711
spdk_thread_poll 8747448531
spdk_thread_send_critical_msg 1268
spdk_thread_send_msg 8966872
spdk_thread_set_cpumask 15974
spdk_thread_set_interrupt_mode 40
sspin_fini_internal 98029
sspin_init_internal 135824
sspin_stack_print 72
sspin_stacks_print 24
thread_execute_poller 11723395442
thread_execute_timed_poller 22727558
thread_exit 5327470
thread_get_io_channel 4019376
thread_has_unpaused_pollers 75162537
thread_insert_poller 294065
thread_interrupt_create 20
thread_interrupt_destroy 20
thread_interrupt_msg_process 755
thread_poll 8747448531
thread_send_msg_notification 8968140
thread_trace 2970
thread_update_stats 8747448531
timed_poller_compare 146366700
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 22732353
timed_pollers_tree_RB_INSERT_COLOR 22732353
timed_pollers_tree_RB_MINMAX 17878
timed_pollers_tree_RB_NEXT 22737614
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 22732273
timed_pollers_tree_RB_REMOVE_COLOR 18640394
wrong_thread 0

Generated by: LCOV version 1.14