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