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 16:49:04
Functions:
141
163
86.5 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4191
10270
40.8 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
519
_call_channel
694807
_call_completion
609355
_finish_unregister
33835
_free_thread
7044
_get_thread
8042026169
_interrupt_wrapper
253741968
_on_thread
634
_thread_exit
243
_thread_lib_init
2601
_thread_remove_pollers
1211
_thread_trace
2864
busy_poller_interrupt_init
1020
busy_poller_set_interrupt_mode
1020
convert_us_to_ticks
153227
interrupt_timerfd_process
83759
io_channel_cmp
11481196
io_channel_tree_RB_FIND
4357674
io_channel_tree_RB_INSERT
94909
io_channel_tree_RB_INSERT_COLOR
94909
io_channel_tree_RB_MINMAX
14199
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
94901
io_channel_tree_RB_REMOVE_COLOR
80762
io_device_cmp
3905751
io_device_free
43016
io_device_get
954211
io_device_tree_RB_FIND
954211
io_device_tree_RB_INSERT
43028
io_device_tree_RB_INSERT_COLOR
43020
io_device_tree_RB_MINMAX
2613
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
43020
io_device_tree_RB_REMOVE_COLOR
36057
msg_queue_run_batch
7365941723
period_poller_interrupt_init
228
period_poller_set_interrupt_mode
236
poller_insert_timer
24502351
poller_interrupt_fini
1248
poller_register
153225
poller_remove_timer
232
poller_set_interrupt_mode
8
put_io_channel
94968
register_flag_thread
2864
spdk_for_each_channel
609357
spdk_for_each_channel_continue
694807
spdk_for_each_thread
519
spdk_get_io_channel
301818
spdk_get_thread
669576775
spdk_interrupt_mode_enable
40
spdk_interrupt_mode_is_enabled
151299022
spdk_interrupt_register
1276
spdk_interrupt_register_ext
1474
spdk_interrupt_register_for_events
1474
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3306
spdk_io_channel_from_ctx
19045324
spdk_io_channel_get_io_device
14151832
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
322527999
spdk_io_channel_iter_get_channel
704762
spdk_io_channel_iter_get_ctx
1323132
spdk_io_channel_iter_get_io_device
805958
spdk_io_device_get_name
0
spdk_io_device_register
43028
spdk_io_device_unregister
43024
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
209
spdk_poller_register
243
spdk_poller_register_interrupt
2438
spdk_poller_register_named
152983
spdk_poller_resume
205
spdk_poller_unregister
360143
spdk_put_io_channel
301795
spdk_set_thread
510517792
spdk_spin_destroy
88689
spdk_spin_held
1834158
spdk_spin_init
128682
spdk_spin_lock
1894039
spdk_spin_unlock
1894029
spdk_thread_bind
20
spdk_thread_create
7178
spdk_thread_destroy
7052
spdk_thread_exit
7193
spdk_thread_get_app_thread
22311
spdk_thread_get_by_id
376
spdk_thread_get_count
393
spdk_thread_get_cpumask
26856
spdk_thread_get_ctx
35287
spdk_thread_get_first_active_poller
24
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
24
spdk_thread_get_first_timed_poller
24
spdk_thread_get_from_ctx
14211300669
spdk_thread_get_id
76898
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
264
spdk_thread_get_last_tsc
7124998366
spdk_thread_get_name
854
spdk_thread_get_next_active_poller
0
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
spdk_thread_get_next_timed_poller
24
spdk_thread_get_stats
6710
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3629054
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
35054
spdk_thread_is_bound
69
spdk_thread_is_exited
7144436492
spdk_thread_is_idle
52202343
spdk_thread_is_running
3072
spdk_thread_lib_fini
2597
spdk_thread_lib_init
367
spdk_thread_lib_init_ext
2234
spdk_thread_next_poller_expiration
23352
spdk_thread_poll
7364976631
spdk_thread_send_critical_msg
1269
spdk_thread_send_msg
12203672
spdk_thread_set_cpumask
11316
spdk_thread_set_interrupt_mode
136
sspin_fini_internal
88685
sspin_init_internal
128682
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
6582059675
thread_execute_timed_poller
24494278
thread_exit
4048989
thread_get_io_channel
4357674
thread_has_unpaused_pollers
52202370
thread_insert_poller
153351
thread_interrupt_create
120
thread_interrupt_destroy
120
thread_interrupt_msg_process
873800
thread_poll
7365010999
thread_send_msg_notification
12204941
thread_trace
2184
thread_update_stats
7364834803
timed_poller_compare
194425113
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
24502351
timed_pollers_tree_RB_INSERT_COLOR
24502351
timed_pollers_tree_RB_MINMAX
15688
timed_pollers_tree_RB_NEXT
24511106
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
24502268
timed_pollers_tree_RB_REMOVE_COLOR
21681756
wrong_thread
0
Generated by:
LCOV version 1.14