LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1184
1458
81.2 %
Date:
2024-11-20 11:35:00
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3935
10256
38.4 %
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
3
spdk_thread_has_pollers
6
poller_set_interrupt_mode
8
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_stats
14
spdk_poller_get_id
17
spdk_thread_bind
19
sspin_stacks_print
19
io_device_tree_RB_NEXT
27
spdk_poller_get_state_str
35
spdk_interrupt_mode_enable
41
sspin_stack_print
57
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
spdk_thread_is_bound
107
thread_interrupt_create
125
thread_interrupt_destroy
125
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_set_interrupt_mode
141
spdk_poller_resume
165
spdk_poller_pause
168
spdk_poller_register
184
period_poller_interrupt_init
239
poller_remove_timer
243
period_poller_set_interrupt_mode
247
_thread_exit
249
spdk_thread_get_interrupt_fd_group
274
spdk_thread_lib_init
277
spdk_thread_get_count
375
_back_to_orig_thread
576
spdk_for_each_thread
576
spdk_thread_get_by_id
666
_on_thread
783
spdk_thread_get_name
1130
busy_poller_interrupt_init
1160
busy_poller_set_interrupt_mode
1160
_thread_remove_pollers
1311
spdk_thread_send_critical_msg
1342
poller_interrupt_fini
1399
spdk_interrupt_register
1433
spdk_interrupt_register_for_events
1631
thread_trace
2288
spdk_thread_lib_init_ext
2324
spdk_thread_lib_fini
2598
_thread_lib_init
2601
io_device_tree_RB_MINMAX
2610
spdk_poller_register_interrupt
2610
_thread_trace
2991
register_flag_thread
2991
spdk_thread_is_running
3453
spdk_interrupt_unregister
3630
_free_thread
7119
spdk_thread_destroy
7124
spdk_thread_create
7227
spdk_thread_exit
7233
spdk_thread_get_stats
8545
spdk_thread_set_cpumask
11610
io_channel_tree_RB_MINMAX
14324
timed_pollers_tree_RB_MINMAX
16017
spdk_thread_get_app_thread
20566
spdk_thread_next_poller_expiration
23287
spdk_thread_get_cpumask
27934
_finish_unregister
33276
io_device_tree_RB_REMOVE_COLOR
36295
spdk_thread_is_app_thread
36449
spdk_thread_get_ctx
36474
io_device_free
42460
io_device_tree_RB_INSERT_COLOR
42463
io_device_tree_RB_REMOVE
42463
spdk_io_device_unregister
42466
io_device_tree_RB_INSERT
42469
spdk_io_device_register
42469
io_channel_tree_RB_REMOVE_COLOR
81892
sspin_fini_internal
88792
spdk_spin_destroy
88795
interrupt_timerfd_process
89144
spdk_thread_get_id
91224
io_channel_tree_RB_REMOVE
94835
io_channel_tree_RB_INSERT
94841
io_channel_tree_RB_INSERT_COLOR
94841
put_io_channel
94892
spdk_spin_init
130025
sspin_init_internal
130025
spdk_poller_register_named
160970
convert_us_to_ticks
161154
poller_register
161154
thread_insert_poller
161259
spdk_put_io_channel
304084
spdk_get_io_channel
304099
spdk_poller_unregister
347455
thread_exit
586656
spdk_io_channel_iter_get_io_device
707970
_call_completion
731941
spdk_for_each_channel
731941
spdk_io_channel_iter_get_channel
740619
_call_channel
818736
spdk_for_each_channel_continue
818736
thread_interrupt_msg_process
987715
io_device_get
1078515
io_device_tree_RB_FIND
1078515
spdk_io_channel_iter_get_ctx
1480367
spdk_thread_has_active_pollers
1846607
spdk_spin_unlock
2397536
spdk_spin_lock
2397544
io_channel_tree_RB_FIND
4218178
thread_get_io_channel
4218178
io_device_cmp
4710988
io_channel_cmp
11239094
spdk_spin_held
12153612
spdk_thread_send_msg
13860393
thread_send_msg_notification
13861735
spdk_io_channel_get_io_device
16734290
timed_pollers_tree_RB_REMOVE_COLOR
19977888
spdk_io_channel_from_ctx
22567572
thread_execute_timed_poller
23965204
timed_pollers_tree_RB_REMOVE
23973818
poller_insert_timer
23973878
timed_pollers_tree_RB_INSERT
23973878
timed_pollers_tree_RB_INSERT_COLOR
23973878
timed_pollers_tree_RB_NEXT
23983359
thread_has_unpaused_pollers
53925065
spdk_thread_is_idle
53926740
timed_poller_compare
144754491
_interrupt_wrapper
250120274
spdk_interrupt_mode_is_enabled
354176683
spdk_io_channel_get_thread
384582806
spdk_set_thread
503195044
spdk_get_thread
742690745
spdk_thread_get_last_tsc
9078666823
spdk_thread_is_exited
9084992257
thread_execute_poller
9271554352
thread_update_stats
9292258820
spdk_thread_poll
9292361643
thread_poll
9292414355
msg_queue_run_batch
9293591974
_get_thread
10049867135
spdk_thread_get_from_ctx
18119816402
Generated by:
LCOV version 1.15