LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1184
1458
81.2 %
Date:
2024-11-20 18:18:54
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3962
10256
38.6 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
573
_call_channel
838518
_call_completion
750967
_finish_unregister
33197
_free_thread
7093
_get_thread
9818030095
_interrupt_wrapper
260970604
_on_thread
780
_thread_exit
244
_thread_lib_init
2593
_thread_remove_pollers
2644
_thread_trace
2966
busy_poller_interrupt_init
2819
busy_poller_set_interrupt_mode
2819
convert_us_to_ticks
165022
interrupt_timerfd_process
87345
io_channel_cmp
11609334
io_channel_tree_RB_FIND
4246423
io_channel_tree_RB_INSERT
94876
io_channel_tree_RB_INSERT_COLOR
94876
io_channel_tree_RB_MINMAX
14270
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
94870
io_channel_tree_RB_REMOVE_COLOR
81944
io_device_cmp
4691220
io_device_free
42353
io_device_get
1097547
io_device_tree_RB_FIND
1097547
io_device_tree_RB_INSERT
42362
io_device_tree_RB_INSERT_COLOR
42356
io_device_tree_RB_MINMAX
2602
io_device_tree_RB_NEXT
27
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
42356
io_device_tree_RB_REMOVE_COLOR
36199
msg_queue_run_batch
9041834612
period_poller_interrupt_init
233
period_poller_set_interrupt_mode
241
poller_insert_timer
22741257
poller_interrupt_fini
3052
poller_register
165022
poller_remove_timer
237
poller_set_interrupt_mode
8
put_io_channel
94932
register_flag_thread
2966
spdk_for_each_channel
750967
spdk_for_each_channel_continue
838518
spdk_for_each_thread
573
spdk_get_io_channel
304212
spdk_get_thread
763194487
spdk_interrupt_mode_enable
40
spdk_interrupt_mode_is_enabled
319846977
spdk_interrupt_register
3080
spdk_interrupt_register_for_events
3278
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
5174
spdk_io_channel_from_ctx
20610525
spdk_io_channel_get_io_device
15991473
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
380865108
spdk_io_channel_iter_get_channel
762836
spdk_io_channel_iter_get_ctx
1520589
spdk_io_channel_iter_get_io_device
708575
spdk_io_device_get_name
0
spdk_io_device_register
42362
spdk_io_device_unregister
42359
spdk_poller_get_id
17
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_state_str
35
spdk_poller_get_stats
14
spdk_poller_pause
168
spdk_poller_register
184
spdk_poller_register_interrupt
2593
spdk_poller_register_named
164838
spdk_poller_resume
165
spdk_poller_unregister
371751
spdk_put_io_channel
304199
spdk_set_thread
524635724
spdk_spin_destroy
88757
spdk_spin_held
14182970
spdk_spin_init
129852
spdk_spin_lock
3010627
spdk_spin_unlock
3010619
spdk_thread_bind
19
spdk_thread_create
7201
spdk_thread_destroy
7098
spdk_thread_exit
7206
spdk_thread_get_app_thread
20491
spdk_thread_get_by_id
660
spdk_thread_get_count
375
spdk_thread_get_cpumask
28143
spdk_thread_get_ctx
36936
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_get_from_ctx
17579374597
spdk_thread_get_id
89061
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
264
spdk_thread_get_last_tsc
8812580631
spdk_thread_get_name
1130
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
78
spdk_thread_get_stats
8343
spdk_thread_has_active_pollers
1835408
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
36268
spdk_thread_is_bound
111
spdk_thread_is_exited
8815521048
spdk_thread_is_idle
50972278
spdk_thread_is_running
3453
spdk_thread_lib_fini
2590
spdk_thread_lib_init
277
spdk_thread_lib_init_ext
2316
spdk_thread_next_poller_expiration
23274
spdk_thread_poll
9040839906
spdk_thread_send_critical_msg
1335
spdk_thread_send_msg
13126408
spdk_thread_set_cpumask
11862
spdk_thread_set_interrupt_mode
136
sspin_fini_internal
88754
sspin_init_internal
129852
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
9075720647
thread_execute_timed_poller
22732442
thread_exit
583918
thread_get_io_channel
4246423
thread_has_unpaused_pollers
50970511
thread_insert_poller
165127
thread_interrupt_create
120
thread_interrupt_destroy
120
thread_interrupt_msg_process
861564
thread_poll
9040860726
thread_send_msg_notification
13127743
thread_trace
2280
thread_update_stats
9040890043
timed_poller_compare
134195329
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
22741257
timed_pollers_tree_RB_INSERT_COLOR
22741257
timed_pollers_tree_RB_MINMAX
17289
timed_pollers_tree_RB_NEXT
22752219
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
22741197
timed_pollers_tree_RB_REMOVE_COLOR
18820193
wrong_thread
0
Generated by:
LCOV version 1.15