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-12 18:59:01
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
774
1132
68.4 %
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
5
spdk_thread_has_pollers
8
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
_thread_exit
15
period_poller_interrupt_init
15
spdk_interrupt_mode_enable
15
thread_interrupt_create
15
thread_interrupt_destroy
15
poller_remove_timer
20
spdk_thread_bind
20
sspin_stacks_print
24
period_poller_set_interrupt_mode
25
spdk_thread_set_interrupt_mode
35
io_device_tree_RB_NEXT
36
spdk_thread_get_interrupt_fd_group
60
sspin_stack_print
72
spdk_thread_get_next_timed_poller
84
spdk_thread_is_bound
87
spdk_thread_get_next_active_poller
96
spdk_thread_get_first_active_poller
132
spdk_thread_get_first_paused_poller
132
spdk_thread_get_first_timed_poller
132
spdk_poller_resume
140
busy_poller_interrupt_init
155
busy_poller_set_interrupt_mode
155
_thread_remove_pollers
157
poller_interrupt_fini
170
spdk_poller_pause
180
spdk_interrupt_register
185
spdk_interrupt_register_for_events
185
spdk_poller_register
208
spdk_interrupt_unregister
224
spdk_thread_get_count
319
spdk_thread_lib_init
325
_back_to_orig_thread
482
spdk_for_each_thread
482
spdk_thread_get_by_id
490
_on_thread
622
thread_interrupt_msg_process
644
spdk_poller_register_interrupt
859
spdk_thread_get_name
909
spdk_thread_send_critical_msg
1374
thread_trace
2642
spdk_thread_lib_init_ext
2684
spdk_thread_lib_fini
3005
_thread_lib_init
3009
io_device_tree_RB_MINMAX
3021
_thread_trace
3297
register_flag_thread
3297
spdk_thread_is_running
3390
_free_thread
7706
spdk_thread_destroy
7713
spdk_thread_create
7846
spdk_thread_exit
7853
spdk_thread_set_cpumask
8106
spdk_thread_get_stats
8594
interrupt_timerfd_process
9629
_interrupt_wrapper
10045
spdk_thread_next_poller_expiration
15095
io_channel_tree_RB_MINMAX
15519
timed_pollers_tree_RB_MINMAX
15862
spdk_thread_get_cpumask
24244
spdk_thread_get_ctx
30243
spdk_thread_get_app_thread
38879
spdk_thread_is_app_thread
39114
_finish_unregister
40526
io_device_tree_RB_REMOVE_COLOR
42583
io_device_free
50373
io_device_tree_RB_INSERT_COLOR
50377
io_device_tree_RB_REMOVE
50377
spdk_io_device_unregister
50382
io_device_tree_RB_INSERT
50385
spdk_io_device_register
50385
spdk_thread_get_id
62445
io_channel_tree_RB_REMOVE_COLOR
91288
sspin_fini_internal
103097
spdk_spin_destroy
103101
io_channel_tree_RB_REMOVE
109594
io_channel_tree_RB_INSERT
109598
io_channel_tree_RB_INSERT_COLOR
109598
put_io_channel
109675
spdk_spin_init
143227
sspin_init_internal
143227
spdk_poller_register_named
286718
convert_us_to_ticks
286926
poller_register
286926
thread_insert_poller
287030
spdk_put_io_channel
337821
spdk_get_io_channel
337837
_call_completion
552123
spdk_for_each_channel
552123
_call_channel
585003
spdk_for_each_channel_continue
585003
spdk_poller_unregister
671777
spdk_io_channel_iter_get_channel
729952
spdk_io_channel_iter_get_io_device
812334
io_device_get
940354
io_device_tree_RB_FIND
940354
spdk_io_channel_iter_get_ctx
1130057
spdk_set_thread
1393842
spdk_spin_unlock
1773653
spdk_spin_lock
1773661
spdk_spin_held
1923195
spdk_thread_has_active_pollers
2076381
io_device_cmp
3922285
io_channel_tree_RB_FIND
3993097
thread_get_io_channel
3993097
thread_exit
4510893
spdk_thread_send_msg
6526372
thread_send_msg_notification
6527746
io_channel_cmp
11145837
timed_pollers_tree_RB_REMOVE_COLOR
16762718
thread_execute_timed_poller
20878118
timed_pollers_tree_RB_REMOVE
20881928
poller_insert_timer
20882008
timed_pollers_tree_RB_INSERT
20882008
timed_pollers_tree_RB_INSERT_COLOR
20882008
timed_pollers_tree_RB_NEXT
20886361
spdk_io_channel_get_io_device
22683117
spdk_io_channel_from_ctx
30692272
spdk_interrupt_mode_is_enabled
89609568
spdk_thread_is_idle
98172778
thread_has_unpaused_pollers
98172786
timed_poller_compare
140747010
spdk_io_channel_get_thread
290667146
spdk_get_thread
364509654
spdk_thread_get_last_tsc
10213933981
spdk_thread_is_exited
10215565876
spdk_thread_poll
10383997066
thread_poll
10383997066
thread_update_stats
10383997066
msg_queue_run_batch
10383997582
_get_thread
10755971006
thread_execute_poller
11189638840
spdk_thread_get_from_ctx
20389074206
Generated by:
LCOV version 1.14