LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1091
1309
83.3 %
Date:
2024-07-14 15:39:14
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
761
1132
67.2 %
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
4
spdk_thread_has_pollers
8
poller_set_interrupt_mode
10
spdk_poller_get_id
10
spdk_poller_get_name
10
spdk_poller_get_period_ticks
10
spdk_poller_get_state_str
10
spdk_poller_get_stats
10
spdk_interrupt_mode_enable
16
period_poller_interrupt_init
18
_thread_exit
20
spdk_thread_bind
20
thread_interrupt_create
20
thread_interrupt_destroy
20
poller_remove_timer
23
sspin_stacks_print
24
period_poller_set_interrupt_mode
28
io_device_tree_RB_NEXT
36
spdk_thread_set_interrupt_mode
40
spdk_thread_get_interrupt_fd_group
70
sspin_stack_print
72
spdk_thread_get_next_timed_poller
84
spdk_thread_is_bound
92
spdk_thread_get_next_active_poller
96
spdk_thread_get_first_active_poller
132
spdk_thread_get_first_paused_poller
132
spdk_thread_get_first_timed_poller
132
spdk_poller_resume
141
_thread_remove_pollers
164
busy_poller_interrupt_init
164
busy_poller_set_interrupt_mode
164
spdk_poller_pause
181
poller_interrupt_fini
182
spdk_interrupt_register
203
spdk_interrupt_register_for_events
203
spdk_poller_register
208
spdk_thread_lib_init
331
spdk_thread_get_count
334
spdk_interrupt_unregister
348
spdk_thread_get_by_id
507
_back_to_orig_thread
535
spdk_for_each_thread
535
_on_thread
675
thread_interrupt_msg_process
764
spdk_poller_register_interrupt
911
spdk_thread_get_name
1087
spdk_thread_send_critical_msg
1565
thread_trace
2918
spdk_thread_lib_init_ext
2961
spdk_thread_lib_fini
3288
_thread_lib_init
3292
io_device_tree_RB_MINMAX
3304
spdk_thread_is_running
3550
_thread_trace
3683
register_flag_thread
3683
_free_thread
8603
spdk_thread_destroy
8610
spdk_thread_create
8743
spdk_thread_exit
8750
interrupt_timerfd_process
9279
spdk_thread_get_stats
9493
spdk_thread_set_cpumask
11526
io_channel_tree_RB_MINMAX
17313
timed_pollers_tree_RB_MINMAX
17664
spdk_thread_next_poller_expiration
22481
spdk_thread_get_cpumask
29447
spdk_thread_get_ctx
38784
spdk_thread_get_app_thread
39154
spdk_thread_is_app_thread
43381
_finish_unregister
43988
io_device_tree_RB_REMOVE_COLOR
46440
io_device_free
54754
io_device_tree_RB_INSERT_COLOR
54758
io_device_tree_RB_REMOVE
54758
spdk_io_device_unregister
54762
io_device_tree_RB_INSERT
54766
spdk_io_device_register
54766
spdk_thread_get_id
80627
io_channel_tree_RB_REMOVE_COLOR
105699
sspin_fini_internal
113320
spdk_spin_destroy
113324
io_channel_tree_RB_REMOVE
124808
io_channel_tree_RB_INSERT
124812
io_channel_tree_RB_INSERT_COLOR
124812
put_io_channel
124891
spdk_spin_init
157402
sspin_init_internal
157402
spdk_poller_register_named
283277
convert_us_to_ticks
283485
poller_register
283485
thread_insert_poller
283590
spdk_put_io_channel
377103
spdk_get_io_channel
377119
spdk_poller_unregister
646157
_call_completion
705006
spdk_for_each_channel
705006
_call_channel
760062
spdk_for_each_channel_continue
760062
spdk_io_channel_iter_get_io_device
779042
spdk_io_channel_iter_get_channel
804992
io_device_get
1136899
io_device_tree_RB_FIND
1136899
spdk_io_channel_iter_get_ctx
1390533
spdk_thread_has_active_pollers
2043103
_interrupt_wrapper
2548983
spdk_spin_unlock
2571175
spdk_spin_lock
2571183
io_channel_tree_RB_FIND
4449535
thread_get_io_channel
4449535
io_device_cmp
4724449
thread_exit
4766055
spdk_set_thread
6472122
spdk_spin_held
7420822
spdk_thread_send_msg
11683424
thread_send_msg_notification
11684989
io_channel_cmp
12127750
timed_pollers_tree_RB_REMOVE_COLOR
14886568
thread_execute_timed_poller
20443378
timed_pollers_tree_RB_REMOVE
20447810
poller_insert_timer
20447890
timed_pollers_tree_RB_INSERT
20447890
timed_pollers_tree_RB_INSERT_COLOR
20447890
timed_pollers_tree_RB_NEXT
20453132
spdk_io_channel_get_io_device
26284540
spdk_io_channel_from_ctx
35524055
timed_poller_compare
95423090
spdk_thread_is_idle
150623352
thread_has_unpaused_pollers
150623360
spdk_interrupt_mode_is_enabled
311537817
spdk_io_channel_get_thread
377931588
spdk_get_thread
474531372
spdk_thread_is_exited
10672003359
spdk_thread_get_last_tsc
10677733517
spdk_thread_poll
10835756599
thread_poll
10835756599
thread_update_stats
10835756599
msg_queue_run_batch
10835757247
_get_thread
11323109115
thread_execute_poller
12419778981
spdk_thread_get_from_ctx
21306871141
Generated by:
LCOV version 1.14