LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1224
1532
79.9 %
Date:
2024-12-17 05:24:09
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4012
10466
38.3 %
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
spdk_thread_register_post_poller_handler
0
thread_run_pp_handlers
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
spdk_interrupt_register_fd_group
2
__pending_unregister
3
spdk_thread_get_trace_id
6
spdk_thread_has_pollers
6
poller_set_interrupt_mode
8
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_stats
14
spdk_poller_get_id
17
spdk_thread_bind
19
sspin_stacks_print
19
io_device_tree_RB_NEXT
27
spdk_poller_get_state_str
35
spdk_interrupt_mode_enable
41
spdk_thread_get_next_active_poller
48
sspin_stack_print
57
spdk_thread_get_next_timed_poller
78
thread_interrupt_create
122
thread_interrupt_destroy
122
spdk_thread_is_bound
123
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
165
spdk_poller_pause
168
spdk_poller_register
187
period_poller_interrupt_init
244
_thread_exit
245
poller_remove_timer
248
period_poller_set_interrupt_mode
252
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
298
spdk_thread_get_count
384
_back_to_orig_thread
584
spdk_for_each_thread
584
spdk_thread_get_by_id
702
_on_thread
791
spdk_thread_get_name
1232
spdk_thread_send_critical_msg
1368
busy_poller_interrupt_init
1706
busy_poller_set_interrupt_mode
1706
_thread_remove_pollers
1729
spdk_poller_register_interrupt
1827
poller_interrupt_fini
1950
spdk_interrupt_register
1978
spdk_interrupt_register_for_events
2176
spdk_interrupt_register_ext
2177
alloc_interrupt
2179
thread_trace
2324
spdk_thread_lib_init_ext
2363
spdk_thread_lib_fini
2655
_thread_lib_init
2661
io_device_tree_RB_MINMAX
2667
_thread_trace
3022
register_flag_thread
3022
spdk_thread_is_running
3483
spdk_interrupt_unregister
4120
_free_thread
7306
spdk_thread_destroy
7314
spdk_thread_create
7417
spdk_thread_exit
7420
spdk_thread_get_stats
8504
spdk_thread_set_cpumask
11902
io_channel_tree_RB_MINMAX
14698
timed_pollers_tree_RB_MINMAX
16810
spdk_thread_get_app_thread
20881
spdk_thread_next_poller_expiration
23060
spdk_thread_get_cpumask
28900
_finish_unregister
34637
spdk_thread_is_app_thread
37126
io_device_tree_RB_REMOVE_COLOR
37179
spdk_thread_get_ctx
37443
io_device_free
44068
io_device_tree_RB_INSERT_COLOR
44071
io_device_tree_RB_REMOVE
44071
spdk_io_device_unregister
44074
io_device_tree_RB_INSERT
44077
spdk_io_device_register
44077
io_channel_tree_RB_REMOVE_COLOR
82947
spdk_thread_get_id
88875
sspin_fini_internal
90529
spdk_spin_destroy
90532
interrupt_timerfd_process
92822
io_channel_tree_RB_REMOVE
96847
io_channel_tree_RB_INSERT
96853
io_channel_tree_RB_INSERT_COLOR
96853
put_io_channel
96924
spdk_spin_init
132751
sspin_init_internal
132751
interrupt_fd_group_wrapper
158673
spdk_poller_register_named
168170
convert_us_to_ticks
168357
poller_register
168357
thread_insert_poller
168462
spdk_put_io_channel
309446
spdk_get_io_channel
309463
spdk_poller_unregister
371900
thread_exit
437802
spdk_io_channel_iter_get_io_device
676784
_call_completion
723893
spdk_for_each_channel
723893
spdk_io_channel_iter_get_channel
749787
_call_channel
820046
spdk_for_each_channel_continue
820046
thread_interrupt_msg_process
836094
io_device_get
1077439
io_device_tree_RB_FIND
1077439
spdk_io_channel_iter_get_ctx
1475138
spdk_thread_has_active_pollers
1828560
spdk_spin_unlock
2437195
spdk_spin_lock
2437203
io_channel_tree_RB_FIND
4233712
thread_get_io_channel
4233712
io_device_cmp
4652949
spdk_spin_held
7663770
io_channel_cmp
11529825
spdk_io_channel_get_io_device
17094777
spdk_thread_send_msg
19398156
thread_send_msg_notification
19399524
timed_pollers_tree_RB_REMOVE_COLOR
21379090
spdk_io_channel_from_ctx
24977781
thread_execute_timed_poller
25316372
timed_pollers_tree_RB_REMOVE
25325266
poller_insert_timer
25325326
timed_pollers_tree_RB_INSERT
25325326
timed_pollers_tree_RB_INSERT_COLOR
25325326
timed_pollers_tree_RB_NEXT
25335560
thread_has_unpaused_pollers
54508264
spdk_thread_is_idle
54509987
timed_poller_compare
158542160
_interrupt_wrapper
251827376
spdk_interrupt_mode_is_enabled
396126254
spdk_io_channel_get_thread
419331154
spdk_set_thread
506955201
spdk_get_thread
850239116
thread_execute_poller
8460415268
spdk_thread_is_exited
9478704901
spdk_thread_get_last_tsc
9540667995
spdk_thread_poll
9682846305
thread_poll
9682856986
thread_update_stats
9682930621
msg_queue_run_batch
9683838061
_get_thread
10553304529
spdk_thread_get_from_ctx
18912631622
Generated by:
LCOV version 1.14