LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1204
1483
81.2 %
Date:
2024-11-20 10:16:19
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4133
10270
40.2 %
Function Name
Hit count
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
557
_call_channel
671838
_call_completion
586108
_finish_unregister
34509
_free_thread
7354
_get_thread
8857893217
_interrupt_wrapper
260037910
_on_thread
768
_thread_exit
245
_thread_lib_init
2679
_thread_remove_pollers
1769
_thread_trace
2974
busy_poller_interrupt_init
1743
busy_poller_set_interrupt_mode
1743
convert_us_to_ticks
162061
interrupt_timerfd_process
98111
io_channel_cmp
11320250
io_channel_tree_RB_FIND
4218858
io_channel_tree_RB_INSERT
96429
io_channel_tree_RB_INSERT_COLOR
96429
io_channel_tree_RB_MINMAX
14817
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_channel_tree_RB_REMOVE
96421
io_channel_tree_RB_REMOVE_COLOR
82035
io_device_cmp
3817292
io_device_free
43854
io_device_get
936373
io_device_tree_RB_FIND
936373
io_device_tree_RB_INSERT
43866
io_device_tree_RB_INSERT_COLOR
43858
io_device_tree_RB_MINMAX
2691
io_device_tree_RB_NEXT
36
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
43858
io_device_tree_RB_REMOVE_COLOR
36793
msg_queue_run_batch
8115441604
period_poller_interrupt_init
241
period_poller_set_interrupt_mode
249
poller_insert_timer
25668082
poller_interrupt_fini
1984
poller_register
162060
poller_remove_timer
245
poller_set_interrupt_mode
8
put_io_channel
96484
register_flag_thread
2974
spdk_for_each_channel
586109
spdk_for_each_channel_continue
671838
spdk_for_each_thread
557
spdk_get_io_channel
306389
spdk_get_thread
738185879
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
142200597
spdk_interrupt_register
2014
spdk_interrupt_register_ext
2213
spdk_interrupt_register_for_events
2212
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
4035
spdk_io_channel_from_ctx
19988362
spdk_io_channel_get_io_device
15326642
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
359196520
spdk_io_channel_iter_get_channel
684573
spdk_io_channel_iter_get_ctx
1276725
spdk_io_channel_iter_get_io_device
826953
spdk_io_device_get_name
0
spdk_io_device_register
43866
spdk_io_device_unregister
43863
spdk_poller_get_id
20
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_state_str
44
spdk_poller_get_stats
16
spdk_poller_pause
209
spdk_poller_register
243
spdk_poller_register_interrupt
2545
spdk_poller_register_named
161819
spdk_poller_resume
205
spdk_poller_unregister
340236
spdk_put_io_channel
306370
spdk_set_thread
523216308
spdk_spin_destroy
89767
spdk_spin_held
3331264
spdk_spin_init
130706
spdk_spin_lock
2112380
spdk_spin_unlock
2112371
spdk_thread_bind
20
spdk_thread_create
7488
spdk_thread_destroy
7361
spdk_thread_exit
7504
spdk_thread_get_app_thread
22069
spdk_thread_get_by_id
667
spdk_thread_get_count
408
spdk_thread_get_cpumask
28666
spdk_thread_get_ctx
37200
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_get_from_ctx
15613452932
spdk_thread_get_id
78951
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
7841174267
spdk_thread_get_name
1219
spdk_thread_get_next_active_poller
96
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
spdk_thread_get_next_timed_poller
78
spdk_thread_get_stats
8339
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3138280
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36150
spdk_thread_is_bound
124
spdk_thread_is_exited
7859177088
spdk_thread_is_idle
53471926
spdk_thread_is_running
3230
spdk_thread_lib_fini
2675
spdk_thread_lib_init
356
spdk_thread_lib_init_ext
2323
spdk_thread_next_poller_expiration
24239
spdk_thread_poll
8114087941
spdk_thread_send_critical_msg
1322
spdk_thread_send_msg
13352918
spdk_thread_set_cpumask
11880
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
89763
sspin_init_internal
130706
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
7198720679
thread_execute_timed_poller
25660022
thread_exit
3184824
thread_get_io_channel
4218858
thread_has_unpaused_pollers
53469597
thread_insert_poller
162185
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
926424
thread_poll
8114259765
thread_send_msg_notification
13354240
thread_trace
2273
thread_update_stats
8113983688
timed_poller_compare
198402560
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
25668082
timed_pollers_tree_RB_INSERT_COLOR
25668082
timed_pollers_tree_RB_MINMAX
16967
timed_pollers_tree_RB_NEXT
25677314
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
25667973
timed_pollers_tree_RB_REMOVE_COLOR
22713143
wrong_thread
0
Generated by:
LCOV version 1.14