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 05:26:07
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4213
10364
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
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_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
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_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_is_bound
127
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
243
spdk_poller_register
243
_thread_exit
246
poller_remove_timer
247
period_poller_set_interrupt_mode
251
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
372
spdk_thread_get_count
408
_back_to_orig_thread
566
spdk_for_each_thread
566
spdk_thread_get_by_id
657
_on_thread
777
busy_poller_interrupt_init
1190
busy_poller_set_interrupt_mode
1190
spdk_thread_get_name
1219
_thread_remove_pollers
1318
spdk_thread_send_critical_msg
1336
poller_interrupt_fini
1433
spdk_interrupt_register
1463
spdk_interrupt_register_for_events
1661
spdk_interrupt_register_ext
1662
spdk_poller_register_interrupt
1770
thread_trace
2297
spdk_thread_lib_init_ext
2347
spdk_thread_lib_fini
2711
_thread_lib_init
2719
io_device_tree_RB_MINMAX
2727
_thread_trace
3010
register_flag_thread
3010
spdk_thread_is_running
3219
spdk_interrupt_unregister
3511
_free_thread
7494
spdk_thread_destroy
7502
spdk_thread_create
7632
spdk_thread_exit
7643
spdk_thread_get_stats
8458
spdk_thread_set_cpumask
11832
io_channel_tree_RB_MINMAX
15096
timed_pollers_tree_RB_MINMAX
16806
spdk_thread_get_app_thread
22127
spdk_thread_next_poller_expiration
26181
spdk_thread_get_cpumask
29051
_finish_unregister
35795
spdk_thread_is_app_thread
36668
io_device_tree_RB_REMOVE_COLOR
37354
spdk_thread_get_ctx
37366
io_device_free
45312
io_device_tree_RB_INSERT_COLOR
45316
io_device_tree_RB_REMOVE
45316
spdk_io_device_unregister
45320
io_device_tree_RB_INSERT
45324
spdk_io_device_register
45324
spdk_thread_get_id
78821
io_channel_tree_RB_REMOVE_COLOR
82476
sspin_fini_internal
91041
spdk_spin_destroy
91045
io_channel_tree_RB_REMOVE
97953
io_channel_tree_RB_INSERT
97961
io_channel_tree_RB_INSERT_COLOR
97961
put_io_channel
98018
interrupt_timerfd_process
100644
spdk_spin_init
132692
sspin_init_internal
132692
spdk_poller_register_named
158561
convert_us_to_ticks
158806
poller_register
158806
thread_insert_poller
158930
spdk_put_io_channel
309855
spdk_get_io_channel
309878
spdk_poller_unregister
343694
_call_completion
582780
spdk_for_each_channel
582781
_call_channel
669173
spdk_for_each_channel_continue
669173
spdk_io_channel_iter_get_channel
680132
thread_interrupt_msg_process
698438
spdk_io_channel_iter_get_io_device
800900
io_device_get
937991
io_device_tree_RB_FIND
937991
spdk_spin_held
1196683
spdk_io_channel_iter_get_ctx
1270871
spdk_spin_unlock
1937638
spdk_spin_lock
1937648
spdk_thread_has_active_pollers
3536817
io_device_cmp
3774438
thread_exit
4213699
io_channel_tree_RB_FIND
4226710
thread_get_io_channel
4226710
io_channel_cmp
11176886
spdk_io_channel_get_io_device
12545389
spdk_thread_send_msg
20083985
thread_send_msg_notification
20085317
spdk_io_channel_from_ctx
20092342
timed_pollers_tree_RB_REMOVE_COLOR
23590845
thread_execute_timed_poller
26604639
timed_pollers_tree_RB_REMOVE
26612746
poller_insert_timer
26612828
timed_pollers_tree_RB_INSERT
26612828
timed_pollers_tree_RB_INSERT_COLOR
26612828
timed_pollers_tree_RB_NEXT
26621894
thread_has_unpaused_pollers
64108120
spdk_thread_is_idle
64112844
spdk_interrupt_mode_is_enabled
156297110
timed_poller_compare
203790643
_interrupt_wrapper
257656759
spdk_io_channel_get_thread
331939982
spdk_set_thread
518440088
spdk_get_thread
687294929
thread_execute_poller
5832865259
spdk_thread_get_last_tsc
8064606147
spdk_thread_is_exited
8090094483
thread_update_stats
8338193997
thread_poll
8338531084
spdk_thread_poll
8338630315
msg_queue_run_batch
8339344069
_get_thread
9036792222
spdk_thread_get_from_ctx
16097420797
Generated by:
LCOV version 1.14