LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1195 1490 80.2 %
Date: 2024-12-09 16:12:14 Functions: 142 165 86.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3987 10364 38.5 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 560
_call_channel 630241
_call_completion 535806
_finish_unregister 33254
_free_thread 7069
_get_thread 8583729818
_interrupt_wrapper 263892886
_on_thread 767
_thread_exit 249
_thread_lib_init 2581
_thread_remove_pollers 1607
_thread_trace 2904
busy_poller_interrupt_init 1588
busy_poller_set_interrupt_mode 1588
convert_us_to_ticks 164674
interrupt_timerfd_process 90293
io_channel_cmp 10278012
io_channel_tree_RB_FIND 3835439
io_channel_tree_RB_INSERT 93293
io_channel_tree_RB_INSERT_COLOR 93293
io_channel_tree_RB_MINMAX 14222
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 93287
io_channel_tree_RB_REMOVE_COLOR 79544
io_device_cmp 3543940
io_device_free 42421
io_device_get 875387
io_device_tree_RB_FIND 875387
io_device_tree_RB_INSERT 42430
io_device_tree_RB_INSERT_COLOR 42424
io_device_tree_RB_MINMAX 2587
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 42424
io_device_tree_RB_REMOVE_COLOR 35638
msg_queue_run_batch 7871792387
period_poller_interrupt_init 237
period_poller_set_interrupt_mode 245
poller_insert_timer 19954787
poller_interrupt_fini 1825
poller_register 164674
poller_remove_timer 241
poller_set_interrupt_mode 8
put_io_channel 93355
register_flag_thread 2904
spdk_for_each_channel 535806
spdk_for_each_channel_continue 630241
spdk_for_each_thread 560
spdk_get_io_channel 297145
spdk_get_thread 697055833
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 163826940
spdk_interrupt_register 1855
spdk_interrupt_register_ext 2054
spdk_interrupt_register_for_events 2053
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3880
spdk_io_channel_from_ctx 16902851
spdk_io_channel_get_io_device 11599887
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 314201783
spdk_io_channel_iter_get_channel 648379
spdk_io_channel_iter_get_ctx 1182447
spdk_io_channel_iter_get_io_device 701587
spdk_io_device_get_name 0
spdk_io_device_register 42430
spdk_io_device_unregister 42427
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 187
spdk_poller_register_interrupt 1742
spdk_poller_register_named 164487
spdk_poller_resume 165
spdk_poller_unregister 348493
spdk_put_io_channel 297128
spdk_set_thread 530876336
spdk_spin_destroy 87086
spdk_spin_held 1158558
spdk_spin_init 128082
spdk_spin_lock 2309246
spdk_spin_unlock 2309238
spdk_thread_bind 19
spdk_thread_create 7180
spdk_thread_destroy 7076
spdk_thread_exit 7182
spdk_thread_get_app_thread 20776
spdk_thread_get_by_id 672
spdk_thread_get_count 377
spdk_thread_get_cpumask 28427
spdk_thread_get_ctx 37044
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 15269384723
spdk_thread_get_id 79068
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7672659614
spdk_thread_get_name 1215
spdk_thread_get_next_active_poller 48
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 8206
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 1891264
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 35646
spdk_thread_is_bound 116
spdk_thread_is_exited 7659360107
spdk_thread_is_idle 58729996
spdk_thread_is_running 3157
spdk_thread_lib_fini 2575
spdk_thread_lib_init 295
spdk_thread_lib_init_ext 2286
spdk_thread_next_poller_expiration 25688
spdk_thread_poll 7870724808
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1309
spdk_thread_send_msg 15340449
spdk_thread_set_cpumask 11938
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 87083
sspin_init_internal 128082
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 5645998396
thread_execute_timed_poller 19946560
thread_exit 3235084
thread_get_io_channel 3835439
thread_has_unpaused_pollers 58729006
thread_insert_poller 164779
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 884508
thread_poll 7870733867
thread_run_pp_handlers 0
thread_send_msg_notification 15341758
thread_trace 2247
thread_update_stats 7870490226
timed_poller_compare 145147108
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 19954787
timed_pollers_tree_RB_INSERT_COLOR 19954787
timed_pollers_tree_RB_MINMAX 16208
timed_pollers_tree_RB_NEXT 19964187
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 19954727
timed_pollers_tree_RB_REMOVE_COLOR 17203234
wrong_thread 0

Generated by: LCOV version 1.14