LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1085
1305
83.1 %
Date:
2024-07-12 02:17:04
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
773
1128
68.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
6
poller_set_interrupt_mode
8
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_thread_has_pollers
12
spdk_interrupt_mode_enable
13
period_poller_interrupt_init
15
_thread_exit
17
thread_interrupt_create
17
thread_interrupt_destroy
17
poller_remove_timer
19
spdk_thread_bind
22
period_poller_set_interrupt_mode
23
spdk_thread_set_interrupt_mode
33
sspin_stacks_print
34
io_device_tree_RB_NEXT
54
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
sspin_stack_print
102
spdk_thread_is_bound
110
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
busy_poller_interrupt_init
139
busy_poller_set_interrupt_mode
139
_thread_remove_pollers
141
poller_interrupt_fini
154
spdk_interrupt_register
172
spdk_poller_resume
197
spdk_poller_pause
257
spdk_poller_register
310
spdk_thread_get_count
318
spdk_interrupt_unregister
322
spdk_thread_lib_init
473
_back_to_orig_thread
508
spdk_for_each_thread
508
spdk_thread_get_by_id
567
thread_interrupt_msg_process
630
_on_thread
656
spdk_thread_get_name
786
spdk_poller_register_interrupt
796
spdk_thread_send_critical_msg
1432
thread_trace
2715
spdk_thread_lib_init_ext
2778
_thread_trace
3141
register_flag_thread
3141
spdk_thread_lib_fini
3245
_thread_lib_init
3251
io_device_tree_RB_MINMAX
3269
spdk_thread_is_running
3837
_free_thread
8310
spdk_thread_destroy
8321
spdk_thread_exit
8517
spdk_thread_create
8520
spdk_thread_get_stats
8729
interrupt_timerfd_process
9141
spdk_thread_set_cpumask
11936
io_channel_tree_RB_MINMAX
16781
timed_pollers_tree_RB_MINMAX
17109
spdk_thread_next_poller_expiration
22764
spdk_thread_get_cpumask
28683
spdk_thread_get_app_thread
37270
spdk_thread_get_ctx
38552
spdk_thread_is_app_thread
40258
_finish_unregister
44143
io_device_tree_RB_REMOVE_COLOR
44818
io_device_free
54587
io_device_tree_RB_INSERT_COLOR
54593
io_device_tree_RB_REMOVE
54593
spdk_io_device_unregister
54599
io_device_tree_RB_INSERT
54605
spdk_io_device_register
54605
spdk_thread_get_id
78403
io_channel_tree_RB_REMOVE_COLOR
94925
sspin_fini_internal
103661
spdk_spin_destroy
103667
io_channel_tree_RB_REMOVE
118161
io_channel_tree_RB_INSERT
118167
io_channel_tree_RB_INSERT_COLOR
118167
put_io_channel
118229
spdk_spin_init
144325
sspin_init_internal
144325
spdk_poller_register_named
244397
convert_us_to_ticks
244707
poller_register
244707
thread_insert_poller
244850
spdk_put_io_channel
346224
spdk_get_io_channel
346248
spdk_poller_unregister
610783
_call_completion
632846
spdk_for_each_channel
632846
spdk_io_channel_iter_get_io_device
641196
_call_channel
696235
spdk_for_each_channel_continue
696235
thread_exit
703708
spdk_io_channel_iter_get_channel
706437
io_device_get
1033711
io_device_tree_RB_FIND
1033711
spdk_io_channel_iter_get_ctx
1254627
spdk_thread_has_active_pollers
1799269
spdk_spin_unlock
3735901
spdk_spin_lock
3735909
io_channel_tree_RB_FIND
3761594
thread_get_io_channel
3761594
_interrupt_wrapper
4227306
io_device_cmp
4305034
spdk_spin_held
6121522
spdk_thread_send_msg
6551935
thread_send_msg_notification
6553367
io_channel_cmp
10231410
timed_pollers_tree_RB_REMOVE_COLOR
17514246
thread_execute_timed_poller
22954800
timed_pollers_tree_RB_REMOVE
22960198
poller_insert_timer
22960318
timed_pollers_tree_RB_INSERT
22960318
timed_pollers_tree_RB_INSERT_COLOR
22960318
timed_pollers_tree_RB_NEXT
22966189
spdk_io_channel_get_io_device
26567375
spdk_io_channel_from_ctx
33009185
spdk_set_thread
68747187
spdk_thread_is_idle
80755971
thread_has_unpaused_pollers
80755983
timed_poller_compare
129726708
spdk_interrupt_mode_is_enabled
260050760
spdk_io_channel_get_thread
376479651
spdk_get_thread
459383411
spdk_thread_is_exited
11526619010
spdk_thread_get_last_tsc
11531120639
spdk_thread_poll
11724193495
thread_poll
11724193495
thread_update_stats
11724193495
msg_queue_run_batch
11724194002
_get_thread
12191154345
thread_execute_poller
13421257821
spdk_thread_get_from_ctx
23022698173
Generated by:
LCOV version 1.14