LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1086
1303
83.3 %
Date:
2024-07-11 19:06:16
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
772
1126
68.6 %
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
91
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
138
_thread_remove_pollers
177
spdk_poller_pause
178
busy_poller_interrupt_init
189
busy_poller_set_interrupt_mode
189
poller_interrupt_fini
207
spdk_poller_register
208
spdk_interrupt_register
228
spdk_thread_get_count
295
spdk_thread_lib_init
325
spdk_interrupt_unregister
373
_back_to_orig_thread
454
spdk_for_each_thread
454
spdk_thread_get_by_id
532
spdk_thread_get_name
553
_on_thread
594
thread_interrupt_msg_process
758
spdk_poller_register_interrupt
824
spdk_thread_send_critical_msg
1303
thread_trace
3058
spdk_thread_lib_init_ext
3102
_thread_trace
3376
register_flag_thread
3376
spdk_thread_lib_fini
3423
_thread_lib_init
3427
io_device_tree_RB_MINMAX
3439
spdk_thread_is_running
3863
_free_thread
8927
spdk_thread_destroy
8935
spdk_thread_create
9067
spdk_thread_exit
9075
interrupt_timerfd_process
9394
spdk_thread_get_stats
9466
spdk_thread_set_cpumask
16002
io_channel_tree_RB_MINMAX
17958
timed_pollers_tree_RB_MINMAX
18322
spdk_thread_get_app_thread
27512
spdk_thread_get_cpumask
34517
_finish_unregister
36067
io_device_tree_RB_REMOVE_COLOR
37681
spdk_thread_is_app_thread
38169
io_device_free
46177
io_device_tree_RB_INSERT_COLOR
46177
io_device_tree_RB_REMOVE
46177
spdk_io_device_unregister
46181
io_device_tree_RB_INSERT
46185
spdk_io_device_register
46185
spdk_thread_get_ctx
48448
spdk_thread_next_poller_expiration
48947
spdk_thread_get_id
79253
io_channel_tree_RB_REMOVE_COLOR
95560
sspin_fini_internal
98536
spdk_spin_destroy
98540
io_channel_tree_RB_INSERT
112038
io_channel_tree_RB_INSERT_COLOR
112038
io_channel_tree_RB_REMOVE
112038
put_io_channel
112095
spdk_spin_init
137035
sspin_init_internal
137035
spdk_poller_register_named
293008
convert_us_to_ticks
293216
poller_register
293216
thread_insert_poller
293318
spdk_put_io_channel
350999
spdk_get_io_channel
351011
spdk_poller_unregister
713415
_call_completion
719641
spdk_for_each_channel
719641
spdk_io_channel_iter_get_io_device
790702
_call_channel
796215
spdk_for_each_channel_continue
796215
spdk_io_channel_iter_get_channel
862316
io_device_get
1116845
io_device_tree_RB_FIND
1116845
spdk_io_channel_iter_get_ctx
1453765
spdk_thread_has_active_pollers
1938386
spdk_spin_unlock
2669476
spdk_spin_lock
2669484
_interrupt_wrapper
2970609
io_channel_tree_RB_FIND
4680196
thread_get_io_channel
4680196
io_device_cmp
4722002
thread_exit
5079445
spdk_spin_held
8159628
spdk_thread_send_msg
9558582
thread_send_msg_notification
9559885
spdk_interrupt_mode_is_enabled
10206019
io_channel_cmp
12635043
spdk_io_channel_get_io_device
18525611
timed_pollers_tree_RB_REMOVE_COLOR
19466442
thread_execute_timed_poller
24396933
timed_pollers_tree_RB_REMOVE
24401635
poller_insert_timer
24401715
timed_pollers_tree_RB_INSERT
24401715
timed_pollers_tree_RB_INSERT_COLOR
24401715
timed_pollers_tree_RB_NEXT
24407037
spdk_io_channel_from_ctx
24509935
spdk_set_thread
66969703
spdk_thread_is_idle
76018738
thread_has_unpaused_pollers
76018746
timed_poller_compare
151396976
spdk_io_channel_get_thread
433250483
spdk_get_thread
505348728
spdk_thread_get_last_tsc
8780997928
spdk_thread_is_exited
8793075366
spdk_thread_poll
8963777988
thread_poll
8963777988
thread_update_stats
8963777988
msg_queue_run_batch
8963779623
_get_thread
9479801899
thread_execute_poller
11819838680
spdk_thread_get_from_ctx
17554728115
Generated by:
LCOV version 1.14