LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1202
1483
81.1 %
Date:
2024-11-20 10:35:50
Functions:
141
163
86.5 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4187
10270
40.8 %
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_active_poller
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
4
spdk_thread_get_trace_id
6
poller_set_interrupt_mode
8
spdk_thread_has_pollers
8
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_stats
16
spdk_poller_get_id
20
spdk_thread_bind
20
spdk_thread_get_first_active_poller
24
spdk_thread_get_first_paused_poller
24
spdk_thread_get_first_timed_poller
24
spdk_thread_get_next_timed_poller
24
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
40
spdk_poller_get_state_str
44
spdk_thread_is_bound
71
sspin_stack_print
75
thread_interrupt_create
120
thread_interrupt_destroy
120
spdk_thread_set_interrupt_mode
136
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
235
poller_remove_timer
239
_thread_exit
242
period_poller_set_interrupt_mode
243
spdk_poller_register
243
spdk_thread_get_interrupt_fd_group
264
spdk_thread_lib_init
367
spdk_thread_get_count
393
spdk_thread_get_by_id
401
_back_to_orig_thread
519
spdk_for_each_thread
519
_on_thread
634
spdk_thread_get_name
854
spdk_thread_send_critical_msg
1269
busy_poller_interrupt_init
1502
busy_poller_set_interrupt_mode
1502
_thread_remove_pollers
1594
poller_interrupt_fini
1737
spdk_interrupt_register
1765
spdk_interrupt_register_ext
1963
spdk_interrupt_register_for_events
1963
thread_trace
2184
spdk_thread_lib_init_ext
2234
spdk_poller_register_interrupt
2438
spdk_thread_lib_fini
2597
_thread_lib_init
2601
io_device_tree_RB_MINMAX
2613
_thread_trace
2864
register_flag_thread
2864
spdk_thread_is_running
3056
spdk_interrupt_unregister
3777
spdk_thread_get_stats
6747
_free_thread
7044
spdk_thread_destroy
7052
spdk_thread_create
7178
spdk_thread_exit
7193
spdk_thread_set_cpumask
11960
io_channel_tree_RB_MINMAX
14197
timed_pollers_tree_RB_MINMAX
16077
spdk_thread_get_app_thread
22055
spdk_thread_next_poller_expiration
22534
spdk_thread_get_cpumask
27525
_finish_unregister
33771
spdk_thread_is_app_thread
35032
io_device_tree_RB_REMOVE_COLOR
35993
spdk_thread_get_ctx
36578
io_device_free
42952
io_device_tree_RB_INSERT_COLOR
42956
io_device_tree_RB_REMOVE
42956
spdk_io_device_unregister
42960
io_device_tree_RB_INSERT
42964
spdk_io_device_register
42964
spdk_thread_get_id
76672
io_channel_tree_RB_REMOVE_COLOR
80731
interrupt_timerfd_process
83716
sspin_fini_internal
88547
spdk_spin_destroy
88551
io_channel_tree_RB_REMOVE
94852
io_channel_tree_RB_INSERT
94860
io_channel_tree_RB_INSERT_COLOR
94860
put_io_channel
94915
spdk_spin_init
128544
sspin_init_internal
128544
spdk_poller_register_named
157771
poller_register
158013
convert_us_to_ticks
158018
thread_insert_poller
158143
spdk_put_io_channel
302258
spdk_get_io_channel
302280
spdk_poller_unregister
329096
_call_completion
594535
spdk_for_each_channel
594535
_call_channel
684746
spdk_for_each_channel_continue
684746
spdk_io_channel_iter_get_channel
695631
spdk_io_channel_iter_get_io_device
843817
io_device_get
939787
io_device_tree_RB_FIND
939787
thread_interrupt_msg_process
991087
spdk_io_channel_iter_get_ctx
1295782
spdk_spin_unlock
2422245
spdk_spin_lock
2422256
spdk_spin_held
3311029
spdk_thread_has_active_pollers
3325000
io_device_cmp
3867012
thread_exit
4065545
io_channel_tree_RB_FIND
4288594
thread_get_io_channel
4288594
io_channel_cmp
11483760
spdk_thread_send_msg
12769017
thread_send_msg_notification
12770285
spdk_io_channel_get_io_device
13574043
spdk_io_channel_from_ctx
18015404
timed_pollers_tree_RB_REMOVE_COLOR
21920999
thread_execute_timed_poller
24673046
timed_pollers_tree_RB_REMOVE
24681213
poller_insert_timer
24681294
timed_pollers_tree_RB_INSERT
24681294
timed_pollers_tree_RB_INSERT_COLOR
24681294
timed_pollers_tree_RB_NEXT
24690642
thread_has_unpaused_pollers
60739311
spdk_thread_is_idle
60744608
spdk_interrupt_mode_is_enabled
149494244
timed_poller_compare
197741689
_interrupt_wrapper
252625172
spdk_io_channel_get_thread
326094168
spdk_set_thread
508517228
spdk_get_thread
674435306
thread_execute_poller
6753630266
spdk_thread_get_last_tsc
7300929880
spdk_thread_is_exited
7328960904
thread_update_stats
7555188054
spdk_thread_poll
7555196841
thread_poll
7555207533
msg_queue_run_batch
7556646832
_get_thread
8238063915
spdk_thread_get_from_ctx
14573862050
Generated by:
LCOV version 1.15