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:43:15
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4164
10270
40.5 %
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
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
128
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
235
poller_remove_timer
239
period_poller_set_interrupt_mode
243
spdk_poller_register
243
_thread_exit
248
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
360
spdk_thread_get_count
408
_back_to_orig_thread
558
spdk_for_each_thread
558
spdk_thread_get_by_id
700
_on_thread
769
spdk_thread_get_name
1219
spdk_thread_send_critical_msg
1323
thread_trace
2276
spdk_thread_lib_init_ext
2326
spdk_poller_register_interrupt
2546
spdk_thread_lib_fini
2682
_thread_lib_init
2686
io_device_tree_RB_MINMAX
2698
_thread_remove_pollers
2871
_thread_trace
2981
register_flag_thread
2981
busy_poller_interrupt_init
3026
busy_poller_set_interrupt_mode
3026
spdk_thread_is_running
3197
poller_interrupt_fini
3261
spdk_interrupt_register
3291
spdk_interrupt_register_for_events
3489
spdk_interrupt_register_ext
3490
spdk_interrupt_unregister
5345
_free_thread
7369
spdk_thread_destroy
7378
spdk_thread_create
7503
spdk_thread_exit
7517
spdk_thread_get_stats
8415
spdk_thread_set_cpumask
11908
io_channel_tree_RB_MINMAX
14849
timed_pollers_tree_RB_MINMAX
18102
spdk_thread_get_app_thread
22900
spdk_thread_next_poller_expiration
24243
spdk_thread_get_cpumask
28769
_finish_unregister
34575
spdk_thread_is_app_thread
36238
io_device_tree_RB_REMOVE_COLOR
36881
spdk_thread_get_ctx
37295
io_device_free
43955
io_device_tree_RB_INSERT_COLOR
43959
io_device_tree_RB_REMOVE
43959
spdk_io_device_unregister
43963
io_device_tree_RB_INSERT
43967
spdk_io_device_register
43967
spdk_thread_get_id
79142
io_channel_tree_RB_REMOVE_COLOR
82257
sspin_fini_internal
89889
spdk_spin_destroy
89893
interrupt_timerfd_process
94886
io_channel_tree_RB_REMOVE
96682
io_channel_tree_RB_INSERT
96690
io_channel_tree_RB_INSERT_COLOR
96690
put_io_channel
96749
spdk_spin_init
130972
sspin_init_internal
130972
spdk_poller_register_named
158668
poller_register
158909
convert_us_to_ticks
158911
thread_insert_poller
159036
spdk_put_io_channel
306921
spdk_get_io_channel
306941
spdk_poller_unregister
384361
_call_completion
629766
spdk_for_each_channel
629771
_call_channel
715710
spdk_for_each_channel_continue
715710
spdk_io_channel_iter_get_channel
722477
spdk_io_channel_iter_get_io_device
810681
thread_interrupt_msg_process
873245
io_device_get
980689
io_device_tree_RB_FIND
980689
spdk_io_channel_iter_get_ctx
1362938
spdk_spin_unlock
2356557
spdk_spin_lock
2356567
spdk_thread_has_active_pollers
3326943
spdk_spin_held
3374775
thread_exit
3434935
io_device_cmp
3983976
io_channel_tree_RB_FIND
4316113
thread_get_io_channel
4316113
io_channel_cmp
11400914
spdk_io_channel_get_io_device
12760735
spdk_thread_send_msg
13332820
thread_send_msg_notification
13334143
spdk_io_channel_from_ctx
17544428
timed_pollers_tree_RB_REMOVE_COLOR
24378087
thread_execute_timed_poller
27261516
timed_pollers_tree_RB_REMOVE
27269632
poller_insert_timer
27269713
timed_pollers_tree_RB_INSERT
27269713
timed_pollers_tree_RB_INSERT_COLOR
27269713
timed_pollers_tree_RB_NEXT
27280261
thread_has_unpaused_pollers
55781690
spdk_thread_is_idle
55785629
spdk_interrupt_mode_is_enabled
168797200
timed_poller_compare
215950108
_interrupt_wrapper
251518958
spdk_io_channel_get_thread
340263635
spdk_set_thread
506067147
spdk_get_thread
709942581
thread_execute_poller
7167953198
spdk_thread_get_last_tsc
7725433488
spdk_thread_is_exited
7739624963
thread_update_stats
7971128165
thread_poll
7971316089
spdk_thread_poll
7971353176
msg_queue_run_batch
7972212296
_get_thread
8688011907
spdk_thread_get_from_ctx
15388049412
Generated by:
LCOV version 1.15