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:17:58
Functions:
141
163
86.5 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4181
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
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
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
spdk_thread_is_bound
72
sspin_stack_print
75
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
233
poller_remove_timer
237
_thread_exit
241
period_poller_set_interrupt_mode
241
spdk_poller_register
243
spdk_thread_get_interrupt_fd_group
264
spdk_thread_lib_init
351
spdk_thread_get_count
385
spdk_thread_get_by_id
399
_back_to_orig_thread
514
spdk_for_each_thread
514
_on_thread
629
spdk_thread_get_name
854
busy_poller_interrupt_init
1223
busy_poller_set_interrupt_mode
1223
spdk_thread_send_critical_msg
1264
_thread_remove_pollers
1358
poller_interrupt_fini
1456
spdk_interrupt_register
1484
spdk_interrupt_register_ext
1682
spdk_interrupt_register_for_events
1682
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
3034
spdk_interrupt_unregister
3520
spdk_thread_get_stats
6711
_free_thread
6969
spdk_thread_destroy
6977
spdk_thread_create
7103
spdk_thread_exit
7119
spdk_thread_set_cpumask
11968
io_channel_tree_RB_MINMAX
14047
timed_pollers_tree_RB_MINMAX
15688
spdk_thread_get_app_thread
21869
spdk_thread_next_poller_expiration
23111
spdk_thread_get_cpumask
27424
_finish_unregister
33504
spdk_thread_is_app_thread
34654
io_device_tree_RB_REMOVE_COLOR
35631
spdk_thread_get_ctx
36500
io_device_free
42533
io_device_tree_RB_INSERT_COLOR
42537
io_device_tree_RB_REMOVE
42537
spdk_io_device_unregister
42541
io_device_tree_RB_INSERT
42545
spdk_io_device_register
42545
spdk_thread_get_id
77968
io_channel_tree_RB_REMOVE_COLOR
81093
interrupt_timerfd_process
85159
sspin_fini_internal
88328
spdk_spin_destroy
88332
io_channel_tree_RB_REMOVE
95101
io_channel_tree_RB_INSERT
95109
io_channel_tree_RB_INSERT_COLOR
95109
put_io_channel
95172
spdk_spin_init
127784
sspin_init_internal
127784
spdk_poller_register_named
153399
convert_us_to_ticks
153640
poller_register
153640
thread_insert_poller
153765
spdk_put_io_channel
302224
spdk_get_io_channel
302243
spdk_poller_unregister
327757
_call_completion
577984
spdk_for_each_channel
577985
_call_channel
671021
spdk_for_each_channel_continue
671021
spdk_io_channel_iter_get_channel
682105
spdk_io_channel_iter_get_io_device
813993
io_device_get
922784
io_device_tree_RB_FIND
922784
thread_interrupt_msg_process
1063912
spdk_io_channel_iter_get_ctx
1269853
spdk_spin_unlock
1928911
spdk_spin_lock
1928921
spdk_spin_held
3278184
thread_exit
3642558
io_device_cmp
3707703
spdk_thread_has_active_pollers
3820308
io_channel_tree_RB_FIND
4159383
thread_get_io_channel
4159383
spdk_thread_send_msg
10878270
thread_send_msg_notification
10879534
io_channel_cmp
10969761
spdk_io_channel_get_io_device
13519761
spdk_io_channel_from_ctx
17444837
timed_pollers_tree_RB_REMOVE_COLOR
21140154
thread_execute_timed_poller
23964292
timed_pollers_tree_RB_REMOVE
23972319
poller_insert_timer
23972400
timed_pollers_tree_RB_INSERT
23972400
timed_pollers_tree_RB_INSERT_COLOR
23972400
timed_pollers_tree_RB_NEXT
23981323
thread_has_unpaused_pollers
56102286
spdk_thread_is_idle
56111336
spdk_interrupt_mode_is_enabled
140311988
timed_poller_compare
187825705
_interrupt_wrapper
256706982
spdk_io_channel_get_thread
323821904
spdk_set_thread
516828392
spdk_get_thread
671180829
thread_execute_poller
6691281881
spdk_thread_get_last_tsc
7279432116
spdk_thread_is_exited
7305471183
msg_queue_run_batch
7529581815
thread_update_stats
7530226903
spdk_thread_poll
7530330641
thread_poll
7530381800
_get_thread
8204217557
spdk_thread_get_from_ctx
14528947334
Generated by:
LCOV version 1.15