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-15 10:35:06
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4162
10270
40.5 %
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_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
sspin_stacks_print
25
spdk_interrupt_mode_enable
27
io_device_tree_RB_NEXT
36
spdk_poller_get_state_str
44
thread_interrupt_create
68
thread_interrupt_destroy
68
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
spdk_thread_set_interrupt_mode
84
spdk_thread_get_next_active_poller
96
spdk_thread_is_bound
124
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
period_poller_interrupt_init
128
_thread_exit
129
poller_remove_timer
132
period_poller_set_interrupt_mode
136
spdk_thread_get_interrupt_fd_group
160
spdk_poller_resume
187
spdk_poller_pause
191
spdk_poller_register
243
spdk_thread_lib_init
346
spdk_thread_get_count
388
_back_to_orig_thread
533
spdk_for_each_thread
533
busy_poller_interrupt_init
610
busy_poller_set_interrupt_mode
610
spdk_thread_get_by_id
660
_thread_remove_pollers
700
poller_interrupt_fini
738
_on_thread
744
spdk_interrupt_register
763
spdk_interrupt_register_for_events
857
spdk_interrupt_register_ext
858
spdk_thread_get_name
1064
spdk_thread_send_critical_msg
1179
thread_trace
2105
spdk_thread_lib_init_ext
2154
spdk_poller_register_interrupt
2239
spdk_interrupt_unregister
2279
spdk_thread_lib_fini
2496
_thread_lib_init
2500
io_device_tree_RB_MINMAX
2512
_thread_trace
2753
register_flag_thread
2753
spdk_thread_is_running
2921
_free_thread
6819
spdk_thread_destroy
6825
spdk_thread_create
6953
spdk_thread_exit
6968
spdk_thread_get_stats
7844
spdk_thread_set_cpumask
7980
io_channel_tree_RB_MINMAX
13748
timed_pollers_tree_RB_MINMAX
14729
spdk_thread_next_poller_expiration
18929
spdk_thread_get_app_thread
21530
spdk_thread_get_cpumask
23715
spdk_thread_get_id
26387
spdk_thread_get_ctx
28348
_finish_unregister
32299
spdk_thread_is_app_thread
33460
io_device_tree_RB_REMOVE_COLOR
34216
io_device_free
40955
io_device_tree_RB_INSERT_COLOR
40959
io_device_tree_RB_REMOVE
40959
spdk_io_device_unregister
40963
io_device_tree_RB_INSERT
40967
spdk_io_device_register
40967
interrupt_timerfd_process
52636
io_channel_tree_RB_REMOVE_COLOR
70655
sspin_fini_internal
82522
spdk_spin_destroy
82526
io_channel_tree_RB_REMOVE
84219
io_channel_tree_RB_INSERT
84227
io_channel_tree_RB_INSERT_COLOR
84227
put_io_channel
84289
spdk_spin_init
120250
sspin_init_internal
120250
spdk_poller_register_named
145305
poller_register
145546
convert_us_to_ticks
145549
thread_insert_poller
145656
spdk_put_io_channel
275796
spdk_get_io_channel
275814
spdk_poller_unregister
281406
thread_interrupt_msg_process
411043
_call_completion
551826
spdk_for_each_channel
551826
_call_channel
603666
spdk_for_each_channel_continue
603760
spdk_io_channel_iter_get_channel
613768
spdk_io_channel_iter_get_io_device
826482
io_device_get
868615
io_device_tree_RB_FIND
868615
spdk_io_channel_iter_get_ctx
1159758
spdk_spin_unlock
1749957
spdk_spin_lock
1749967
spdk_spin_held
3318175
spdk_thread_has_active_pollers
3318384
io_device_cmp
3513076
thread_exit
3996587
io_channel_tree_RB_FIND
4080265
thread_get_io_channel
4080265
io_channel_cmp
10995698
spdk_io_channel_get_io_device
12453980
spdk_thread_send_msg
12860674
thread_send_msg_notification
12861852
spdk_io_channel_from_ctx
18021696
timed_pollers_tree_RB_REMOVE_COLOR
22663745
thread_execute_timed_poller
25368482
timed_pollers_tree_RB_REMOVE
25375184
poller_insert_timer
25375265
timed_pollers_tree_RB_INSERT
25375265
timed_pollers_tree_RB_INSERT_COLOR
25375265
timed_pollers_tree_RB_NEXT
25382668
thread_has_unpaused_pollers
55769574
spdk_thread_is_idle
55771348
_interrupt_wrapper
130527116
spdk_interrupt_mode_is_enabled
148843344
timed_poller_compare
199614983
spdk_set_thread
263158966
spdk_io_channel_get_thread
315081547
spdk_get_thread
530548325
thread_execute_poller
6155639673
spdk_thread_get_last_tsc
6840030469
spdk_thread_is_exited
6868113678
thread_update_stats
7078463093
spdk_thread_poll
7078603894
thread_poll
7078926847
msg_queue_run_batch
7079486681
_get_thread
7616076011
spdk_thread_get_from_ctx
13652506353
Generated by:
LCOV version 1.14