LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1089
1309
83.2 %
Date:
2024-07-15 21:04:32
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
776
1132
68.6 %
Function Name
Hit count
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
531
_call_channel
752022
_call_completion
688819
_finish_unregister
43834
_free_thread
8320
_get_thread
12924824190
_interrupt_wrapper
4092117
_on_thread
675
_thread_exit
17
_thread_lib_init
3188
_thread_remove_pollers
141
_thread_trace
3525
busy_poller_interrupt_init
139
busy_poller_set_interrupt_mode
139
convert_us_to_ticks
315427
interrupt_timerfd_process
8544
io_channel_cmp
11336297
io_channel_tree_RB_FIND
4065395
io_channel_tree_RB_INSERT
121465
io_channel_tree_RB_INSERT_COLOR
121465
io_channel_tree_RB_MINMAX
16774
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
121460
io_channel_tree_RB_REMOVE_COLOR
99173
io_device_cmp
4701662
io_device_free
54105
io_device_get
1102135
io_device_tree_RB_FIND
1102135
io_device_tree_RB_INSERT
54120
io_device_tree_RB_INSERT_COLOR
54110
io_device_tree_RB_MINMAX
3203
io_device_tree_RB_NEXT
45
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
54110
io_device_tree_RB_REMOVE_COLOR
45049
msg_queue_run_batch
12412334238
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
23827578
poller_interrupt_fini
154
poller_register
315427
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
121546
register_flag_thread
3525
spdk_for_each_channel
688819
spdk_for_each_channel_continue
752022
spdk_for_each_thread
531
spdk_get_io_channel
359186
spdk_get_thread
498663411
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
302428853
spdk_interrupt_register
172
spdk_interrupt_register_for_events
172
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
322
spdk_io_channel_from_ctx
35854337
spdk_io_channel_get_io_device
27289938
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
393012769
spdk_io_channel_iter_get_channel
830209
spdk_io_channel_iter_get_ctx
1366048
spdk_io_channel_iter_get_io_device
701985
spdk_io_device_get_name
0
spdk_io_device_register
54120
spdk_io_device_unregister
54115
spdk_poller_get_id
8
spdk_poller_get_name
8
spdk_poller_get_period_ticks
8
spdk_poller_get_state_str
8
spdk_poller_get_stats
8
spdk_poller_pause
219
spdk_poller_register
258
spdk_poller_register_interrupt
875
spdk_poller_register_named
315169
spdk_poller_resume
169
spdk_poller_unregister
756082
spdk_put_io_channel
359166
spdk_set_thread
9953943
spdk_spin_destroy
106672
spdk_spin_held
7408586
spdk_spin_init
147453
spdk_spin_lock
2507882
spdk_spin_unlock
2507876
spdk_thread_bind
21
spdk_thread_create
8495
spdk_thread_destroy
8329
spdk_thread_exit
8495
spdk_thread_get_app_thread
37451
spdk_thread_get_by_id
501
spdk_thread_get_count
337
spdk_thread_get_cpumask
28936
spdk_thread_get_ctx
38764
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
24402458955
spdk_thread_get_id
78585
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
12226369211
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
9069
spdk_thread_has_active_pollers
2089223
spdk_thread_has_pollers
10
spdk_thread_is_app_thread
40585
spdk_thread_is_bound
89
spdk_thread_is_exited
12221222931
spdk_thread_is_idle
96475236
spdk_thread_is_running
3843
spdk_thread_lib_fini
3183
spdk_thread_lib_init
409
spdk_thread_lib_init_ext
2779
spdk_thread_next_poller_expiration
21668
spdk_thread_poll
12412333715
spdk_thread_send_critical_msg
1478
spdk_thread_send_msg
12726507
spdk_thread_set_cpumask
11910
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
106667
sspin_init_internal
147453
sspin_stack_print
84
sspin_stacks_print
28
thread_execute_poller
13909692269
thread_execute_timed_poller
23822122
thread_exit
596856
thread_get_io_channel
4065395
thread_has_unpaused_pollers
96475246
thread_insert_poller
315551
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
651
thread_poll
12412333715
thread_send_msg_notification
12727985
thread_trace
2726
thread_update_stats
12412333715
timed_poller_compare
132888347
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
23827578
timed_pollers_tree_RB_INSERT_COLOR
23827578
timed_pollers_tree_RB_MINMAX
17096
timed_pollers_tree_RB_NEXT
23833424
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
23827478
timed_pollers_tree_RB_REMOVE_COLOR
18284570
wrong_thread
0
Generated by:
LCOV version 1.14