LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1087
1309
83.0 %
Date:
2024-07-15 12:34:20
Functions:
139
161
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
776
1132
68.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_active_poller
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
5
spdk_thread_has_pollers
8
poller_set_interrupt_mode
10
spdk_poller_get_id
10
spdk_poller_get_name
10
spdk_poller_get_period_ticks
10
spdk_poller_get_state_str
10
spdk_poller_get_stats
10
spdk_interrupt_mode_enable
16
period_poller_interrupt_init
18
_thread_exit
20
spdk_thread_bind
20
thread_interrupt_create
20
thread_interrupt_destroy
20
poller_remove_timer
23
sspin_stacks_print
24
period_poller_set_interrupt_mode
28
spdk_thread_get_first_active_poller
30
spdk_thread_get_first_paused_poller
30
spdk_thread_get_first_timed_poller
30
spdk_thread_get_next_timed_poller
30
io_device_tree_RB_NEXT
36
spdk_thread_set_interrupt_mode
40
spdk_thread_get_interrupt_fd_group
70
sspin_stack_print
72
spdk_thread_is_bound
76
spdk_poller_resume
141
busy_poller_interrupt_init
170
busy_poller_set_interrupt_mode
170
_thread_remove_pollers
172
spdk_poller_pause
181
poller_interrupt_fini
188
spdk_poller_register
208
spdk_interrupt_register
209
spdk_interrupt_register_for_events
209
spdk_thread_get_count
311
spdk_thread_lib_init
330
spdk_interrupt_unregister
357
spdk_thread_get_by_id
380
_back_to_orig_thread
444
spdk_for_each_thread
444
_on_thread
488
thread_interrupt_msg_process
779
spdk_thread_get_name
840
spdk_poller_register_interrupt
844
spdk_thread_send_critical_msg
1402
thread_trace
2555
spdk_thread_lib_init_ext
2598
spdk_thread_lib_fini
2924
_thread_lib_init
2928
io_device_tree_RB_MINMAX
2940
_thread_trace
3228
register_flag_thread
3228
spdk_thread_is_running
3334
spdk_thread_get_stats
7425
_free_thread
7667
spdk_thread_destroy
7674
spdk_thread_create
7807
spdk_thread_exit
7814
interrupt_timerfd_process
9808
spdk_thread_set_cpumask
11582
io_channel_tree_RB_MINMAX
15441
timed_pollers_tree_RB_MINMAX
15698
spdk_thread_next_poller_expiration
21691
spdk_thread_get_cpumask
27295
spdk_thread_get_ctx
37041
spdk_thread_get_app_thread
38016
spdk_thread_is_app_thread
38425
_finish_unregister
40505
io_device_tree_RB_REMOVE_COLOR
42392
io_device_free
50066
io_device_tree_RB_INSERT_COLOR
50070
io_device_tree_RB_REMOVE
50070
spdk_io_device_unregister
50075
io_device_tree_RB_INSERT
50078
spdk_io_device_register
50078
spdk_thread_get_id
67068
io_channel_tree_RB_REMOVE_COLOR
98603
sspin_fini_internal
104855
spdk_spin_destroy
104859
io_channel_tree_RB_REMOVE
117004
io_channel_tree_RB_INSERT
117008
io_channel_tree_RB_INSERT_COLOR
117008
put_io_channel
117085
spdk_spin_init
143877
sspin_init_internal
143877
spdk_poller_register_named
293881
convert_us_to_ticks
294089
poller_register
294089
thread_insert_poller
294194
spdk_put_io_channel
352418
spdk_get_io_channel
352434
_call_completion
531006
spdk_for_each_channel
531006
_call_channel
593078
spdk_for_each_channel_continue
593078
spdk_poller_unregister
594935
spdk_io_channel_iter_get_channel
737875
spdk_io_channel_iter_get_io_device
773427
io_device_get
933527
io_device_tree_RB_FIND
933527
spdk_io_channel_iter_get_ctx
1134269
spdk_spin_held
1807265
spdk_spin_unlock
1940791
spdk_spin_lock
1940799
spdk_thread_has_active_pollers
1980414
_interrupt_wrapper
3758062
io_device_cmp
3814457
io_channel_tree_RB_FIND
3982219
thread_get_io_channel
3982219
thread_exit
5293980
spdk_thread_send_msg
6503995
thread_send_msg_notification
6505397
spdk_set_thread
8897772
io_channel_cmp
10997061
timed_pollers_tree_RB_REMOVE_COLOR
15087779
thread_execute_timed_poller
19199237
timed_pollers_tree_RB_REMOVE
19203616
poller_insert_timer
19203696
timed_pollers_tree_RB_INSERT
19203696
timed_pollers_tree_RB_INSERT_COLOR
19203696
timed_pollers_tree_RB_NEXT
19208555
spdk_io_channel_get_io_device
22873543
spdk_io_channel_from_ctx
30563082
spdk_interrupt_mode_is_enabled
89564949
spdk_thread_is_idle
99417565
thread_has_unpaused_pollers
99417573
timed_poller_compare
129540215
spdk_io_channel_get_thread
288212853
spdk_get_thread
385446588
spdk_thread_is_exited
10529442405
spdk_thread_get_last_tsc
10539882729
spdk_thread_poll
10740068480
thread_poll
10740068480
thread_update_stats
10740068480
msg_queue_run_batch
10740069131
_get_thread
11132940891
thread_execute_poller
11756005501
spdk_thread_get_from_ctx
21014102979
Generated by:
LCOV version 1.14