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-13 08:37:22
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
113
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
137
busy_poller_set_interrupt_mode
137
_thread_remove_pollers
138
poller_interrupt_fini
152
spdk_interrupt_register
170
spdk_interrupt_register_for_events
170
spdk_poller_resume
224
spdk_poller_pause
229
spdk_poller_register
258
spdk_interrupt_unregister
320
spdk_thread_get_count
373
spdk_thread_lib_init
416
_back_to_orig_thread
557
spdk_for_each_thread
557
spdk_thread_get_by_id
562
thread_interrupt_msg_process
648
_on_thread
744
spdk_thread_get_name
1087
spdk_thread_send_critical_msg
1273
thread_trace
2155
spdk_poller_register_interrupt
2162
spdk_thread_lib_init_ext
2208
spdk_thread_lib_fini
2619
_thread_lib_init
2624
io_device_tree_RB_MINMAX
2639
_thread_trace
2919
register_flag_thread
2919
spdk_thread_is_running
3222
_free_thread
7123
spdk_thread_destroy
7132
spdk_thread_create
7303
spdk_thread_exit
7303
spdk_thread_get_stats
8009
interrupt_timerfd_process
9187
spdk_thread_set_cpumask
11322
io_channel_tree_RB_MINMAX
14390
timed_pollers_tree_RB_MINMAX
14709
spdk_thread_get_app_thread
22933
spdk_thread_next_poller_expiration
23421
spdk_thread_get_cpumask
25910
spdk_thread_is_app_thread
34721
spdk_thread_get_ctx
35215
_finish_unregister
36210
io_device_tree_RB_REMOVE_COLOR
37487
io_device_free
45292
io_device_tree_RB_INSERT_COLOR
45297
io_device_tree_RB_REMOVE
45297
spdk_io_device_unregister
45302
io_device_tree_RB_INSERT
45307
spdk_io_device_register
45307
spdk_thread_get_id
78697
io_channel_tree_RB_REMOVE_COLOR
78989
sspin_fini_internal
86756
spdk_spin_destroy
86761
io_channel_tree_RB_REMOVE
96535
io_channel_tree_RB_INSERT
96545
io_channel_tree_RB_INSERT_COLOR
96545
put_io_channel
96595
spdk_spin_init
125742
sspin_init_internal
125742
spdk_poller_register_named
159838
convert_us_to_ticks
160096
poller_register
160096
thread_insert_poller
160220
spdk_put_io_channel
281099
spdk_get_io_channel
281124
spdk_poller_unregister
297193
thread_exit
628148
_call_completion
665419
spdk_for_each_channel
665419
spdk_io_channel_iter_get_channel
665707
spdk_io_channel_iter_get_io_device
688943
_call_channel
732026
spdk_for_each_channel_continue
732026
io_device_get
991860
io_device_tree_RB_FIND
991860
spdk_io_channel_iter_get_ctx
1322608
spdk_thread_has_active_pollers
1821515
_interrupt_wrapper
2020841
spdk_spin_unlock
2292569
spdk_spin_lock
2292575
io_channel_tree_RB_FIND
3971374
thread_get_io_channel
3971374
io_device_cmp
4303434
spdk_set_thread
5735086
spdk_spin_held
7505788
io_channel_cmp
11121238
spdk_thread_send_msg
13169259
thread_send_msg_notification
13170532
timed_pollers_tree_RB_REMOVE_COLOR
18801212
spdk_io_channel_get_io_device
19110409
thread_execute_timed_poller
23036596
timed_pollers_tree_RB_REMOVE
23042029
poller_insert_timer
23042129
timed_pollers_tree_RB_INSERT
23042129
timed_pollers_tree_RB_INSERT_COLOR
23042129
timed_pollers_tree_RB_NEXT
23048062
spdk_io_channel_from_ctx
24883379
spdk_thread_is_idle
53600044
thread_has_unpaused_pollers
53600054
timed_poller_compare
134140855
spdk_interrupt_mode_is_enabled
312867644
spdk_io_channel_get_thread
386370081
spdk_get_thread
516836369
spdk_thread_is_exited
9581233953
spdk_thread_get_last_tsc
9609404204
spdk_thread_poll
9794286057
thread_poll
9794286057
thread_update_stats
9794286057
msg_queue_run_batch
9794286705
thread_execute_poller
10022210159
_get_thread
10325279384
spdk_thread_get_from_ctx
19117253010
Generated by:
LCOV version 1.14