LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1184
1458
81.2 %
Date:
2024-11-20 18:18:54
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3962
10256
38.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
3
spdk_thread_has_pollers
6
poller_set_interrupt_mode
8
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_stats
14
spdk_poller_get_id
17
spdk_thread_bind
19
sspin_stacks_print
19
io_device_tree_RB_NEXT
27
spdk_poller_get_state_str
35
spdk_interrupt_mode_enable
40
sspin_stack_print
57
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
spdk_thread_is_bound
111
thread_interrupt_create
120
thread_interrupt_destroy
120
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_set_interrupt_mode
136
spdk_poller_resume
165
spdk_poller_pause
168
spdk_poller_register
184
period_poller_interrupt_init
233
poller_remove_timer
237
period_poller_set_interrupt_mode
241
_thread_exit
244
spdk_thread_get_interrupt_fd_group
264
spdk_thread_lib_init
277
spdk_thread_get_count
375
_back_to_orig_thread
573
spdk_for_each_thread
573
spdk_thread_get_by_id
660
_on_thread
780
spdk_thread_get_name
1130
spdk_thread_send_critical_msg
1335
thread_trace
2280
spdk_thread_lib_init_ext
2316
spdk_thread_lib_fini
2590
_thread_lib_init
2593
spdk_poller_register_interrupt
2593
io_device_tree_RB_MINMAX
2602
_thread_remove_pollers
2644
busy_poller_interrupt_init
2819
busy_poller_set_interrupt_mode
2819
_thread_trace
2966
register_flag_thread
2966
poller_interrupt_fini
3052
spdk_interrupt_register
3080
spdk_interrupt_register_for_events
3278
spdk_thread_is_running
3453
spdk_interrupt_unregister
5174
_free_thread
7093
spdk_thread_destroy
7098
spdk_thread_create
7201
spdk_thread_exit
7206
spdk_thread_get_stats
8343
spdk_thread_set_cpumask
11862
io_channel_tree_RB_MINMAX
14270
timed_pollers_tree_RB_MINMAX
17289
spdk_thread_get_app_thread
20491
spdk_thread_next_poller_expiration
23274
spdk_thread_get_cpumask
28143
_finish_unregister
33197
io_device_tree_RB_REMOVE_COLOR
36199
spdk_thread_is_app_thread
36268
spdk_thread_get_ctx
36936
io_device_free
42353
io_device_tree_RB_INSERT_COLOR
42356
io_device_tree_RB_REMOVE
42356
spdk_io_device_unregister
42359
io_device_tree_RB_INSERT
42362
spdk_io_device_register
42362
io_channel_tree_RB_REMOVE_COLOR
81944
interrupt_timerfd_process
87345
sspin_fini_internal
88754
spdk_spin_destroy
88757
spdk_thread_get_id
89061
io_channel_tree_RB_REMOVE
94870
io_channel_tree_RB_INSERT
94876
io_channel_tree_RB_INSERT_COLOR
94876
put_io_channel
94932
spdk_spin_init
129852
sspin_init_internal
129852
spdk_poller_register_named
164838
convert_us_to_ticks
165022
poller_register
165022
thread_insert_poller
165127
spdk_put_io_channel
304199
spdk_get_io_channel
304212
spdk_poller_unregister
371751
thread_exit
583918
spdk_io_channel_iter_get_io_device
708575
_call_completion
750967
spdk_for_each_channel
750967
spdk_io_channel_iter_get_channel
762836
_call_channel
838518
spdk_for_each_channel_continue
838518
thread_interrupt_msg_process
861564
io_device_get
1097547
io_device_tree_RB_FIND
1097547
spdk_io_channel_iter_get_ctx
1520589
spdk_thread_has_active_pollers
1835408
spdk_spin_unlock
3010619
spdk_spin_lock
3010627
io_channel_tree_RB_FIND
4246423
thread_get_io_channel
4246423
io_device_cmp
4691220
io_channel_cmp
11609334
spdk_thread_send_msg
13126408
thread_send_msg_notification
13127743
spdk_spin_held
14182970
spdk_io_channel_get_io_device
15991473
timed_pollers_tree_RB_REMOVE_COLOR
18820193
spdk_io_channel_from_ctx
20610525
thread_execute_timed_poller
22732442
timed_pollers_tree_RB_REMOVE
22741197
poller_insert_timer
22741257
timed_pollers_tree_RB_INSERT
22741257
timed_pollers_tree_RB_INSERT_COLOR
22741257
timed_pollers_tree_RB_NEXT
22752219
thread_has_unpaused_pollers
50970511
spdk_thread_is_idle
50972278
timed_poller_compare
134195329
_interrupt_wrapper
260970604
spdk_interrupt_mode_is_enabled
319846977
spdk_io_channel_get_thread
380865108
spdk_set_thread
524635724
spdk_get_thread
763194487
spdk_thread_get_last_tsc
8812580631
spdk_thread_is_exited
8815521048
spdk_thread_poll
9040839906
thread_poll
9040860726
thread_update_stats
9040890043
msg_queue_run_batch
9041834612
thread_execute_poller
9075720647
_get_thread
9818030095
spdk_thread_get_from_ctx
17579374597
Generated by:
LCOV version 1.15