LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1086
1303
83.3 %
Date:
2024-07-12 13:06:24
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
772
1126
68.6 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
433
_call_channel
788266
_call_completion
720853
_finish_unregister
35166
_free_thread
8542
_get_thread
9074589263
_interrupt_wrapper
4267729
_on_thread
573
_thread_exit
20
_thread_lib_init
3300
_thread_remove_pollers
173
_thread_trace
3246
busy_poller_interrupt_init
189
busy_poller_set_interrupt_mode
189
convert_us_to_ticks
285395
interrupt_timerfd_process
9892
io_channel_cmp
12253927
io_channel_tree_RB_FIND
4553613
io_channel_tree_RB_INSERT
99196
io_channel_tree_RB_INSERT_COLOR
99196
io_channel_tree_RB_MINMAX
17188
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
99196
io_channel_tree_RB_REMOVE_COLOR
83218
io_device_cmp
4553063
io_device_free
44926
io_device_get
1065706
io_device_tree_RB_FIND
1065706
io_device_tree_RB_INSERT
44934
io_device_tree_RB_INSERT_COLOR
44926
io_device_tree_RB_MINMAX
3312
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
44926
io_device_tree_RB_REMOVE_COLOR
36670
msg_queue_run_batch
8601193812
period_poller_interrupt_init
18
period_poller_set_interrupt_mode
28
poller_insert_timer
23235958
poller_interrupt_fini
207
poller_register
285395
poller_remove_timer
23
poller_set_interrupt_mode
10
put_io_channel
99244
register_flag_thread
3246
spdk_for_each_channel
720853
spdk_for_each_channel_continue
788266
spdk_for_each_thread
433
spdk_get_io_channel
299911
spdk_get_thread
464607313
spdk_interrupt_mode_enable
16
spdk_interrupt_mode_is_enabled
8354015
spdk_interrupt_register
228
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
373
spdk_io_channel_from_ctx
24226298
spdk_io_channel_get_io_device
18736661
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
398256661
spdk_io_channel_iter_get_channel
848698
spdk_io_channel_iter_get_ctx
1430815
spdk_io_channel_iter_get_io_device
782774
spdk_io_device_get_name
0
spdk_io_device_register
44934
spdk_io_device_unregister
44930
spdk_poller_get_id
10
spdk_poller_get_name
10
spdk_poller_get_period_ticks
10
spdk_poller_get_state_str
10
spdk_poller_get_stats
10
spdk_poller_pause
178
spdk_poller_register
208
spdk_poller_register_interrupt
816
spdk_poller_register_named
285187
spdk_poller_resume
138
spdk_poller_unregister
757182
spdk_put_io_channel
299899
spdk_set_thread
69649054
spdk_spin_destroy
93670
spdk_spin_held
7576188
spdk_spin_init
130793
spdk_spin_lock
2610235
spdk_spin_unlock
2610227
spdk_thread_bind
20
spdk_thread_create
8682
spdk_thread_destroy
8550
spdk_thread_exit
8690
spdk_thread_get_app_thread
27514
spdk_thread_get_by_id
543
spdk_thread_get_count
292
spdk_thread_get_cpumask
29591
spdk_thread_get_ctx
39386
spdk_thread_get_first_active_poller
132
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
132
spdk_thread_get_first_timed_poller
132
spdk_thread_get_from_ctx
16825226276
spdk_thread_get_id
73543
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
70
spdk_thread_get_last_tsc
8417876860
spdk_thread_get_name
534
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
84
spdk_thread_get_stats
9091
spdk_thread_has_active_pollers
1958909
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36729
spdk_thread_is_bound
92
spdk_thread_is_exited
8430476756
spdk_thread_is_idle
73857421
spdk_thread_is_running
3652
spdk_thread_lib_fini
3296
spdk_thread_lib_init
325
spdk_thread_lib_init_ext
2975
spdk_thread_next_poller_expiration
48786
spdk_thread_poll
8601193177
spdk_thread_send_critical_msg
1238
spdk_thread_send_msg
7724830
spdk_thread_set_cpumask
11854
spdk_thread_set_interrupt_mode
40
sspin_fini_internal
93666
sspin_init_internal
130793
sspin_stack_print
72
sspin_stacks_print
24
thread_execute_poller
11008819844
thread_execute_timed_poller
23231687
thread_exit
5518403
thread_get_io_channel
4553613
thread_has_unpaused_pollers
73857429
thread_insert_poller
285497
thread_interrupt_create
20
thread_interrupt_destroy
20
thread_interrupt_msg_process
758
thread_poll
8601193177
thread_send_msg_notification
7726068
thread_trace
2932
thread_update_stats
8601193177
timed_poller_compare
145192701
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
23235958
timed_pollers_tree_RB_INSERT_COLOR
23235958
timed_pollers_tree_RB_MINMAX
17548
timed_pollers_tree_RB_NEXT
23240753
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
23235878
timed_pollers_tree_RB_REMOVE_COLOR
18660617
wrong_thread
0
Generated by:
LCOV version 1.14