LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1203
1505
79.9 %
Date:
2024-12-08 06:46:15
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4212
10364
40.6 %
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
spdk_interrupt_mode_enable
27
io_device_tree_RB_NEXT
36
spdk_poller_get_state_str
44
spdk_thread_get_next_active_poller
48
thread_interrupt_create
68
thread_interrupt_destroy
68
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
spdk_thread_set_interrupt_mode
84
period_poller_interrupt_init
126
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
_thread_exit
128
spdk_thread_is_bound
129
poller_remove_timer
130
period_poller_set_interrupt_mode
134
spdk_thread_get_interrupt_fd_group
160
spdk_poller_resume
187
spdk_poller_pause
191
spdk_poller_register
243
spdk_thread_lib_init
366
spdk_thread_get_count
396
_back_to_orig_thread
538
spdk_for_each_thread
538
spdk_thread_get_by_id
649
busy_poller_interrupt_init
672
busy_poller_set_interrupt_mode
672
_thread_remove_pollers
742
_on_thread
749
poller_interrupt_fini
798
spdk_interrupt_register
823
spdk_interrupt_register_for_events
917
spdk_interrupt_register_ext
918
spdk_thread_get_name
1064
spdk_thread_send_critical_msg
1191
spdk_poller_register_interrupt
1497
thread_trace
2127
spdk_thread_lib_init_ext
2176
spdk_interrupt_unregister
2360
spdk_thread_lib_fini
2534
_thread_lib_init
2542
io_device_tree_RB_MINMAX
2550
_thread_trace
2787
register_flag_thread
2787
spdk_thread_is_running
2918
_free_thread
6965
spdk_thread_destroy
6972
spdk_thread_create
7103
spdk_thread_exit
7115
spdk_thread_set_cpumask
7952
spdk_thread_get_stats
7972
io_channel_tree_RB_MINMAX
14039
timed_pollers_tree_RB_MINMAX
15060
spdk_thread_next_poller_expiration
17548
spdk_thread_get_app_thread
21425
spdk_thread_get_cpumask
24076
spdk_thread_get_id
26364
spdk_thread_get_ctx
28542
_finish_unregister
33660
spdk_thread_is_app_thread
33959
io_device_tree_RB_REMOVE_COLOR
34854
io_device_free
42496
io_device_tree_RB_INSERT_COLOR
42500
io_device_tree_RB_REMOVE
42500
spdk_io_device_unregister
42504
io_device_tree_RB_INSERT
42508
spdk_io_device_register
42508
interrupt_timerfd_process
55180
io_channel_tree_RB_REMOVE_COLOR
71488
sspin_fini_internal
84011
spdk_spin_destroy
84015
io_channel_tree_RB_REMOVE
85993
io_channel_tree_RB_INSERT
86001
io_channel_tree_RB_INSERT_COLOR
86001
put_io_channel
86060
spdk_spin_init
122411
sspin_init_internal
122411
spdk_poller_register_named
143634
poller_register
143876
convert_us_to_ticks
143879
thread_insert_poller
143986
spdk_put_io_channel
280077
spdk_get_io_channel
280093
spdk_poller_unregister
286668
thread_interrupt_msg_process
299515
_call_completion
541712
spdk_for_each_channel
541713
_call_channel
598862
spdk_for_each_channel_continue
598862
spdk_io_channel_iter_get_channel
606388
spdk_io_channel_iter_get_io_device
799058
io_device_get
864325
io_device_tree_RB_FIND
864325
spdk_io_channel_iter_get_ctx
1144013
spdk_spin_held
1869257
spdk_spin_unlock
1871870
spdk_spin_lock
1871879
spdk_thread_has_active_pollers
3102396
io_device_cmp
3489157
io_channel_tree_RB_FIND
3878779
thread_get_io_channel
3878779
thread_exit
3922613
spdk_thread_send_msg
8639079
thread_send_msg_notification
8640269
io_channel_cmp
10584043
spdk_io_channel_get_io_device
11632146
spdk_io_channel_from_ctx
15030288
timed_pollers_tree_RB_REMOVE_COLOR
21759753
thread_execute_timed_poller
24411498
timed_pollers_tree_RB_REMOVE
24418479
poller_insert_timer
24418558
timed_pollers_tree_RB_INSERT
24418560
timed_pollers_tree_RB_INSERT_COLOR
24418560
timed_pollers_tree_RB_NEXT
24426333
thread_has_unpaused_pollers
60799538
spdk_thread_is_idle
60801058
_interrupt_wrapper
129930524
spdk_interrupt_mode_is_enabled
144078470
timed_poller_compare
190192570
spdk_set_thread
262196202
spdk_io_channel_get_thread
310125849
spdk_get_thread
520024716
thread_execute_poller
4719188192
spdk_thread_get_last_tsc
6725397490
spdk_thread_is_exited
6748782264
thread_update_stats
6952686265
spdk_thread_poll
6953154123
msg_queue_run_batch
6953167619
thread_poll
6953418709
_get_thread
7475948886
spdk_thread_get_from_ctx
13417509186
Generated by:
LCOV version 1.14