LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1084
1303
83.2 %
Date:
2024-07-12 18:13:41
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
773
1126
68.7 %
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
6
poller_set_interrupt_mode
10
spdk_poller_get_id
10
spdk_poller_get_name
10
spdk_poller_get_period_ticks
10
spdk_poller_get_state_str
10
spdk_poller_get_stats
10
spdk_thread_has_pollers
12
spdk_interrupt_mode_enable
16
period_poller_interrupt_init
18
_thread_exit
20
thread_interrupt_create
20
thread_interrupt_destroy
20
spdk_thread_bind
22
poller_remove_timer
23
period_poller_set_interrupt_mode
28
sspin_stacks_print
34
spdk_thread_set_interrupt_mode
40
io_device_tree_RB_NEXT
54
spdk_thread_get_interrupt_fd_group
70
spdk_thread_get_next_timed_poller
84
spdk_thread_get_next_active_poller
96
sspin_stack_print
102
spdk_thread_is_bound
111
spdk_thread_get_first_active_poller
132
spdk_thread_get_first_paused_poller
132
spdk_thread_get_first_timed_poller
132
_thread_remove_pollers
173
busy_poller_interrupt_init
189
busy_poller_set_interrupt_mode
189
spdk_poller_resume
194
poller_interrupt_fini
207
spdk_interrupt_register
228
spdk_poller_pause
254
spdk_poller_register
310
spdk_thread_get_count
323
spdk_interrupt_unregister
378
_back_to_orig_thread
434
spdk_for_each_thread
434
spdk_thread_lib_init
475
spdk_thread_get_name
530
spdk_thread_get_by_id
545
_on_thread
582
thread_interrupt_msg_process
757
spdk_poller_register_interrupt
829
spdk_thread_send_critical_msg
1204
thread_trace
2889
spdk_thread_lib_init_ext
2951
_thread_trace
3288
register_flag_thread
3288
spdk_thread_lib_fini
3420
_thread_lib_init
3426
io_device_tree_RB_MINMAX
3444
spdk_thread_is_running
3733
spdk_thread_set_cpumask
7862
_free_thread
8669
spdk_thread_destroy
8681
spdk_thread_create
8879
spdk_thread_exit
8881
spdk_thread_get_stats
9199
interrupt_timerfd_process
11333
io_channel_tree_RB_MINMAX
17494
timed_pollers_tree_RB_MINMAX
17866
spdk_thread_get_cpumask
25222
spdk_thread_get_app_thread
30334
spdk_thread_get_ctx
31107
spdk_thread_is_app_thread
36445
_finish_unregister
38960
io_device_tree_RB_REMOVE_COLOR
39030
spdk_thread_next_poller_expiration
47787
io_device_free
48927
io_device_tree_RB_INSERT_COLOR
48927
io_device_tree_RB_REMOVE
48927
spdk_io_device_unregister
48933
io_device_tree_RB_INSERT
48939
spdk_io_device_register
48939
spdk_thread_get_id
66424
io_channel_tree_RB_REMOVE_COLOR
73265
sspin_fini_internal
92308
spdk_spin_destroy
92314
io_channel_tree_RB_INSERT
93095
io_channel_tree_RB_INSERT_COLOR
93095
io_channel_tree_RB_REMOVE
93095
put_io_channel
93151
spdk_spin_init
128716
sspin_init_internal
128716
spdk_put_io_channel
261614
spdk_get_io_channel
261632
spdk_poller_register_named
284545
convert_us_to_ticks
284855
poller_register
284855
thread_insert_poller
284995
spdk_poller_unregister
611758
thread_exit
656129
_call_completion
688137
spdk_for_each_channel
688137
_call_channel
744694
spdk_for_each_channel_continue
744694
spdk_io_channel_iter_get_io_device
778634
spdk_io_channel_iter_get_channel
803250
io_device_get
998720
io_device_tree_RB_FIND
998720
spdk_io_channel_iter_get_ctx
1338829
spdk_thread_has_active_pollers
2177072
spdk_spin_unlock
2783219
spdk_spin_lock
2783227
io_device_cmp
4257577
spdk_spin_held
4382462
io_channel_tree_RB_FIND
4429667
thread_get_io_channel
4429667
_interrupt_wrapper
4769062
spdk_thread_send_msg
5880330
thread_send_msg_notification
5881534
spdk_interrupt_mode_is_enabled
6508364
io_channel_cmp
12283969
timed_pollers_tree_RB_REMOVE_COLOR
16861497
thread_execute_timed_poller
21301686
timed_pollers_tree_RB_REMOVE
21305586
poller_insert_timer
21305706
timed_pollers_tree_RB_INSERT
21305706
timed_pollers_tree_RB_INSERT_COLOR
21305706
timed_pollers_tree_RB_NEXT
21310112
spdk_io_channel_get_io_device
22259353
spdk_io_channel_from_ctx
26677364
spdk_thread_is_idle
53030178
thread_has_unpaused_pollers
53030190
spdk_set_thread
67071971
timed_poller_compare
129140349
spdk_io_channel_get_thread
343213171
spdk_get_thread
403436261
spdk_thread_get_last_tsc
7371215279
spdk_thread_is_exited
7373150352
spdk_thread_poll
7544790985
thread_poll
7544790985
thread_update_stats
7544790985
msg_queue_run_batch
7544792619
_get_thread
7955101342
thread_execute_poller
9233814120
spdk_thread_get_from_ctx
14721118875
Generated by:
LCOV version 1.14