LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1205
1505
80.1 %
Date:
2024-12-09 11:18:52
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4161
10364
40.1 %
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
spdk_thread_register_post_poller_handler
0
thread_run_pp_handlers
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_bind
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
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
41
spdk_poller_get_state_str
44
spdk_thread_get_next_active_poller
48
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
thread_interrupt_create
122
thread_interrupt_destroy
122
spdk_thread_is_bound
125
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
203
spdk_poller_pause
207
period_poller_interrupt_init
239
poller_remove_timer
243
spdk_poller_register
243
period_poller_set_interrupt_mode
247
_thread_exit
248
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
356
spdk_thread_get_count
359
_back_to_orig_thread
514
spdk_for_each_thread
514
spdk_thread_get_by_id
644
_on_thread
703
busy_poller_interrupt_init
1025
busy_poller_set_interrupt_mode
1025
spdk_thread_get_name
1128
_thread_remove_pollers
1184
poller_interrupt_fini
1264
spdk_thread_send_critical_msg
1274
spdk_interrupt_register
1294
spdk_interrupt_register_for_events
1492
spdk_interrupt_register_ext
1493
spdk_poller_register_interrupt
1727
thread_trace
2173
spdk_thread_lib_init_ext
2223
spdk_thread_lib_fini
2571
_thread_lib_init
2579
io_device_tree_RB_MINMAX
2587
_thread_trace
2839
register_flag_thread
2839
spdk_thread_is_running
3079
spdk_interrupt_unregister
3350
_free_thread
7082
spdk_thread_destroy
7089
spdk_thread_create
7220
spdk_thread_exit
7230
spdk_thread_get_stats
8072
spdk_thread_set_cpumask
11700
io_channel_tree_RB_MINMAX
14273
timed_pollers_tree_RB_MINMAX
15840
spdk_thread_get_app_thread
22511
spdk_thread_next_poller_expiration
23590
spdk_thread_get_cpumask
27996
_finish_unregister
34098
spdk_thread_is_app_thread
34438
io_device_tree_RB_REMOVE_COLOR
35238
spdk_thread_get_ctx
36310
io_device_free
42989
io_device_tree_RB_INSERT_COLOR
42993
io_device_tree_RB_REMOVE
42993
spdk_io_device_unregister
42997
io_device_tree_RB_INSERT
43001
spdk_io_device_register
43001
spdk_thread_get_id
78832
io_channel_tree_RB_REMOVE_COLOR
80049
sspin_fini_internal
88488
spdk_spin_destroy
88492
io_channel_tree_RB_REMOVE
94841
io_channel_tree_RB_INSERT
94849
io_channel_tree_RB_INSERT_COLOR
94849
put_io_channel
94915
interrupt_timerfd_process
101354
spdk_spin_init
127476
sspin_init_internal
127476
spdk_poller_register_named
158933
convert_us_to_ticks
159177
poller_register
159177
thread_insert_poller
159299
spdk_put_io_channel
300205
spdk_get_io_channel
300227
spdk_poller_unregister
325290
_call_completion
581281
spdk_for_each_channel
581284
_call_channel
667638
spdk_for_each_channel_continue
667638
spdk_io_channel_iter_get_channel
684877
thread_interrupt_msg_process
713231
spdk_io_channel_iter_get_io_device
830494
io_device_get
924521
io_device_tree_RB_FIND
924521
spdk_io_channel_iter_get_ctx
1267228
spdk_spin_unlock
1842216
spdk_spin_lock
1842224
spdk_spin_held
1915630
spdk_thread_has_active_pollers
3450313
thread_exit
3475445
io_device_cmp
3765247
io_channel_tree_RB_FIND
4139276
thread_get_io_channel
4139276
io_channel_cmp
10925337
spdk_thread_send_msg
13275641
thread_send_msg_notification
13276915
spdk_io_channel_get_io_device
13660130
spdk_io_channel_from_ctx
18853993
timed_pollers_tree_RB_REMOVE_COLOR
22282042
thread_execute_timed_poller
25483626
timed_pollers_tree_RB_REMOVE
25491426
poller_insert_timer
25491507
timed_pollers_tree_RB_INSERT
25491507
timed_pollers_tree_RB_INSERT_COLOR
25491507
timed_pollers_tree_RB_NEXT
25500179
thread_has_unpaused_pollers
56206942
spdk_thread_is_idle
56210678
spdk_interrupt_mode_is_enabled
147916514
timed_poller_compare
181671149
_interrupt_wrapper
256117188
spdk_io_channel_get_thread
293393729
spdk_set_thread
515392078
spdk_get_thread
616589082
thread_execute_poller
5400059912
spdk_thread_get_last_tsc
7408352340
spdk_thread_is_exited
7454641564
thread_update_stats
7665327384
spdk_thread_poll
7665571977
thread_poll
7665712937
msg_queue_run_batch
7666345295
_get_thread
8289346399
spdk_thread_get_from_ctx
14827846025
Generated by:
LCOV version 1.15