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-19 21:39:11 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4132 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 607
_call_channel 892075
_call_completion 800986
_finish_unregister 37488
_free_thread 7961
_get_thread 10289687622
_interrupt_wrapper 241609798
_on_thread 818
_thread_exit 248
_thread_lib_init 2863
_thread_remove_pollers 1267
_thread_trace 3233
busy_poller_interrupt_init 1082
busy_poller_set_interrupt_mode 1082
convert_us_to_ticks 178861
interrupt_timerfd_process 96576
io_channel_cmp 12852008
io_channel_tree_RB_FIND 4890623
io_channel_tree_RB_INSERT 113071
io_channel_tree_RB_INSERT_COLOR 113071
io_channel_tree_RB_MINMAX 16033
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 113063
io_channel_tree_RB_REMOVE_COLOR 98030
io_device_cmp 5060139
io_device_free 47483
io_device_get 1223467
io_device_tree_RB_FIND 1223467
io_device_tree_RB_INSERT 47495
io_device_tree_RB_INSERT_COLOR 47487
io_device_tree_RB_MINMAX 2875
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 47487
io_device_tree_RB_REMOVE_COLOR 40148
msg_queue_run_batch 9398292618
period_poller_interrupt_init 241
period_poller_set_interrupt_mode 249
poller_insert_timer 28858766
poller_interrupt_fini 1323
poller_register 178860
poller_remove_timer 245
poller_set_interrupt_mode 8
put_io_channel 113149
register_flag_thread 3233
spdk_for_each_channel 800986
spdk_for_each_channel_continue 892075
spdk_for_each_thread 607
spdk_get_io_channel 374978
spdk_get_thread 880620394
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 328616560
spdk_interrupt_register 1353
spdk_interrupt_register_ext 1552
spdk_interrupt_register_for_events 1551
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3536
spdk_io_channel_from_ctx 25915051
spdk_io_channel_get_io_device 18191244
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 452945605
spdk_io_channel_iter_get_channel 819430
spdk_io_channel_iter_get_ctx 1635192
spdk_io_channel_iter_get_io_device 806201
spdk_io_device_get_name 0
spdk_io_device_register 47495
spdk_io_device_unregister 47491
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 213
spdk_poller_register 243
spdk_poller_register_interrupt 2843
spdk_poller_register_named 178618
spdk_poller_resume 209
spdk_poller_unregister 388729
spdk_put_io_channel 374960
spdk_set_thread 486024775
spdk_spin_destroy 99476
spdk_spin_held 6453229
spdk_spin_init 143519
spdk_spin_lock 2802624
spdk_spin_unlock 2802614
spdk_thread_bind 20
spdk_thread_create 8095
spdk_thread_destroy 7968
spdk_thread_exit 8110
spdk_thread_get_app_thread 22987
spdk_thread_get_by_id 688
spdk_thread_get_count 421
spdk_thread_get_cpumask 33759
spdk_thread_get_ctx 45968
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 18322060567
spdk_thread_get_id 96917
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 9256030135
spdk_thread_get_name 1389
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 9086
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3824237
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 39413
spdk_thread_is_bound 148
spdk_thread_is_exited 9196270942
spdk_thread_is_idle 144823564
spdk_thread_is_running 3209
spdk_thread_lib_fini 2859
spdk_thread_lib_init 356
spdk_thread_lib_init_ext 2507
spdk_thread_next_poller_expiration 23323
spdk_thread_poll 9396676239
spdk_thread_send_critical_msg 1465
spdk_thread_send_msg 18341961
spdk_thread_set_cpumask 15656
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 99472
sspin_init_internal 143519
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 10014376953
thread_execute_timed_poller 28850121
thread_exit 3875657
thread_get_io_channel 4890623
thread_has_unpaused_pollers 144821273
thread_insert_poller 178990
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 755445
thread_poll 9397084345
thread_send_msg_notification 18343424
thread_trace 2456
thread_update_stats 9396684355
timed_poller_compare 186743992
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 28858766
timed_pollers_tree_RB_INSERT_COLOR 28858766
timed_pollers_tree_RB_MINMAX 17692
timed_pollers_tree_RB_NEXT 28868552
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 28858683
timed_pollers_tree_RB_REMOVE_COLOR 24528803
wrong_thread 0

Generated by: LCOV version 1.15