LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1084
1303
83.2 %
Date:
2024-07-15 14:57:06
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
773
1126
68.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
poller_set_interrupt_mode
8
spdk_poller_get_id
8
spdk_poller_get_name
8
spdk_poller_get_period_ticks
8
spdk_poller_get_state_str
8
spdk_poller_get_stats
8
spdk_thread_has_pollers
10
spdk_interrupt_mode_enable
13
period_poller_interrupt_init
15
_thread_exit
17
thread_interrupt_create
17
thread_interrupt_destroy
17
poller_remove_timer
19
spdk_thread_bind
21
period_poller_set_interrupt_mode
23
sspin_stacks_print
28
spdk_thread_set_interrupt_mode
33
io_device_tree_RB_NEXT
45
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_next_timed_poller
78
sspin_stack_print
84
spdk_thread_is_bound
92
spdk_thread_get_next_active_poller
96
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
_thread_remove_pollers
141
spdk_poller_resume
153
busy_poller_interrupt_init
154
busy_poller_set_interrupt_mode
154
poller_interrupt_fini
169
spdk_interrupt_register
187
spdk_poller_pause
203
spdk_poller_register
258
spdk_thread_get_count
297
spdk_interrupt_unregister
337
spdk_thread_lib_init
398
_back_to_orig_thread
409
spdk_for_each_thread
409
spdk_thread_get_name
506
spdk_thread_get_by_id
526
_on_thread
551
thread_interrupt_msg_process
631
spdk_poller_register_interrupt
756
spdk_thread_send_critical_msg
1068
thread_trace
2590
spdk_thread_lib_init_ext
2642
_thread_trace
2924
register_flag_thread
2924
spdk_thread_lib_fini
3035
_thread_lib_init
3040
io_device_tree_RB_MINMAX
3055
spdk_thread_is_running
3427
_free_thread
7759
spdk_thread_destroy
7769
spdk_thread_create
7934
spdk_thread_exit
7935
spdk_thread_set_cpumask
7998
spdk_thread_get_stats
8336
interrupt_timerfd_process
9456
io_channel_tree_RB_MINMAX
15648
timed_pollers_tree_RB_MINMAX
15970
spdk_thread_get_cpumask
23070
spdk_thread_get_id
23242
spdk_thread_get_app_thread
26808
spdk_thread_get_ctx
29869
spdk_thread_is_app_thread
32475
_finish_unregister
34376
io_device_tree_RB_REMOVE_COLOR
34597
spdk_thread_next_poller_expiration
42421
io_device_free
43207
io_device_tree_RB_INSERT_COLOR
43207
io_device_tree_RB_REMOVE
43207
spdk_io_device_unregister
43212
io_device_tree_RB_INSERT
43217
spdk_io_device_register
43217
sspin_fini_internal
70118
spdk_spin_destroy
70123
io_channel_tree_RB_REMOVE_COLOR
70442
io_channel_tree_RB_INSERT
88362
io_channel_tree_RB_INSERT_COLOR
88362
io_channel_tree_RB_REMOVE
88362
put_io_channel
88421
spdk_spin_init
102253
sspin_init_internal
102253
spdk_poller_register_named
255404
convert_us_to_ticks
255662
poller_register
255662
thread_insert_poller
255770
spdk_put_io_channel
267507
spdk_get_io_channel
267522
thread_exit
493245
_call_completion
638470
spdk_for_each_channel
638470
spdk_poller_unregister
648903
spdk_io_channel_iter_get_io_device
677057
_call_channel
680898
spdk_for_each_channel_continue
680898
spdk_io_channel_iter_get_channel
723810
io_device_get
949219
io_device_tree_RB_FIND
949219
spdk_io_channel_iter_get_ctx
1228500
spdk_thread_has_active_pollers
2139523
spdk_spin_unlock
2385347
spdk_spin_lock
2385353
io_channel_tree_RB_FIND
3743456
thread_get_io_channel
3743456
io_device_cmp
4017195
spdk_spin_held
4846627
_interrupt_wrapper
5003036
spdk_thread_send_msg
7182430
thread_send_msg_notification
7183498
spdk_interrupt_mode_is_enabled
7746120
io_channel_cmp
10307645
timed_pollers_tree_RB_REMOVE_COLOR
16064316
thread_execute_timed_poller
20007667
timed_pollers_tree_RB_REMOVE
20011039
poller_insert_timer
20011139
timed_pollers_tree_RB_INSERT
20011139
timed_pollers_tree_RB_INSERT_COLOR
20011139
timed_pollers_tree_RB_NEXT
20014933
spdk_io_channel_get_io_device
20956861
spdk_io_channel_from_ctx
26382038
spdk_thread_is_idle
52094708
thread_has_unpaused_pollers
52094718
spdk_set_thread
68214769
timed_poller_compare
122217748
spdk_io_channel_get_thread
331987707
spdk_get_thread
390714371
spdk_thread_get_last_tsc
6758215746
spdk_thread_is_exited
6760564265
spdk_thread_poll
6891473558
thread_poll
6891473558
thread_update_stats
6891473558
msg_queue_run_batch
6891474066
_get_thread
7290314664
thread_execute_poller
8623195702
spdk_thread_get_from_ctx
13497289558
Generated by:
LCOV version 1.14