LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1202
1483
81.1 %
Date:
2024-11-15 11:55:20
Functions:
141
163
86.5 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4183
10270
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_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_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
spdk_thread_get_first_active_poller
24
spdk_thread_get_first_paused_poller
24
spdk_thread_get_first_timed_poller
24
spdk_thread_get_next_timed_poller
24
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
40
spdk_poller_get_state_str
44
sspin_stack_print
75
spdk_thread_is_bound
76
thread_interrupt_create
120
thread_interrupt_destroy
120
spdk_thread_set_interrupt_mode
136
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
230
poller_remove_timer
234
period_poller_set_interrupt_mode
238
_thread_exit
243
spdk_poller_register
243
spdk_thread_get_interrupt_fd_group
264
spdk_thread_lib_init
351
spdk_thread_get_by_id
384
spdk_thread_get_count
385
_back_to_orig_thread
514
spdk_for_each_thread
514
_on_thread
629
spdk_thread_get_name
854
spdk_thread_send_critical_msg
1264
busy_poller_interrupt_init
1437
busy_poller_set_interrupt_mode
1437
_thread_remove_pollers
1522
poller_interrupt_fini
1667
spdk_interrupt_register
1695
spdk_interrupt_register_ext
1893
spdk_interrupt_register_for_events
1893
thread_trace
2169
spdk_thread_lib_init_ext
2219
spdk_poller_register_interrupt
2433
spdk_thread_lib_fini
2566
_thread_lib_init
2570
io_device_tree_RB_MINMAX
2582
_thread_trace
2837
register_flag_thread
2837
spdk_thread_is_running
3023
spdk_interrupt_unregister
3740
spdk_thread_get_stats
6687
_free_thread
6969
spdk_thread_destroy
6976
spdk_thread_create
7103
spdk_thread_exit
7118
spdk_thread_set_cpumask
11444
io_channel_tree_RB_MINMAX
14048
timed_pollers_tree_RB_MINMAX
15851
spdk_thread_get_app_thread
21817
spdk_thread_next_poller_expiration
23069
spdk_thread_get_cpumask
26885
_finish_unregister
33504
spdk_thread_is_app_thread
34654
spdk_thread_get_ctx
35460
io_device_tree_RB_REMOVE_COLOR
35631
io_device_free
42533
io_device_tree_RB_INSERT_COLOR
42537
io_device_tree_RB_REMOVE
42537
spdk_io_device_unregister
42542
io_device_tree_RB_INSERT
42545
spdk_io_device_register
42545
spdk_thread_get_id
77503
io_channel_tree_RB_REMOVE_COLOR
80827
interrupt_timerfd_process
86482
sspin_fini_internal
88285
spdk_spin_destroy
88289
io_channel_tree_RB_REMOVE
94891
io_channel_tree_RB_INSERT
94899
io_channel_tree_RB_INSERT_COLOR
94899
put_io_channel
94959
spdk_spin_init
127741
sspin_init_internal
127741
spdk_poller_register_named
159461
poller_register
159702
convert_us_to_ticks
159705
thread_insert_poller
159829
spdk_put_io_channel
301741
spdk_get_io_channel
301761
spdk_poller_unregister
311196
_call_completion
569823
spdk_for_each_channel
569830
_call_channel
654493
spdk_for_each_channel_continue
654493
spdk_io_channel_iter_get_channel
671600
thread_interrupt_msg_process
733214
spdk_io_channel_iter_get_io_device
844553
io_device_get
914145
io_device_tree_RB_FIND
914145
spdk_io_channel_iter_get_ctx
1245248
spdk_spin_unlock
1912056
spdk_spin_lock
1912067
spdk_thread_has_active_pollers
3104001
spdk_spin_held
3282357
io_device_cmp
3668060
thread_exit
4126789
io_channel_tree_RB_FIND
4180570
thread_get_io_channel
4180570
spdk_thread_send_msg
11111210
thread_send_msg_notification
11112466
io_channel_cmp
11192820
spdk_io_channel_get_io_device
12346728
spdk_io_channel_from_ctx
16806833
timed_pollers_tree_RB_REMOVE_COLOR
22211859
thread_execute_timed_poller
25065337
timed_pollers_tree_RB_REMOVE
25073155
poller_insert_timer
25073236
timed_pollers_tree_RB_INSERT
25073236
timed_pollers_tree_RB_INSERT_COLOR
25073236
timed_pollers_tree_RB_NEXT
25082143
thread_has_unpaused_pollers
57199487
spdk_thread_is_idle
57201725
spdk_interrupt_mode_is_enabled
147386717
timed_poller_compare
198721607
_interrupt_wrapper
256481286
spdk_io_channel_get_thread
307653856
spdk_set_thread
515710351
spdk_get_thread
652599711
thread_execute_poller
6538900805
spdk_thread_get_last_tsc
7180999850
spdk_thread_is_exited
7209382796
thread_update_stats
7428447894
spdk_thread_poll
7428544010
thread_poll
7428767168
msg_queue_run_batch
7429497730
_get_thread
8085073868
spdk_thread_get_from_ctx
14333512592
Generated by:
LCOV version 1.14