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 11:33:06
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4185
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_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
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
41
spdk_poller_get_state_str
44
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
thread_interrupt_create
122
thread_interrupt_destroy
122
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_is_bound
130
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
238
poller_remove_timer
242
spdk_poller_register
243
_thread_exit
245
period_poller_set_interrupt_mode
246
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
362
spdk_thread_get_count
408
_back_to_orig_thread
560
spdk_for_each_thread
560
spdk_thread_get_by_id
694
_on_thread
771
busy_poller_interrupt_init
1124
busy_poller_set_interrupt_mode
1124
spdk_thread_get_name
1219
_thread_remove_pollers
1288
spdk_thread_send_critical_msg
1325
poller_interrupt_fini
1362
spdk_interrupt_register
1392
spdk_interrupt_register_for_events
1590
spdk_interrupt_register_ext
1591
thread_trace
2282
spdk_thread_lib_init_ext
2332
spdk_poller_register_interrupt
2548
spdk_thread_lib_fini
2690
_thread_lib_init
2694
io_device_tree_RB_MINMAX
2706
_thread_trace
2989
register_flag_thread
2989
spdk_thread_is_running
3203
spdk_interrupt_unregister
3422
_free_thread
7387
spdk_thread_destroy
7393
spdk_thread_create
7521
spdk_thread_exit
7536
spdk_thread_get_stats
8401
spdk_thread_set_cpumask
11904
io_channel_tree_RB_MINMAX
14885
timed_pollers_tree_RB_MINMAX
16555
spdk_thread_get_app_thread
22743
spdk_thread_next_poller_expiration
23838
spdk_thread_get_cpumask
28776
_finish_unregister
34649
spdk_thread_is_app_thread
36351
io_device_tree_RB_REMOVE_COLOR
36979
spdk_thread_get_ctx
37317
io_device_free
44067
io_device_tree_RB_INSERT_COLOR
44071
io_device_tree_RB_REMOVE
44071
spdk_io_device_unregister
44076
io_device_tree_RB_INSERT
44079
spdk_io_device_register
44079
spdk_thread_get_id
79078
io_channel_tree_RB_REMOVE_COLOR
81879
sspin_fini_internal
89869
spdk_spin_destroy
89873
io_channel_tree_RB_REMOVE
96331
io_channel_tree_RB_INSERT
96339
io_channel_tree_RB_INSERT_COLOR
96339
put_io_channel
96401
interrupt_timerfd_process
97010
spdk_spin_init
131108
sspin_init_internal
131108
spdk_poller_register_named
159801
poller_register
160043
convert_us_to_ticks
160045
thread_insert_poller
160170
spdk_put_io_channel
306353
spdk_get_io_channel
306374
spdk_poller_unregister
360200
_call_completion
604057
spdk_for_each_channel
604058
_call_channel
696001
spdk_for_each_channel_continue
696001
spdk_io_channel_iter_get_channel
707797
spdk_io_channel_iter_get_io_device
817625
io_device_get
954520
io_device_tree_RB_FIND
954520
thread_interrupt_msg_process
979553
spdk_io_channel_iter_get_ctx
1318235
spdk_spin_unlock
1933065
spdk_spin_lock
1933075
spdk_thread_has_active_pollers
2974778
spdk_spin_held
3318802
thread_exit
3323580
io_device_cmp
3914314
io_channel_tree_RB_FIND
4325554
thread_get_io_channel
4325554
io_channel_cmp
11480505
spdk_thread_send_msg
13796746
thread_send_msg_notification
13798070
spdk_io_channel_get_io_device
13885649
spdk_io_channel_from_ctx
19393028
timed_pollers_tree_RB_REMOVE_COLOR
26219231
thread_execute_timed_poller
29234318
timed_pollers_tree_RB_REMOVE
29242397
poller_insert_timer
29242480
timed_pollers_tree_RB_INSERT
29242480
timed_pollers_tree_RB_INSERT_COLOR
29242480
timed_pollers_tree_RB_NEXT
29251494
thread_has_unpaused_pollers
59084168
spdk_thread_is_idle
59086000
spdk_interrupt_mode_is_enabled
162210860
timed_poller_compare
233418811
_interrupt_wrapper
255162016
spdk_io_channel_get_thread
356080383
spdk_set_thread
513568332
spdk_get_thread
707243029
thread_execute_poller
6757921489
spdk_thread_get_last_tsc
7587030237
spdk_thread_is_exited
7612363954
thread_update_stats
7878258695
spdk_thread_poll
7878298571
thread_poll
7878570560
msg_queue_run_batch
7879354018
_get_thread
8590060982
spdk_thread_get_from_ctx
15147671552
Generated by:
LCOV version 1.15