LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1204
1483
81.2 %
Date:
2024-11-20 13:11:30
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4179
10270
40.7 %
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_get_trace_id
6
poller_set_interrupt_mode
8
spdk_thread_has_pollers
8
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_stats
16
spdk_poller_get_id
20
spdk_thread_bind
20
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
41
spdk_poller_get_state_str
44
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
thread_interrupt_create
122
thread_interrupt_destroy
122
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_is_bound
126
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
241
spdk_poller_register
243
poller_remove_timer
245
_thread_exit
247
period_poller_set_interrupt_mode
249
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
368
spdk_thread_get_count
408
_back_to_orig_thread
562
spdk_for_each_thread
562
spdk_thread_get_by_id
641
_on_thread
772
busy_poller_interrupt_init
1003
busy_poller_set_interrupt_mode
1003
_thread_remove_pollers
1186
spdk_thread_get_name
1219
poller_interrupt_fini
1244
spdk_interrupt_register
1274
spdk_thread_send_critical_msg
1327
spdk_interrupt_register_for_events
1472
spdk_interrupt_register_ext
1473
thread_trace
2288
spdk_thread_lib_init_ext
2338
spdk_poller_register_interrupt
2550
spdk_thread_lib_fini
2702
_thread_lib_init
2706
io_device_tree_RB_MINMAX
2718
_thread_trace
3001
register_flag_thread
3001
spdk_thread_is_running
3213
spdk_interrupt_unregister
3331
_free_thread
7417
spdk_thread_destroy
7425
spdk_thread_create
7551
spdk_thread_exit
7567
spdk_thread_get_stats
8472
spdk_thread_set_cpumask
11900
io_channel_tree_RB_MINMAX
14946
timed_pollers_tree_RB_MINMAX
16518
spdk_thread_get_app_thread
22234
spdk_thread_next_poller_expiration
24864
spdk_thread_get_cpumask
28771
_finish_unregister
34764
spdk_thread_is_app_thread
36507
io_device_tree_RB_REMOVE_COLOR
37136
spdk_thread_get_ctx
37341
io_device_free
44245
io_device_tree_RB_INSERT_COLOR
44249
io_device_tree_RB_REMOVE
44249
spdk_io_device_unregister
44253
io_device_tree_RB_INSERT
44257
spdk_io_device_register
44257
spdk_thread_get_id
80260
io_channel_tree_RB_REMOVE_COLOR
81778
sspin_fini_internal
89976
spdk_spin_destroy
89980
interrupt_timerfd_process
93756
io_channel_tree_RB_REMOVE
96295
io_channel_tree_RB_INSERT
96303
io_channel_tree_RB_INSERT_COLOR
96303
put_io_channel
96357
spdk_spin_init
131458
sspin_init_internal
131458
spdk_poller_register_named
150183
poller_register
150423
convert_us_to_ticks
150428
thread_insert_poller
150551
spdk_put_io_channel
306284
spdk_get_io_channel
306300
spdk_poller_unregister
354437
_call_completion
602181
spdk_for_each_channel
602182
_call_channel
690937
spdk_for_each_channel_continue
690937
spdk_io_channel_iter_get_channel
692558
spdk_io_channel_iter_get_io_device
800822
io_device_get
952747
io_device_tree_RB_FIND
952747
thread_interrupt_msg_process
962100
spdk_io_channel_iter_get_ctx
1312044
spdk_spin_held
1839651
spdk_spin_unlock
1879810
spdk_spin_lock
1879820
thread_exit
3310605
spdk_thread_has_active_pollers
3325035
io_device_cmp
3870707
io_channel_tree_RB_FIND
4272008
thread_get_io_channel
4272008
io_channel_cmp
11381034
spdk_thread_send_msg
13619005
thread_send_msg_notification
13620326
spdk_io_channel_get_io_device
15130076
spdk_io_channel_from_ctx
20653126
timed_pollers_tree_RB_REMOVE_COLOR
22307524
thread_execute_timed_poller
25514606
timed_pollers_tree_RB_REMOVE
25522276
poller_insert_timer
25522355
timed_pollers_tree_RB_INSERT_COLOR
25522355
timed_pollers_tree_RB_INSERT
25522358
timed_pollers_tree_RB_NEXT
25530911
thread_has_unpaused_pollers
58632530
spdk_thread_is_idle
58635835
spdk_interrupt_mode_is_enabled
152454207
timed_poller_compare
192895760
_interrupt_wrapper
288650043
spdk_io_channel_get_thread
359274297
spdk_set_thread
580510596
spdk_get_thread
782515038
thread_execute_poller
7881651362
spdk_thread_is_exited
8161495065
spdk_thread_get_last_tsc
8172095759
spdk_thread_poll
8406304467
thread_update_stats
8406351433
thread_poll
8406568474
msg_queue_run_batch
8407327105
_get_thread
9195939621
spdk_thread_get_from_ctx
16234899637
Generated by:
LCOV version 1.14