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-07-15 19:44:11
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
spdk_thread_has_pollers
10
poller_set_interrupt_mode
12
spdk_poller_get_id
12
spdk_poller_get_name
12
spdk_poller_get_period_ticks
12
spdk_poller_get_state_str
12
spdk_poller_get_stats
12
spdk_interrupt_mode_enable
19
period_poller_interrupt_init
21
spdk_thread_bind
21
_thread_exit
23
thread_interrupt_create
23
thread_interrupt_destroy
23
poller_remove_timer
27
sspin_stacks_print
30
period_poller_set_interrupt_mode
33
io_device_tree_RB_NEXT
45
spdk_thread_set_interrupt_mode
47
spdk_thread_get_interrupt_fd_group
82
spdk_thread_get_next_timed_poller
90
sspin_stack_print
90
spdk_thread_get_next_active_poller
96
spdk_thread_is_bound
100
spdk_thread_get_first_active_poller
138
spdk_thread_get_first_paused_poller
138
spdk_thread_get_first_timed_poller
138
spdk_poller_resume
169
busy_poller_interrupt_init
201
busy_poller_set_interrupt_mode
201
_thread_remove_pollers
205
spdk_poller_pause
219
poller_interrupt_fini
222
spdk_interrupt_register
246
spdk_interrupt_register_for_events
246
spdk_poller_register
260
spdk_thread_get_count
371
spdk_interrupt_unregister
394
spdk_thread_lib_init
405
_back_to_orig_thread
552
spdk_for_each_thread
552
spdk_thread_get_by_id
554
_on_thread
741
thread_interrupt_msg_process
912
spdk_poller_register_interrupt
1004
spdk_thread_get_name
1087
spdk_thread_send_critical_msg
1634
thread_trace
3076
spdk_thread_lib_init_ext
3129
spdk_thread_lib_fini
3529
_thread_lib_init
3534
io_device_tree_RB_MINMAX
3549
_thread_trace
3883
register_flag_thread
3883
spdk_thread_is_running
3996
_free_thread
9074
spdk_thread_destroy
9083
spdk_thread_create
9249
spdk_thread_exit
9257
spdk_thread_get_stats
9854
interrupt_timerfd_process
11400
spdk_thread_set_cpumask
11842
io_channel_tree_RB_MINMAX
18282
timed_pollers_tree_RB_MINMAX
18692
spdk_thread_next_poller_expiration
22080
spdk_thread_get_cpumask
30528
spdk_thread_get_ctx
40094
spdk_thread_is_app_thread
45963
spdk_thread_get_app_thread
46513
_finish_unregister
49048
io_device_tree_RB_REMOVE_COLOR
51306
io_device_free
60621
io_device_tree_RB_INSERT_COLOR
60626
io_device_tree_RB_REMOVE
60626
spdk_io_device_unregister
60631
io_device_tree_RB_INSERT
60636
spdk_io_device_register
60636
spdk_thread_get_id
68970
io_channel_tree_RB_REMOVE_COLOR
113920
sspin_fini_internal
122009
spdk_spin_destroy
122014
io_channel_tree_RB_REMOVE
136742
io_channel_tree_RB_INSERT
136747
io_channel_tree_RB_INSERT_COLOR
136747
put_io_channel
136837
spdk_spin_init
169245
sspin_init_internal
169245
spdk_poller_register_named
351784
convert_us_to_ticks
352044
poller_register
352044
thread_insert_poller
352168
spdk_put_io_channel
410406
spdk_get_io_channel
410426
_call_completion
607752
spdk_for_each_channel
607752
_call_channel
666074
spdk_for_each_channel_continue
666074
spdk_poller_unregister
684059
spdk_io_channel_iter_get_channel
851001
spdk_io_channel_iter_get_io_device
945385
io_device_get
1078824
io_device_tree_RB_FIND
1078824
spdk_io_channel_iter_get_ctx
1282275
spdk_spin_held
1891016
spdk_spin_unlock
2154040
spdk_spin_lock
2154050
spdk_thread_has_active_pollers
2537541
_interrupt_wrapper
3864682
io_device_cmp
4438718
io_channel_tree_RB_FIND
4658287
thread_get_io_channel
4658287
thread_exit
6424100
spdk_thread_send_msg
7283402
thread_send_msg_notification
7285036
spdk_set_thread
9456708
io_channel_cmp
12842953
timed_pollers_tree_RB_REMOVE_COLOR
16929995
thread_execute_timed_poller
21532898
timed_pollers_tree_RB_REMOVE
21537785
poller_insert_timer
21537885
timed_pollers_tree_RB_INSERT
21537885
timed_pollers_tree_RB_INSERT_COLOR
21537885
timed_pollers_tree_RB_NEXT
21543402
spdk_io_channel_get_io_device
28867840
spdk_io_channel_from_ctx
38475371
spdk_interrupt_mode_is_enabled
94952793
spdk_thread_is_idle
117913971
thread_has_unpaused_pollers
117913981
timed_poller_compare
138161996
spdk_io_channel_get_thread
335540358
spdk_get_thread
417280913
spdk_thread_get_last_tsc
11687224694
spdk_thread_is_exited
11700236044
spdk_thread_poll
11931142121
thread_poll
11931142121
thread_update_stats
11931142121
msg_queue_run_batch
11931142904
_get_thread
12356778556
thread_execute_poller
13065688051
spdk_thread_get_from_ctx
23353031522
Generated by:
LCOV version 1.14