LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1089
1309
83.2 %
Date:
2024-08-14 00:43:33
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
776
1132
68.6 %
Function Name
Hit count
__posix_abort
0
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_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
spdk_interrupt_set_event_types
0
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_device_get_name
0
spdk_thread_get_first_io_channel
0
spdk_thread_get_interrupt_fd
0
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
wrong_thread
0
__pending_unregister
5
poller_set_interrupt_mode
8
spdk_poller_get_id
8
spdk_poller_get_name
8
spdk_poller_get_period_ticks
8
spdk_poller_get_state_str
8
spdk_poller_get_stats
8
spdk_thread_has_pollers
10
spdk_interrupt_mode_enable
13
period_poller_interrupt_init
15
_thread_exit
17
thread_interrupt_create
17
thread_interrupt_destroy
17
poller_remove_timer
19
spdk_thread_bind
21
period_poller_set_interrupt_mode
23
sspin_stacks_print
28
spdk_thread_set_interrupt_mode
33
io_device_tree_RB_NEXT
45
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_next_timed_poller
78
sspin_stack_print
84
spdk_thread_get_next_active_poller
96
spdk_thread_is_bound
109
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
busy_poller_interrupt_init
138
busy_poller_set_interrupt_mode
138
_thread_remove_pollers
140
poller_interrupt_fini
153
spdk_interrupt_register
171
spdk_interrupt_register_for_events
171
spdk_poller_resume
224
spdk_poller_pause
229
spdk_poller_register
258
spdk_interrupt_unregister
282
spdk_thread_get_count
370
spdk_thread_lib_init
416
_back_to_orig_thread
523
spdk_for_each_thread
523
spdk_thread_get_by_id
565
thread_interrupt_msg_process
653
_on_thread
707
spdk_thread_get_name
1080
spdk_thread_send_critical_msg
1230
spdk_poller_register_interrupt
2089
thread_trace
2106
spdk_thread_lib_init_ext
2159
spdk_thread_lib_fini
2570
_thread_lib_init
2575
io_device_tree_RB_MINMAX
2590
_thread_trace
2868
register_flag_thread
2868
spdk_thread_is_running
3151
_free_thread
6929
spdk_thread_destroy
6938
spdk_thread_create
7109
spdk_thread_exit
7109
spdk_thread_get_stats
7797
interrupt_timerfd_process
8753
spdk_thread_set_cpumask
11598
io_channel_tree_RB_MINMAX
14002
timed_pollers_tree_RB_MINMAX
14323
spdk_thread_get_app_thread
23309
spdk_thread_next_poller_expiration
23430
spdk_thread_get_cpumask
25780
spdk_thread_is_app_thread
33779
spdk_thread_get_ctx
35380
_finish_unregister
35686
io_device_tree_RB_REMOVE_COLOR
36846
io_device_free
44599
io_device_tree_RB_INSERT_COLOR
44604
io_device_tree_RB_REMOVE
44604
spdk_io_device_unregister
44609
io_device_tree_RB_INSERT
44614
spdk_io_device_register
44614
io_channel_tree_RB_REMOVE_COLOR
78266
spdk_thread_get_id
78646
sspin_fini_internal
85849
spdk_spin_destroy
85854
io_channel_tree_RB_REMOVE
95589
io_channel_tree_RB_INSERT
95599
io_channel_tree_RB_INSERT_COLOR
95599
put_io_channel
95661
spdk_spin_init
123971
sspin_init_internal
123971
spdk_poller_register_named
149073
convert_us_to_ticks
149331
poller_register
149331
thread_insert_poller
149455
spdk_put_io_channel
278602
spdk_get_io_channel
278627
spdk_poller_unregister
290675
thread_exit
593261
spdk_io_channel_iter_get_channel
652682
_call_completion
666870
spdk_for_each_channel
666870
spdk_io_channel_iter_get_io_device
671745
_call_channel
729244
spdk_for_each_channel_continue
729244
io_device_get
990121
io_device_tree_RB_FIND
990121
spdk_io_channel_iter_get_ctx
1315954
spdk_thread_has_active_pollers
1848166
_interrupt_wrapper
2000813
spdk_spin_unlock
2230149
spdk_spin_lock
2230155
io_channel_tree_RB_FIND
3973031
thread_get_io_channel
3973031
io_device_cmp
4327705
spdk_set_thread
5675035
spdk_spin_held
7631579
io_channel_cmp
11183296
spdk_thread_send_msg
12975678
thread_send_msg_notification
12976908
spdk_io_channel_get_io_device
17400998
timed_pollers_tree_RB_REMOVE_COLOR
18370744
thread_execute_timed_poller
21910104
timed_pollers_tree_RB_REMOVE
21915416
poller_insert_timer
21915516
timed_pollers_tree_RB_INSERT
21915516
timed_pollers_tree_RB_INSERT_COLOR
21915516
timed_pollers_tree_RB_NEXT
21921280
spdk_io_channel_from_ctx
23033130
spdk_thread_is_idle
53922124
thread_has_unpaused_pollers
53922134
timed_poller_compare
131670940
spdk_interrupt_mode_is_enabled
307236707
spdk_io_channel_get_thread
365204315
spdk_get_thread
482868710
spdk_thread_is_exited
9009068003
spdk_thread_get_last_tsc
9029025486
spdk_thread_poll
9197889641
thread_poll
9197889641
thread_update_stats
9197889641
msg_queue_run_batch
9197890294
thread_execute_poller
9277829689
_get_thread
9694719543
spdk_thread_get_from_ctx
17978066118
Generated by:
LCOV version 1.14