LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1091
1309
83.3 %
Date:
2024-07-12 12:12:18
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
761
1132
67.2 %
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
poller_set_interrupt_mode
8
spdk_poller_get_id
8
spdk_poller_get_name
8
spdk_poller_get_period_ticks
8
spdk_poller_get_state_str
8
spdk_poller_get_stats
8
spdk_thread_has_pollers
8
spdk_interrupt_mode_enable
13
period_poller_interrupt_init
15
_thread_exit
17
thread_interrupt_create
17
thread_interrupt_destroy
17
poller_remove_timer
19
spdk_thread_bind
20
period_poller_set_interrupt_mode
23
sspin_stacks_print
24
spdk_thread_set_interrupt_mode
33
io_device_tree_RB_NEXT
36
spdk_thread_get_interrupt_fd_group
58
sspin_stack_print
72
spdk_thread_get_next_timed_poller
78
spdk_thread_is_bound
91
spdk_thread_get_next_active_poller
96
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
busy_poller_interrupt_init
138
busy_poller_set_interrupt_mode
138
_thread_remove_pollers
140
spdk_poller_resume
141
poller_interrupt_fini
153
spdk_interrupt_register
171
spdk_interrupt_register_for_events
171
spdk_poller_pause
181
spdk_poller_register
208
spdk_thread_get_count
296
spdk_interrupt_unregister
316
spdk_thread_lib_init
323
spdk_thread_get_by_id
495
_back_to_orig_thread
537
spdk_for_each_thread
537
thread_interrupt_msg_process
647
_on_thread
677
spdk_poller_register_interrupt
804
spdk_thread_get_name
1227
spdk_thread_send_critical_msg
1526
thread_trace
2853
spdk_thread_lib_init_ext
2897
spdk_thread_lib_fini
3216
_thread_lib_init
3220
io_device_tree_RB_MINMAX
3232
spdk_thread_is_running
3552
_thread_trace
3643
register_flag_thread
3643
interrupt_timerfd_process
8265
_free_thread
8434
spdk_thread_destroy
8441
spdk_thread_create
8574
spdk_thread_exit
8577
spdk_thread_get_stats
9451
spdk_thread_set_cpumask
15404
io_channel_tree_RB_MINMAX
16975
timed_pollers_tree_RB_MINMAX
17290
spdk_thread_next_poller_expiration
23163
spdk_thread_get_cpumask
32940
spdk_thread_get_app_thread
35090
_finish_unregister
41642
spdk_thread_is_app_thread
41895
io_device_tree_RB_REMOVE_COLOR
43986
spdk_thread_get_ctx
46251
io_device_free
52168
io_device_tree_RB_INSERT_COLOR
52172
io_device_tree_RB_REMOVE
52172
spdk_io_device_unregister
52176
io_device_tree_RB_INSERT
52180
spdk_io_device_register
52180
spdk_thread_get_id
86441
io_channel_tree_RB_REMOVE_COLOR
107863
sspin_fini_internal
107868
spdk_spin_destroy
107872
io_channel_tree_RB_REMOVE
126440
io_channel_tree_RB_INSERT
126444
io_channel_tree_RB_INSERT_COLOR
126444
put_io_channel
126529
spdk_spin_init
150483
sspin_init_internal
150483
spdk_poller_register_named
252221
convert_us_to_ticks
252429
poller_register
252429
thread_insert_poller
252534
spdk_put_io_channel
392606
spdk_get_io_channel
392622
spdk_poller_unregister
603316
spdk_io_channel_iter_get_io_device
636372
_call_completion
677083
spdk_for_each_channel
677083
_call_channel
746979
spdk_for_each_channel_continue
746979
spdk_io_channel_iter_get_channel
753657
io_device_get
1121893
io_device_tree_RB_FIND
1121893
spdk_io_channel_iter_get_ctx
1353931
spdk_thread_has_active_pollers
1805961
thread_exit
3231586
spdk_spin_unlock
3675260
spdk_spin_lock
3675268
_interrupt_wrapper
3720812
io_channel_tree_RB_FIND
3970691
thread_get_io_channel
3970691
io_device_cmp
4615481
spdk_spin_held
8287393
spdk_set_thread
8810651
io_channel_cmp
10554586
spdk_thread_send_msg
12450871
thread_send_msg_notification
12452397
timed_pollers_tree_RB_REMOVE_COLOR
14536030
thread_execute_timed_poller
20197161
timed_pollers_tree_RB_REMOVE
20202331
poller_insert_timer
20202411
timed_pollers_tree_RB_INSERT
20202411
timed_pollers_tree_RB_INSERT_COLOR
20202411
timed_pollers_tree_RB_NEXT
20208423
spdk_io_channel_get_io_device
22103935
spdk_io_channel_from_ctx
27748320
timed_poller_compare
91306972
spdk_thread_is_idle
168377212
thread_has_unpaused_pollers
168377220
spdk_interrupt_mode_is_enabled
252272614
spdk_io_channel_get_thread
376033053
spdk_get_thread
483032328
spdk_thread_is_exited
10842072864
spdk_thread_get_last_tsc
10843174412
spdk_thread_poll
11008196841
thread_poll
11008196841
thread_update_stats
11008196841
msg_queue_run_batch
11008197360
_get_thread
11504804497
thread_execute_poller
12563491883
spdk_thread_get_from_ctx
21644531914
Generated by:
LCOV version 1.14