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-14 00:43:33
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
523
_call_channel
729244
_call_completion
666870
_finish_unregister
35686
_free_thread
6929
_get_thread
9694719543
_interrupt_wrapper
2000813
_on_thread
707
_thread_exit
17
_thread_lib_init
2575
_thread_remove_pollers
140
_thread_trace
2868
busy_poller_interrupt_init
138
busy_poller_set_interrupt_mode
138
convert_us_to_ticks
149331
interrupt_timerfd_process
8753
io_channel_cmp
11183296
io_channel_tree_RB_FIND
3973031
io_channel_tree_RB_INSERT
95599
io_channel_tree_RB_INSERT_COLOR
95599
io_channel_tree_RB_MINMAX
14002
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
95589
io_channel_tree_RB_REMOVE_COLOR
78266
io_device_cmp
4327705
io_device_free
44599
io_device_get
990121
io_device_tree_RB_FIND
990121
io_device_tree_RB_INSERT
44614
io_device_tree_RB_INSERT_COLOR
44604
io_device_tree_RB_MINMAX
2590
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
44604
io_device_tree_RB_REMOVE_COLOR
36846
msg_queue_run_batch
9197890294
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
21915516
poller_interrupt_fini
153
poller_register
149331
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
95661
register_flag_thread
2868
spdk_for_each_channel
666870
spdk_for_each_channel_continue
729244
spdk_for_each_thread
523
spdk_get_io_channel
278627
spdk_get_thread
482868710
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
307236707
spdk_interrupt_register
171
spdk_interrupt_register_for_events
171
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
282
spdk_io_channel_from_ctx
23033130
spdk_io_channel_get_io_device
17400998
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
365204315
spdk_io_channel_iter_get_channel
652682
spdk_io_channel_iter_get_ctx
1315954
spdk_io_channel_iter_get_io_device
671745
spdk_io_device_get_name
0
spdk_io_device_register
44614
spdk_io_device_unregister
44609
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
2089
spdk_poller_register_named
149073
spdk_poller_resume
224
spdk_poller_unregister
290675
spdk_put_io_channel
278602
spdk_set_thread
5675035
spdk_spin_destroy
85854
spdk_spin_held
7631579
spdk_spin_init
123971
spdk_spin_lock
2230155
spdk_spin_unlock
2230149
spdk_thread_bind
21
spdk_thread_create
7109
spdk_thread_destroy
6938
spdk_thread_exit
7109
spdk_thread_get_app_thread
23309
spdk_thread_get_by_id
565
spdk_thread_get_count
370
spdk_thread_get_cpumask
25780
spdk_thread_get_ctx
35380
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
17978066118
spdk_thread_get_id
78646
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
9029025486
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
7797
spdk_thread_has_active_pollers
1848166
spdk_thread_has_pollers
10
spdk_thread_is_app_thread
33779
spdk_thread_is_bound
109
spdk_thread_is_exited
9009068003
spdk_thread_is_idle
53922124
spdk_thread_is_running
3151
spdk_thread_lib_fini
2570
spdk_thread_lib_init
416
spdk_thread_lib_init_ext
2159
spdk_thread_next_poller_expiration
23430
spdk_thread_poll
9197889641
spdk_thread_send_critical_msg
1230
spdk_thread_send_msg
12975678
spdk_thread_set_cpumask
11598
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
85849
sspin_init_internal
123971
sspin_stack_print
84
sspin_stacks_print
28
thread_execute_poller
9277829689
thread_execute_timed_poller
21910104
thread_exit
593261
thread_get_io_channel
3973031
thread_has_unpaused_pollers
53922134
thread_insert_poller
149455
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
653
thread_poll
9197889641
thread_send_msg_notification
12976908
thread_trace
2106
thread_update_stats
9197889641
timed_poller_compare
131670940
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
21915516
timed_pollers_tree_RB_INSERT_COLOR
21915516
timed_pollers_tree_RB_MINMAX
14323
timed_pollers_tree_RB_NEXT
21921280
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
21915416
timed_pollers_tree_RB_REMOVE_COLOR
18370744
wrong_thread
0
Generated by:
LCOV version 1.14