LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1091
1309
83.3 %
Date:
2024-07-14 15:39:14
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
761
1132
67.2 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
535
_call_channel
760062
_call_completion
705006
_finish_unregister
43988
_free_thread
8603
_get_thread
11323109115
_interrupt_wrapper
2548983
_on_thread
675
_thread_exit
20
_thread_lib_init
3292
_thread_remove_pollers
164
_thread_trace
3683
busy_poller_interrupt_init
164
busy_poller_set_interrupt_mode
164
convert_us_to_ticks
283485
interrupt_timerfd_process
9279
io_channel_cmp
12127750
io_channel_tree_RB_FIND
4449535
io_channel_tree_RB_INSERT
124812
io_channel_tree_RB_INSERT_COLOR
124812
io_channel_tree_RB_MINMAX
17313
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
124808
io_channel_tree_RB_REMOVE_COLOR
105699
io_device_cmp
4724449
io_device_free
54754
io_device_get
1136899
io_device_tree_RB_FIND
1136899
io_device_tree_RB_INSERT
54766
io_device_tree_RB_INSERT_COLOR
54758
io_device_tree_RB_MINMAX
3304
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
54758
io_device_tree_RB_REMOVE_COLOR
46440
msg_queue_run_batch
10835757247
period_poller_interrupt_init
18
period_poller_set_interrupt_mode
28
poller_insert_timer
20447890
poller_interrupt_fini
182
poller_register
283485
poller_remove_timer
23
poller_set_interrupt_mode
10
put_io_channel
124891
register_flag_thread
3683
spdk_for_each_channel
705006
spdk_for_each_channel_continue
760062
spdk_for_each_thread
535
spdk_get_io_channel
377119
spdk_get_thread
474531372
spdk_interrupt_mode_enable
16
spdk_interrupt_mode_is_enabled
311537817
spdk_interrupt_register
203
spdk_interrupt_register_for_events
203
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
348
spdk_io_channel_from_ctx
35524055
spdk_io_channel_get_io_device
26284540
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
377931588
spdk_io_channel_iter_get_channel
804992
spdk_io_channel_iter_get_ctx
1390533
spdk_io_channel_iter_get_io_device
779042
spdk_io_device_get_name
0
spdk_io_device_register
54766
spdk_io_device_unregister
54762
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
181
spdk_poller_register
208
spdk_poller_register_interrupt
911
spdk_poller_register_named
283277
spdk_poller_resume
141
spdk_poller_unregister
646157
spdk_put_io_channel
377103
spdk_set_thread
6472122
spdk_spin_destroy
113324
spdk_spin_held
7420822
spdk_spin_init
157402
spdk_spin_lock
2571183
spdk_spin_unlock
2571175
spdk_thread_bind
20
spdk_thread_create
8743
spdk_thread_destroy
8610
spdk_thread_exit
8750
spdk_thread_get_app_thread
39154
spdk_thread_get_by_id
507
spdk_thread_get_count
334
spdk_thread_get_cpumask
29447
spdk_thread_get_ctx
38784
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
21306871141
spdk_thread_get_id
80627
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
70
spdk_thread_get_last_tsc
10677733517
spdk_thread_get_name
1087
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
9493
spdk_thread_has_active_pollers
2043103
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
43381
spdk_thread_is_bound
92
spdk_thread_is_exited
10672003359
spdk_thread_is_idle
150623352
spdk_thread_is_running
3550
spdk_thread_lib_fini
3288
spdk_thread_lib_init
331
spdk_thread_lib_init_ext
2961
spdk_thread_next_poller_expiration
22481
spdk_thread_poll
10835756599
spdk_thread_send_critical_msg
1565
spdk_thread_send_msg
11683424
spdk_thread_set_cpumask
11526
spdk_thread_set_interrupt_mode
40
sspin_fini_internal
113320
sspin_init_internal
157402
sspin_stack_print
72
sspin_stacks_print
24
thread_execute_poller
12419778981
thread_execute_timed_poller
20443378
thread_exit
4766055
thread_get_io_channel
4449535
thread_has_unpaused_pollers
150623360
thread_insert_poller
283590
thread_interrupt_create
20
thread_interrupt_destroy
20
thread_interrupt_msg_process
764
thread_poll
10835756599
thread_send_msg_notification
11684989
thread_trace
2918
thread_update_stats
10835756599
timed_poller_compare
95423090
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
20447890
timed_pollers_tree_RB_INSERT_COLOR
20447890
timed_pollers_tree_RB_MINMAX
17664
timed_pollers_tree_RB_NEXT
20453132
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
20447810
timed_pollers_tree_RB_REMOVE_COLOR
14886568
wrong_thread
0
Generated by:
LCOV version 1.14