LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1085
1305
83.1 %
Date:
2024-07-12 12:30:19
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
773
1128
68.5 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
462
_call_channel
617108
_call_completion
557601
_finish_unregister
40886
_free_thread
7859
_get_thread
11422651095
_interrupt_wrapper
5335536
_on_thread
580
_thread_exit
20
_thread_lib_init
3054
_thread_remove_pollers
173
_thread_trace
3020
busy_poller_interrupt_init
170
busy_poller_set_interrupt_mode
170
convert_us_to_ticks
280220
interrupt_timerfd_process
10173
io_channel_cmp
11395395
io_channel_tree_RB_FIND
4148488
io_channel_tree_RB_INSERT
117982
io_channel_tree_RB_INSERT_COLOR
117982
io_channel_tree_RB_MINMAX
15825
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
117978
io_channel_tree_RB_REMOVE_COLOR
99322
io_device_cmp
3947316
io_device_free
50837
io_device_get
965086
io_device_tree_RB_FIND
965086
io_device_tree_RB_INSERT
50849
io_device_tree_RB_INSERT_COLOR
50841
io_device_tree_RB_MINMAX
3066
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
50841
io_device_tree_RB_REMOVE_COLOR
42945
msg_queue_run_batch
11047160029
period_poller_interrupt_init
18
period_poller_set_interrupt_mode
28
poller_insert_timer
19962754
poller_interrupt_fini
188
poller_register
280220
poller_remove_timer
23
poller_set_interrupt_mode
10
put_io_channel
118055
register_flag_thread
3020
spdk_for_each_channel
557601
spdk_for_each_channel_continue
617108
spdk_for_each_thread
462
spdk_get_io_channel
356628
spdk_get_thread
367626538
spdk_interrupt_mode_enable
16
spdk_interrupt_mode_is_enabled
91480035
spdk_interrupt_register
209
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
357
spdk_io_channel_from_ctx
32398564
spdk_io_channel_get_io_device
24074708
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
327482695
spdk_io_channel_iter_get_channel
753354
spdk_io_channel_iter_get_ctx
1185294
spdk_io_channel_iter_get_io_device
821214
spdk_io_device_get_name
0
spdk_io_device_register
50849
spdk_io_device_unregister
50845
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
207
spdk_poller_register
208
spdk_poller_register_interrupt
826
spdk_poller_register_named
280012
spdk_poller_resume
167
spdk_poller_unregister
718667
spdk_put_io_channel
356612
spdk_set_thread
61441773
spdk_spin_destroy
106776
spdk_spin_held
1840951
spdk_spin_init
147603
spdk_spin_lock
1983150
spdk_spin_unlock
1983142
spdk_thread_bind
4
spdk_thread_create
7999
spdk_thread_destroy
7866
spdk_thread_exit
8006
spdk_thread_get_app_thread
38301
spdk_thread_get_by_id
507
spdk_thread_get_count
282
spdk_thread_get_cpumask
27903
spdk_thread_get_ctx
37378
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
21700430510
spdk_thread_get_id
68536
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
70
spdk_thread_get_last_tsc
10837407337
spdk_thread_get_name
715
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
8415
spdk_thread_has_active_pollers
1841796
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
39832
spdk_thread_is_bound
85
spdk_thread_is_exited
10866363674
spdk_thread_is_idle
106666691
spdk_thread_is_running
3585
spdk_thread_lib_fini
3050
spdk_thread_lib_init
327
spdk_thread_lib_init_ext
2727
spdk_thread_next_poller_expiration
22146
spdk_thread_poll
11047159398
spdk_thread_send_critical_msg
1447
spdk_thread_send_msg
6903778
spdk_thread_set_cpumask
11538
spdk_thread_set_interrupt_mode
40
sspin_fini_internal
106772
sspin_init_internal
147603
sspin_stack_print
72
sspin_stacks_print
24
thread_execute_poller
12060147187
thread_execute_timed_poller
19957840
thread_exit
5003771
thread_get_io_channel
4148488
thread_has_unpaused_pollers
106666699
thread_insert_poller
280351
thread_interrupt_create
20
thread_interrupt_destroy
20
thread_interrupt_msg_process
754
thread_poll
11047159398
thread_send_msg_notification
6905225
thread_trace
2684
thread_update_stats
11047159398
timed_poller_compare
129049018
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
19962754
timed_pollers_tree_RB_INSERT_COLOR
19962754
timed_pollers_tree_RB_MINMAX
16185
timed_pollers_tree_RB_NEXT
19968122
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
19962674
timed_pollers_tree_RB_REMOVE_COLOR
15727357
wrong_thread
0
Generated by:
LCOV version 1.14