LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1204
1483
81.2 %
Date:
2024-11-20 07:42:03
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4245
10270
41.3 %
Function Name
Hit count
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
560
_call_channel
678422
_call_completion
582032
_finish_unregister
34742
_free_thread
7377
_get_thread
9154297988
_interrupt_wrapper
282032488
_on_thread
771
_thread_exit
242
_thread_lib_init
2676
_thread_remove_pollers
1598
_thread_trace
2990
busy_poller_interrupt_init
1460
busy_poller_set_interrupt_mode
1460
convert_us_to_ticks
165939
interrupt_timerfd_process
83052
io_channel_cmp
11696956
io_channel_tree_RB_FIND
4330524
io_channel_tree_RB_INSERT
97286
io_channel_tree_RB_INSERT_COLOR
97286
io_channel_tree_RB_MINMAX
14864
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
97278
io_channel_tree_RB_REMOVE_COLOR
82706
io_device_cmp
3739064
io_device_free
44075
io_device_get
935826
io_device_tree_RB_FIND
935826
io_device_tree_RB_INSERT
44087
io_device_tree_RB_INSERT_COLOR
44079
io_device_tree_RB_MINMAX
2688
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
44079
io_device_tree_RB_REMOVE_COLOR
37023
msg_queue_run_batch
8417149974
period_poller_interrupt_init
237
period_poller_set_interrupt_mode
245
poller_insert_timer
27010856
poller_interrupt_fini
1697
poller_register
165935
poller_remove_timer
241
poller_set_interrupt_mode
8
put_io_channel
97344
register_flag_thread
2990
spdk_for_each_channel
582038
spdk_for_each_channel_continue
678422
spdk_for_each_thread
560
spdk_get_io_channel
309690
spdk_get_thread
730356081
spdk_interrupt_mode_enable
40
spdk_interrupt_mode_is_enabled
155757930
spdk_interrupt_register
1725
spdk_interrupt_register_ext
1923
spdk_interrupt_register_for_events
1923
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3718
spdk_io_channel_from_ctx
18361466
spdk_io_channel_get_io_device
13293706
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
344197880
spdk_io_channel_iter_get_channel
695911
spdk_io_channel_iter_get_ctx
1279829
spdk_io_channel_iter_get_io_device
803404
spdk_io_device_get_name
0
spdk_io_device_register
44087
spdk_io_device_unregister
44084
spdk_poller_get_id
20
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_state_str
44
spdk_poller_get_stats
16
spdk_poller_pause
209
spdk_poller_register
243
spdk_poller_register_interrupt
2557
spdk_poller_register_named
165696
spdk_poller_resume
205
spdk_poller_unregister
350543
spdk_put_io_channel
309672
spdk_set_thread
568323610
spdk_spin_destroy
90288
spdk_spin_held
1891344
spdk_spin_init
131244
spdk_spin_lock
1941365
spdk_spin_unlock
1941351
spdk_thread_bind
20
spdk_thread_create
7511
spdk_thread_destroy
7384
spdk_thread_exit
7527
spdk_thread_get_app_thread
22714
spdk_thread_get_by_id
670
spdk_thread_get_count
400
spdk_thread_get_cpumask
28739
spdk_thread_get_ctx
37114
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_get_from_ctx
16253482562
spdk_thread_get_id
80002
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
264
spdk_thread_get_last_tsc
8146059094
spdk_thread_get_name
1219
spdk_thread_get_next_active_poller
96
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
spdk_thread_get_next_timed_poller
78
spdk_thread_get_stats
8398
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3185121
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36234
spdk_thread_is_bound
123
spdk_thread_is_exited
8160400152
spdk_thread_is_idle
55954950
spdk_thread_is_running
3212
spdk_thread_lib_fini
2672
spdk_thread_lib_init
352
spdk_thread_lib_init_ext
2324
spdk_thread_next_poller_expiration
24655
spdk_thread_poll
8415067108
spdk_thread_send_critical_msg
1323
spdk_thread_send_msg
13140747
spdk_thread_set_cpumask
11804
spdk_thread_set_interrupt_mode
136
sspin_fini_internal
90284
sspin_init_internal
131244
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
7325682007
thread_execute_timed_poller
27003554
thread_exit
2650021
thread_get_io_channel
4330524
thread_has_unpaused_pollers
55952806
thread_insert_poller
166062
thread_interrupt_create
120
thread_interrupt_destroy
120
thread_interrupt_msg_process
1479858
thread_poll
8415464438
thread_send_msg_notification
13142066
thread_trace
2274
thread_update_stats
8415203290
timed_poller_compare
198744296
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
27010857
timed_pollers_tree_RB_INSERT_COLOR
27010856
timed_pollers_tree_RB_MINMAX
16852
timed_pollers_tree_RB_NEXT
27019315
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
27010778
timed_pollers_tree_RB_REMOVE_COLOR
24089320
wrong_thread
0
Generated by:
LCOV version 1.15