LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1233
1547
79.7 %
Date:
2024-12-13 03:18:31
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4147
10472
39.6 %
Function Name
Hit count
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
536
_call_channel
593326
_call_completion
542540
_finish_unregister
33375
_free_thread
6893
_get_thread
7919733798
_interrupt_wrapper
92062341
_on_thread
747
_thread_exit
137
_thread_lib_init
2533
_thread_remove_pollers
686
_thread_trace
2752
alloc_interrupt
853
busy_poller_interrupt_init
596
busy_poller_set_interrupt_mode
596
convert_us_to_ticks
146470
interrupt_fd_group_wrapper
168109
interrupt_timerfd_process
55518
io_channel_cmp
10494505
io_channel_tree_RB_FIND
3924322
io_channel_tree_RB_INSERT
84684
io_channel_tree_RB_INSERT_COLOR
84684
io_channel_tree_RB_MINMAX
13894
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
84676
io_channel_tree_RB_REMOVE_COLOR
70140
io_device_cmp
3506863
io_device_free
42171
io_device_get
860359
io_device_tree_RB_FIND
860359
io_device_tree_RB_INSERT
42183
io_device_tree_RB_INSERT_COLOR
42175
io_device_tree_RB_MINMAX
2541
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
42175
io_device_tree_RB_REMOVE_COLOR
34543
msg_queue_run_batch
7359688196
period_poller_interrupt_init
133
period_poller_set_interrupt_mode
141
poller_insert_timer
27083118
poller_interrupt_fini
729
poller_register
146470
poller_remove_timer
137
poller_set_interrupt_mode
8
put_io_channel
84743
register_flag_thread
2752
spdk_for_each_channel
542543
spdk_for_each_channel_continue
593326
spdk_for_each_thread
536
spdk_get_io_channel
275622
spdk_get_thread
552839666
spdk_interrupt_mode_enable
27
spdk_interrupt_mode_is_enabled
158671383
spdk_interrupt_register
746
spdk_interrupt_register_ext
851
spdk_interrupt_register_fd_group
2
spdk_interrupt_register_for_events
850
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
2109
spdk_io_channel_from_ctx
18362325
spdk_io_channel_get_io_device
13106638
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
332019209
spdk_io_channel_iter_get_channel
603930
spdk_io_channel_iter_get_ctx
1137456
spdk_io_channel_iter_get_io_device
795025
spdk_io_device_get_name
0
spdk_io_device_register
42183
spdk_io_device_unregister
42180
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
204
spdk_poller_register
243
spdk_poller_register_interrupt
1457
spdk_poller_register_named
146227
spdk_poller_resume
200
spdk_poller_unregister
286967
spdk_put_io_channel
275600
spdk_set_thread
187288259
spdk_spin_destroy
83336
spdk_spin_held
1855984
spdk_spin_init
121501
spdk_spin_lock
1704425
spdk_spin_unlock
1704415
spdk_thread_bind
20
spdk_thread_create
7031
spdk_thread_destroy
6900
spdk_thread_exit
7041
spdk_thread_get_app_thread
21753
spdk_thread_get_by_id
677
spdk_thread_get_count
396
spdk_thread_get_cpumask
24086
spdk_thread_get_ctx
28736
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
14239033433
spdk_thread_get_id
71704
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
160
spdk_thread_get_last_tsc
7179802689
spdk_thread_get_name
1058
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
7916
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3743918
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
33687
spdk_thread_is_bound
129
spdk_thread_is_exited
7152768645
spdk_thread_is_idle
62929765
spdk_thread_is_running
2882
spdk_thread_lib_fini
2525
spdk_thread_lib_init
370
spdk_thread_lib_init_ext
2163
spdk_thread_next_poller_expiration
16353
spdk_thread_poll
7359094166
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1183
spdk_thread_send_msg
12237483
spdk_thread_set_cpumask
8124
spdk_thread_set_interrupt_mode
84
sspin_fini_internal
83332
sspin_init_internal
121501
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
5144223992
thread_execute_timed_poller
27076112
thread_exit
3599148
thread_get_io_channel
3924322
thread_has_unpaused_pollers
62927566
thread_insert_poller
146589
thread_interrupt_create
68
thread_interrupt_destroy
68
thread_interrupt_msg_process
538843
thread_poll
7359182769
thread_run_pp_handlers
0
thread_send_msg_notification
12238664
thread_trace
2114
thread_update_stats
7358717300
timed_poller_compare
223208722
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
27083118
timed_pollers_tree_RB_INSERT_COLOR
27083118
timed_pollers_tree_RB_MINMAX
14867
timed_pollers_tree_RB_NEXT
27090785
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
27083037
timed_pollers_tree_RB_REMOVE_COLOR
24486379
wrong_thread
0
Generated by:
LCOV version 1.15