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 08:39:57
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4193
10270
40.8 %
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_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
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
132
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
240
spdk_poller_register
243
poller_remove_timer
244
_thread_exit
246
period_poller_set_interrupt_mode
248
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
352
spdk_thread_get_count
359
_back_to_orig_thread
515
spdk_for_each_thread
515
spdk_thread_get_by_id
649
_on_thread
704
spdk_thread_get_name
1128
busy_poller_interrupt_init
1191
busy_poller_set_interrupt_mode
1191
spdk_thread_send_critical_msg
1270
_thread_remove_pollers
1332
poller_interrupt_fini
1431
spdk_interrupt_register
1461
spdk_interrupt_register_for_events
1659
spdk_interrupt_register_ext
1660
thread_trace
2169
spdk_thread_lib_init_ext
2219
spdk_poller_register_interrupt
2437
spdk_thread_lib_fini
2567
_thread_lib_init
2571
io_device_tree_RB_MINMAX
2583
_thread_trace
2820
register_flag_thread
2820
spdk_thread_is_running
3081
spdk_interrupt_unregister
3487
_free_thread
6990
spdk_thread_destroy
6998
spdk_thread_create
7124
spdk_thread_exit
7137
spdk_thread_get_stats
7970
spdk_thread_set_cpumask
11868
io_channel_tree_RB_MINMAX
14089
timed_pollers_tree_RB_MINMAX
15809
spdk_thread_get_app_thread
21697
spdk_thread_next_poller_expiration
23706
spdk_thread_get_cpumask
27745
_finish_unregister
32876
spdk_thread_is_app_thread
34324
io_device_tree_RB_REMOVE_COLOR
34841
spdk_thread_get_ctx
36478
io_device_free
41751
io_device_tree_RB_INSERT_COLOR
41755
io_device_tree_RB_REMOVE
41755
spdk_io_device_unregister
41759
io_device_tree_RB_INSERT
41763
spdk_io_device_register
41763
spdk_thread_get_id
78525
io_channel_tree_RB_REMOVE_COLOR
78835
sspin_fini_internal
86868
spdk_spin_destroy
86872
io_channel_tree_RB_REMOVE
92670
io_channel_tree_RB_INSERT
92678
io_channel_tree_RB_INSERT_COLOR
92678
put_io_channel
92731
interrupt_timerfd_process
93554
spdk_spin_init
125784
sspin_init_internal
125784
spdk_poller_register_named
151357
poller_register
151600
convert_us_to_ticks
151602
thread_insert_poller
151727
spdk_put_io_channel
294956
spdk_get_io_channel
294975
spdk_poller_unregister
333267
_call_completion
590971
spdk_for_each_channel
590973
_call_channel
681537
spdk_for_each_channel_continue
681537
spdk_io_channel_iter_get_channel
691214
spdk_io_channel_iter_get_io_device
821689
thread_interrupt_msg_process
867480
io_device_get
927720
io_device_tree_RB_FIND
927720
spdk_io_channel_iter_get_ctx
1291481
spdk_spin_unlock
1897309
spdk_spin_lock
1897319
spdk_thread_has_active_pollers
3243773
spdk_spin_held
3316081
io_device_cmp
3792805
thread_exit
4033322
io_channel_tree_RB_FIND
4198601
thread_get_io_channel
4198601
io_channel_cmp
11133113
spdk_thread_send_msg
12569947
thread_send_msg_notification
12571216
spdk_io_channel_get_io_device
12691121
spdk_io_channel_from_ctx
17652662
timed_pollers_tree_RB_REMOVE_COLOR
23272372
thread_execute_timed_poller
26218548
timed_pollers_tree_RB_REMOVE
26226710
poller_insert_timer
26226791
timed_pollers_tree_RB_INSERT
26226791
timed_pollers_tree_RB_INSERT_COLOR
26226791
timed_pollers_tree_RB_NEXT
26235890
thread_has_unpaused_pollers
57558471
spdk_thread_is_idle
57561799
spdk_interrupt_mode_is_enabled
145830172
timed_poller_compare
204837839
_interrupt_wrapper
256869024
spdk_io_channel_get_thread
304602141
spdk_set_thread
516759115
spdk_get_thread
632025499
thread_execute_poller
6431643762
spdk_thread_get_last_tsc
7198352488
spdk_thread_is_exited
7238471177
spdk_thread_poll
7435507152
thread_update_stats
7435572868
thread_poll
7435660456
msg_queue_run_batch
7436864997
_get_thread
8073751229
spdk_thread_get_from_ctx
14410118659
Generated by:
LCOV version 1.14