LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1089
1309
83.2 %
Date:
2024-08-11 23:22:04
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
776
1132
68.6 %
Function Name
Hit count
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
534
_call_channel
716040
_call_completion
649671
_finish_unregister
34130
_free_thread
6891
_get_thread
9298439521
_interrupt_wrapper
1940437
_on_thread
718
_thread_exit
17
_thread_lib_init
2565
_thread_remove_pollers
140
_thread_trace
2855
busy_poller_interrupt_init
137
busy_poller_set_interrupt_mode
137
convert_us_to_ticks
154309
interrupt_timerfd_process
8889
io_channel_cmp
10803560
io_channel_tree_RB_FIND
3830175
io_channel_tree_RB_INSERT
94106
io_channel_tree_RB_INSERT_COLOR
94106
io_channel_tree_RB_MINMAX
13927
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
94096
io_channel_tree_RB_REMOVE_COLOR
77171
io_device_cmp
4187216
io_device_free
43027
io_device_get
967739
io_device_tree_RB_FIND
967739
io_device_tree_RB_INSERT
43042
io_device_tree_RB_INSERT_COLOR
43032
io_device_tree_RB_MINMAX
2580
io_device_tree_RB_NEXT
45
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
43032
io_device_tree_RB_REMOVE_COLOR
34924
msg_queue_run_batch
8835962815
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
22306069
poller_interrupt_fini
152
poller_register
154309
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
94165
register_flag_thread
2855
spdk_for_each_channel
649671
spdk_for_each_channel_continue
716040
spdk_for_each_thread
534
spdk_get_io_channel
275016
spdk_get_thread
449004989
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
43640619
spdk_interrupt_register
170
spdk_interrupt_register_for_events
170
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
320
spdk_io_channel_from_ctx
23029784
spdk_io_channel_get_io_device
17202039
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
354331387
spdk_io_channel_iter_get_channel
641049
spdk_io_channel_iter_get_ctx
1285666
spdk_io_channel_iter_get_io_device
665646
spdk_io_device_get_name
0
spdk_io_device_register
43042
spdk_io_device_unregister
43037
spdk_poller_get_id
8
spdk_poller_get_name
8
spdk_poller_get_period_ticks
8
spdk_poller_get_state_str
8
spdk_poller_get_stats
8
spdk_poller_pause
229
spdk_poller_register
258
spdk_poller_register_interrupt
2072
spdk_poller_register_named
154051
spdk_poller_resume
224
spdk_poller_unregister
276283
spdk_put_io_channel
274991
spdk_set_thread
5570108
spdk_spin_destroy
70877
spdk_spin_held
3483500
spdk_spin_init
106936
spdk_spin_lock
2124307
spdk_spin_unlock
2124301
spdk_thread_bind
21
spdk_thread_create
7071
spdk_thread_destroy
6901
spdk_thread_exit
7072
spdk_thread_get_app_thread
23108
spdk_thread_get_by_id
551
spdk_thread_get_count
329
spdk_thread_get_cpumask
25013
spdk_thread_get_ctx
35463
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
17271146308
spdk_thread_get_id
78737
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
8657719231
spdk_thread_get_name
1080
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
7724
spdk_thread_has_active_pollers
1787126
spdk_thread_has_pollers
10
spdk_thread_is_app_thread
33143
spdk_thread_is_bound
110
spdk_thread_is_exited
8657654822
spdk_thread_is_idle
54259732
spdk_thread_is_running
3134
spdk_thread_lib_fini
2560
spdk_thread_lib_init
411
spdk_thread_lib_init_ext
2154
spdk_thread_next_poller_expiration
22971
spdk_thread_poll
8835962165
spdk_thread_send_critical_msg
1226
spdk_thread_send_msg
12508357
spdk_thread_set_cpumask
11670
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
70872
sspin_init_internal
106936
sspin_stack_print
84
sspin_stacks_print
28
thread_execute_poller
8935240166
thread_execute_timed_poller
22300628
thread_exit
596227
thread_get_io_channel
3830175
thread_has_unpaused_pollers
54259742
thread_insert_poller
154433
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
650
thread_poll
8835962165
thread_send_msg_notification
12509583
thread_trace
2101
thread_update_stats
8835962165
timed_poller_compare
133254711
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
22306069
timed_pollers_tree_RB_INSERT_COLOR
22306069
timed_pollers_tree_RB_MINMAX
14248
timed_pollers_tree_RB_NEXT
22311896
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
22305969
timed_pollers_tree_RB_REMOVE_COLOR
18331563
wrong_thread
0
Generated by:
LCOV version 1.14