LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1199
1483
80.8 %
Date:
2024-11-18 13:17:53
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4165
10270
40.6 %
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
4
spdk_thread_get_trace_id
6
poller_set_interrupt_mode
8
spdk_thread_has_pollers
8
_thread_exit
12
period_poller_interrupt_init
12
spdk_interrupt_mode_enable
12
thread_interrupt_create
12
thread_interrupt_destroy
12
poller_remove_timer
16
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_stats
16
spdk_thread_set_cpumask
16
period_poller_set_interrupt_mode
20
spdk_poller_get_id
20
spdk_thread_bind
20
sspin_stacks_print
25
spdk_thread_set_interrupt_mode
28
io_device_tree_RB_NEXT
36
spdk_poller_get_state_str
44
spdk_thread_get_interrupt_fd_group
48
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
spdk_thread_is_bound
123
_thread_remove_pollers
124
busy_poller_interrupt_init
124
busy_poller_set_interrupt_mode
124
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
poller_interrupt_fini
136
spdk_interrupt_register
148
spdk_interrupt_register_ext
148
spdk_interrupt_register_for_events
148
spdk_poller_resume
178
spdk_poller_pause
182
spdk_poller_register
243
spdk_thread_lib_init
340
spdk_thread_get_count
370
_back_to_orig_thread
477
spdk_for_each_thread
477
thread_interrupt_msg_process
505
spdk_thread_get_by_id
611
_on_thread
688
spdk_thread_get_name
750
spdk_thread_send_critical_msg
942
spdk_interrupt_unregister
998
spdk_poller_register_interrupt
1705
thread_trace
1818
spdk_thread_lib_init_ext
1865
spdk_thread_lib_fini
2201
_thread_lib_init
2205
io_device_tree_RB_MINMAX
2217
_thread_trace
2362
register_flag_thread
2362
spdk_thread_is_running
2365
_free_thread
5833
spdk_thread_destroy
5841
spdk_thread_create
5967
spdk_thread_exit
5980
spdk_thread_get_stats
6873
interrupt_timerfd_process
7472
_interrupt_wrapper
8644
spdk_thread_next_poller_expiration
10284
spdk_thread_get_ctx
10469
io_channel_tree_RB_MINMAX
11777
timed_pollers_tree_RB_MINMAX
12076
spdk_thread_get_id
13242
spdk_thread_get_cpumask
13579
spdk_thread_get_app_thread
20341
_finish_unregister
28289
spdk_thread_is_app_thread
28734
io_device_tree_RB_REMOVE_COLOR
29593
io_device_free
35824
io_device_tree_RB_INSERT_COLOR
35828
io_device_tree_RB_REMOVE
35828
spdk_io_device_unregister
35832
io_device_tree_RB_INSERT
35836
spdk_io_device_register
35836
io_channel_tree_RB_REMOVE_COLOR
44763
io_channel_tree_RB_REMOVE
56765
io_channel_tree_RB_INSERT
56773
io_channel_tree_RB_INSERT_COLOR
56773
put_io_channel
56834
sspin_fini_internal
68498
spdk_spin_destroy
68502
spdk_spin_init
100857
sspin_init_internal
100857
spdk_poller_register_named
125402
convert_us_to_ticks
125646
poller_register
125646
thread_insert_poller
125744
spdk_put_io_channel
180685
spdk_get_io_channel
180702
spdk_poller_unregister
190611
_call_completion
487870
spdk_for_each_channel
487875
_call_channel
494157
spdk_for_each_channel_continue
494157
spdk_io_channel_iter_get_channel
504852
io_device_get
704421
io_device_tree_RB_FIND
704421
spdk_io_channel_iter_get_io_device
817035
spdk_io_channel_iter_get_ctx
957107
spdk_set_thread
1302335
spdk_spin_unlock
1538574
spdk_spin_lock
1538584
spdk_spin_held
1844186
io_device_cmp
2870601
thread_exit
2931496
io_channel_tree_RB_FIND
3751276
thread_get_io_channel
3751276
spdk_thread_has_active_pollers
3819655
spdk_thread_send_msg
9192052
thread_send_msg_notification
9192993
io_channel_cmp
10405014
spdk_io_channel_get_io_device
12777076
spdk_io_channel_from_ctx
16991411
timed_pollers_tree_RB_REMOVE_COLOR
22002757
thread_execute_timed_poller
24260372
timed_pollers_tree_RB_REMOVE
24265101
poller_insert_timer
24265183
timed_pollers_tree_RB_INSERT
24265183
timed_pollers_tree_RB_INSERT_COLOR
24265183
timed_pollers_tree_RB_NEXT
24270422
thread_has_unpaused_pollers
44298252
spdk_thread_is_idle
44301219
spdk_interrupt_mode_is_enabled
145858007
timed_poller_compare
203933524
spdk_io_channel_get_thread
265229794
spdk_get_thread
379792934
thread_execute_poller
4618220060
spdk_thread_is_exited
5088243458
spdk_thread_get_last_tsc
5122885433
thread_update_stats
5266560472
spdk_thread_poll
5266797942
thread_poll
5266835165
msg_queue_run_batch
5266933311
_get_thread
5650151698
spdk_thread_get_from_ctx
10113104890
Generated by:
LCOV version 1.15