LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1174
1453
80.8 %
Date:
2024-11-16 21:22:34
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3776
10254
36.8 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
494
_call_channel
760926
_call_completion
687029
_finish_unregister
34231
_free_thread
8665
_get_thread
9333502114
_interrupt_wrapper
2911679
_on_thread
696
_thread_exit
17
_thread_lib_init
3298
_thread_remove_pollers
141
_thread_trace
3278
busy_poller_interrupt_init
155
busy_poller_set_interrupt_mode
155
convert_us_to_ticks
294120
interrupt_timerfd_process
8480
io_channel_cmp
11450287
io_channel_tree_RB_FIND
4180680
io_channel_tree_RB_INSERT
109118
io_channel_tree_RB_INSERT_COLOR
109118
io_channel_tree_RB_MINMAX
17406
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
109118
io_channel_tree_RB_REMOVE_COLOR
93654
io_device_cmp
4498962
io_device_free
43915
io_device_get
1072775
io_device_tree_RB_FIND
1072775
io_device_tree_RB_INSERT
43921
io_device_tree_RB_INSERT_COLOR
43915
io_device_tree_RB_MINMAX
3307
io_device_tree_RB_NEXT
27
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
43915
io_device_tree_RB_REMOVE_COLOR
36336
msg_queue_run_batch
8807050587
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
24384900
poller_interrupt_fini
170
poller_register
294120
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
109179
register_flag_thread
3278
spdk_for_each_channel
687029
spdk_for_each_channel_continue
760926
spdk_for_each_thread
494
spdk_get_io_channel
341819
spdk_get_thread
516151061
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
10387609
spdk_interrupt_register
188
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
566
spdk_io_channel_from_ctx
28517522
spdk_io_channel_get_io_device
21417199
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
413203857
spdk_io_channel_iter_get_channel
818594
spdk_io_channel_iter_get_ctx
1378544
spdk_io_channel_iter_get_io_device
692862
spdk_io_device_get_name
0
spdk_io_device_register
43921
spdk_io_device_unregister
43918
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
140
spdk_poller_register
157
spdk_poller_register_interrupt
809
spdk_poller_register_named
293963
spdk_poller_resume
110
spdk_poller_unregister
724034
spdk_put_io_channel
341810
spdk_set_thread
67247795
spdk_spin_destroy
94276
spdk_spin_held
6462288
spdk_spin_init
131389
spdk_spin_lock
2684662
spdk_spin_unlock
2684654
spdk_thread_bind
19
spdk_thread_create
8770
spdk_thread_destroy
8669
spdk_thread_exit
8777
spdk_thread_get_app_thread
25292
spdk_thread_get_by_id
503
spdk_thread_get_count
306
spdk_thread_get_cpumask
34228
spdk_thread_get_ctx
48301
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
17237757462
spdk_thread_get_id
79099
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
8656414719
spdk_thread_get_name
543
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
9306
spdk_thread_has_active_pollers
2079604
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
37360
spdk_thread_is_bound
79
spdk_thread_is_exited
8638708333
spdk_thread_is_idle
72597174
spdk_thread_is_running
3878
spdk_thread_lib_fini
3295
spdk_thread_lib_init
256
spdk_thread_lib_init_ext
3042
spdk_thread_next_poller_expiration
48579
spdk_thread_poll
8806788525
spdk_thread_send_critical_msg
1283
spdk_thread_send_msg
9739615
spdk_thread_set_cpumask
16042
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
94273
sspin_init_internal
131389
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
11667627384
thread_execute_timed_poller
24377144
thread_exit
3332642
thread_get_io_channel
4180680
thread_has_unpaused_pollers
72596288
thread_insert_poller
294203
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
635
thread_poll
8806776849
thread_send_msg_notification
9740898
thread_trace
3008
thread_update_stats
8806499892
timed_poller_compare
150137761
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
24384900
timed_pollers_tree_RB_INSERT_COLOR
24384900
timed_pollers_tree_RB_MINMAX
17717
timed_pollers_tree_RB_NEXT
24393153
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
24384840
timed_pollers_tree_RB_REMOVE_COLOR
19490139
wrong_thread
0
Generated by:
LCOV version 1.15