LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1204
1483
81.2 %
Date:
2024-11-20 10:56:54
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4192
10270
40.8 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
534
_call_channel
654261
_call_completion
570469
_finish_unregister
32326
_free_thread
6930
_get_thread
8068127866
_interrupt_wrapper
258182535
_on_thread
745
_thread_exit
247
_thread_lib_init
2476
_thread_remove_pollers
1609
_thread_trace
2737
busy_poller_interrupt_init
1488
busy_poller_set_interrupt_mode
1488
convert_us_to_ticks
157324
interrupt_timerfd_process
92753
io_channel_cmp
11197907
io_channel_tree_RB_FIND
4205187
io_channel_tree_RB_INSERT
92847
io_channel_tree_RB_INSERT_COLOR
92847
io_channel_tree_RB_MINMAX
13971
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
92839
io_channel_tree_RB_REMOVE_COLOR
79039
io_device_cmp
3724700
io_device_free
40688
io_device_get
905988
io_device_tree_RB_FIND
905988
io_device_tree_RB_INSERT
40700
io_device_tree_RB_INSERT_COLOR
40692
io_device_tree_RB_MINMAX
2488
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
40692
io_device_tree_RB_REMOVE_COLOR
33996
msg_queue_run_batch
7383680541
period_poller_interrupt_init
240
period_poller_set_interrupt_mode
248
poller_insert_timer
24466256
poller_interrupt_fini
1728
poller_register
157324
poller_remove_timer
244
poller_set_interrupt_mode
8
put_io_channel
92910
register_flag_thread
2737
spdk_for_each_channel
570469
spdk_for_each_channel_continue
654261
spdk_for_each_thread
534
spdk_get_io_channel
294809
spdk_get_thread
679921314
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
143799857
spdk_interrupt_register
1758
spdk_interrupt_register_ext
1957
spdk_interrupt_register_for_events
1956
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3538
spdk_io_channel_from_ctx
19435279
spdk_io_channel_get_io_device
14170008
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
313695602
spdk_io_channel_iter_get_channel
671809
spdk_io_channel_iter_get_ctx
1242553
spdk_io_channel_iter_get_io_device
813207
spdk_io_device_get_name
0
spdk_io_device_register
40700
spdk_io_device_unregister
40696
spdk_poller_get_id
20
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_state_str
44
spdk_poller_get_stats
16
spdk_poller_pause
191
spdk_poller_register
243
spdk_poller_register_interrupt
2386
spdk_poller_register_named
157081
spdk_poller_resume
187
spdk_poller_unregister
324903
spdk_put_io_channel
294793
spdk_set_thread
519558051
spdk_spin_destroy
86933
spdk_spin_held
1171988
spdk_spin_init
123742
spdk_spin_lock
1993755
spdk_spin_unlock
1993741
spdk_thread_bind
20
spdk_thread_create
7064
spdk_thread_destroy
6938
spdk_thread_exit
7080
spdk_thread_get_app_thread
21568
spdk_thread_get_by_id
607
spdk_thread_get_count
397
spdk_thread_get_cpumask
27722
spdk_thread_get_ctx
36339
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
14230930044
spdk_thread_get_id
69018
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
7152290064
spdk_thread_get_name
1078
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
7901
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3646569
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
33395
spdk_thread_is_bound
116
spdk_thread_is_exited
7154588633
spdk_thread_is_idle
58972798
spdk_thread_is_running
2924
spdk_thread_lib_fini
2472
spdk_thread_lib_init
350
spdk_thread_lib_init_ext
2126
spdk_thread_next_poller_expiration
17569
spdk_thread_poll
7382048756
spdk_thread_send_critical_msg
1220
spdk_thread_send_msg
12539876
spdk_thread_set_cpumask
11856
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
86929
sspin_init_internal
123742
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
6565892715
thread_execute_timed_poller
24458714
thread_exit
3560525
thread_get_io_channel
4205187
thread_has_unpaused_pollers
58968608
thread_insert_poller
157431
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
952616
thread_poll
7382362731
thread_send_msg_notification
12541097
thread_trace
2076
thread_update_stats
7382101907
timed_poller_compare
187519046
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
24466256
timed_pollers_tree_RB_INSERT_COLOR
24466256
timed_pollers_tree_RB_MINMAX
15966
timed_pollers_tree_RB_NEXT
24474953
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
24466175
timed_pollers_tree_RB_REMOVE_COLOR
21700990
wrong_thread
0
Generated by:
LCOV version 1.15