LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1202
1483
81.1 %
Date:
2024-11-20 13:00:13
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4161
10270
40.5 %
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
4
spdk_thread_get_trace_id
6
poller_set_interrupt_mode
8
spdk_thread_has_pollers
8
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_stats
16
spdk_poller_get_id
20
spdk_thread_bind
20
sspin_stacks_print
25
spdk_interrupt_mode_enable
27
io_device_tree_RB_NEXT
36
spdk_poller_get_state_str
44
thread_interrupt_create
68
thread_interrupt_destroy
68
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
spdk_thread_set_interrupt_mode
84
spdk_thread_get_next_active_poller
96
spdk_thread_is_bound
122
period_poller_interrupt_init
126
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
_thread_exit
128
poller_remove_timer
130
period_poller_set_interrupt_mode
134
spdk_thread_get_interrupt_fd_group
160
spdk_poller_resume
187
spdk_poller_pause
191
spdk_poller_register
243
spdk_thread_lib_init
362
spdk_thread_get_count
396
_back_to_orig_thread
540
spdk_for_each_thread
540
spdk_thread_get_by_id
637
_on_thread
751
busy_poller_interrupt_init
1048
busy_poller_set_interrupt_mode
1048
spdk_thread_get_name
1064
_thread_remove_pollers
1075
poller_interrupt_fini
1174
spdk_thread_send_critical_msg
1186
spdk_interrupt_register
1199
spdk_interrupt_register_for_events
1293
spdk_interrupt_register_ext
1294
thread_trace
2122
spdk_thread_lib_init_ext
2171
spdk_poller_register_interrupt
2258
spdk_thread_lib_fini
2529
_thread_lib_init
2533
io_device_tree_RB_MINMAX
2545
spdk_interrupt_unregister
2694
_thread_trace
2797
register_flag_thread
2797
spdk_thread_is_running
2919
_free_thread
6930
spdk_thread_destroy
6937
spdk_thread_create
7064
spdk_thread_exit
7079
spdk_thread_set_cpumask
7732
spdk_thread_get_stats
7909
io_channel_tree_RB_MINMAX
13966
timed_pollers_tree_RB_MINMAX
15322
spdk_thread_next_poller_expiration
17032
spdk_thread_get_app_thread
21635
spdk_thread_get_cpumask
23656
spdk_thread_get_id
26593
spdk_thread_get_ctx
28011
_finish_unregister
32828
spdk_thread_is_app_thread
33941
io_device_tree_RB_REMOVE_COLOR
34846
io_device_free
41644
io_device_tree_RB_INSERT_COLOR
41648
io_device_tree_RB_REMOVE
41648
spdk_io_device_unregister
41652
io_device_tree_RB_INSERT
41656
spdk_io_device_register
41656
interrupt_timerfd_process
49832
io_channel_tree_RB_REMOVE_COLOR
71584
sspin_fini_internal
83418
spdk_spin_destroy
83422
io_channel_tree_RB_REMOVE
85441
io_channel_tree_RB_INSERT
85449
io_channel_tree_RB_INSERT_COLOR
85449
put_io_channel
85510
spdk_spin_init
121725
sspin_init_internal
121725
spdk_poller_register_named
149412
convert_us_to_ticks
149654
poller_register
149655
thread_insert_poller
149760
spdk_poller_unregister
262525
spdk_put_io_channel
279725
spdk_get_io_channel
279742
thread_interrupt_msg_process
514447
_call_completion
531192
spdk_for_each_channel
531194
_call_channel
588066
spdk_for_each_channel_continue
588066
spdk_io_channel_iter_get_channel
599961
spdk_io_channel_iter_get_io_device
837233
io_device_get
852604
io_device_tree_RB_FIND
852604
spdk_io_channel_iter_get_ctx
1123060
spdk_spin_held
1173205
spdk_spin_unlock
1735993
spdk_spin_lock
1736002
spdk_thread_has_active_pollers
3020538
thread_exit
3370255
io_device_cmp
3522097
io_channel_tree_RB_FIND
4087797
thread_get_io_channel
4087797
spdk_thread_send_msg
10919817
thread_send_msg_notification
10921003
io_channel_cmp
10982557
spdk_io_channel_get_io_device
12283839
spdk_io_channel_from_ctx
17252252
timed_pollers_tree_RB_REMOVE_COLOR
22463640
thread_execute_timed_poller
25200671
timed_pollers_tree_RB_REMOVE
25207202
poller_insert_timer
25207285
timed_pollers_tree_RB_INSERT
25207285
timed_pollers_tree_RB_INSERT_COLOR
25207285
timed_pollers_tree_RB_NEXT
25214923
thread_has_unpaused_pollers
53499220
spdk_thread_is_idle
53505565
_interrupt_wrapper
134769954
spdk_interrupt_mode_is_enabled
145506864
timed_poller_compare
183991439
spdk_set_thread
271851546
spdk_io_channel_get_thread
298647179
spdk_get_thread
521534745
thread_execute_poller
5948990132
spdk_thread_get_last_tsc
6760115150
spdk_thread_is_exited
6778660537
thread_update_stats
6991446706
spdk_thread_poll
6991763903
thread_poll
6992042312
msg_queue_run_batch
6992559408
_get_thread
7519403306
spdk_thread_get_from_ctx
13477523494
Generated by:
LCOV version 1.15