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
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
444
_call_channel
593078
_call_completion
531006
_finish_unregister
40505
_free_thread
7667
_get_thread
11132940891
_interrupt_wrapper
3758062
_on_thread
488
_thread_exit
20
_thread_lib_init
2928
_thread_remove_pollers
172
_thread_trace
3228
busy_poller_interrupt_init
170
busy_poller_set_interrupt_mode
170
convert_us_to_ticks
294089
interrupt_timerfd_process
9808
io_channel_cmp
10997061
io_channel_tree_RB_FIND
3982219
io_channel_tree_RB_INSERT
117008
io_channel_tree_RB_INSERT_COLOR
117008
io_channel_tree_RB_MINMAX
15441
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_channel_tree_RB_REMOVE
117004
io_channel_tree_RB_REMOVE_COLOR
98603
io_device_cmp
3814457
io_device_free
50066
io_device_get
933527
io_device_tree_RB_FIND
933527
io_device_tree_RB_INSERT
50078
io_device_tree_RB_INSERT_COLOR
50070
io_device_tree_RB_MINMAX
2940
io_device_tree_RB_NEXT
36
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
50070
io_device_tree_RB_REMOVE_COLOR
42392
msg_queue_run_batch
10740069131
period_poller_interrupt_init
18
period_poller_set_interrupt_mode
28
poller_insert_timer
19203696
poller_interrupt_fini
188
poller_register
294089
poller_remove_timer
23
poller_set_interrupt_mode
10
put_io_channel
117085
register_flag_thread
3228
spdk_for_each_channel
531006
spdk_for_each_channel_continue
593078
spdk_for_each_thread
444
spdk_get_io_channel
352434
spdk_get_thread
385446588
spdk_interrupt_mode_enable
16
spdk_interrupt_mode_is_enabled
89564949
spdk_interrupt_register
209
spdk_interrupt_register_for_events
209
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
357
spdk_io_channel_from_ctx
30563082
spdk_io_channel_get_io_device
22873543
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
288212853
spdk_io_channel_iter_get_channel
737875
spdk_io_channel_iter_get_ctx
1134269
spdk_io_channel_iter_get_io_device
773427
spdk_io_device_get_name
0
spdk_io_device_register
50078
spdk_io_device_unregister
50075
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_poller_pause
181
spdk_poller_register
208
spdk_poller_register_interrupt
844
spdk_poller_register_named
293881
spdk_poller_resume
141
spdk_poller_unregister
594935
spdk_put_io_channel
352418
spdk_set_thread
8897772
spdk_spin_destroy
104859
spdk_spin_held
1807265
spdk_spin_init
143877
spdk_spin_lock
1940799
spdk_spin_unlock
1940791
spdk_thread_bind
20
spdk_thread_create
7807
spdk_thread_destroy
7674
spdk_thread_exit
7814
spdk_thread_get_app_thread
38016
spdk_thread_get_by_id
380
spdk_thread_get_count
311
spdk_thread_get_cpumask
27295
spdk_thread_get_ctx
37041
spdk_thread_get_first_active_poller
30
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
30
spdk_thread_get_first_timed_poller
30
spdk_thread_get_from_ctx
21014102979
spdk_thread_get_id
67068
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
70
spdk_thread_get_last_tsc
10539882729
spdk_thread_get_name
840
spdk_thread_get_next_active_poller
0
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
spdk_thread_get_next_timed_poller
30
spdk_thread_get_stats
7425
spdk_thread_has_active_pollers
1980414
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
38425
spdk_thread_is_bound
76
spdk_thread_is_exited
10529442405
spdk_thread_is_idle
99417565
spdk_thread_is_running
3334
spdk_thread_lib_fini
2924
spdk_thread_lib_init
330
spdk_thread_lib_init_ext
2598
spdk_thread_next_poller_expiration
21691
spdk_thread_poll
10740068480
spdk_thread_send_critical_msg
1402
spdk_thread_send_msg
6503995
spdk_thread_set_cpumask
11582
spdk_thread_set_interrupt_mode
40
sspin_fini_internal
104855
sspin_init_internal
143877
sspin_stack_print
72
sspin_stacks_print
24
thread_execute_poller
11756005501
thread_execute_timed_poller
19199237
thread_exit
5293980
thread_get_io_channel
3982219
thread_has_unpaused_pollers
99417573
thread_insert_poller
294194
thread_interrupt_create
20
thread_interrupt_destroy
20
thread_interrupt_msg_process
779
thread_poll
10740068480
thread_send_msg_notification
6505397
thread_trace
2555
thread_update_stats
10740068480
timed_poller_compare
129540215
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
19203696
timed_pollers_tree_RB_INSERT_COLOR
19203696
timed_pollers_tree_RB_MINMAX
15698
timed_pollers_tree_RB_NEXT
19208555
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
19203616
timed_pollers_tree_RB_REMOVE_COLOR
15087779
wrong_thread
0
Generated by:
LCOV version 1.14