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-13 19:42:30
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3988
10466
38.1 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
584
_call_channel
816985
_call_completion
721290
_finish_unregister
34637
_free_thread
7306
_get_thread
10921165335
_interrupt_wrapper
230555635
_on_thread
791
_thread_exit
248
_thread_lib_init
2661
_thread_remove_pollers
1377
_thread_trace
3022
alloc_interrupt
1709
busy_poller_interrupt_init
1242
busy_poller_set_interrupt_mode
1242
convert_us_to_ticks
164327
interrupt_fd_group_wrapper
160055
interrupt_timerfd_process
94519
io_channel_cmp
11435690
io_channel_tree_RB_FIND
4225658
io_channel_tree_RB_INSERT
97192
io_channel_tree_RB_INSERT_COLOR
97192
io_channel_tree_RB_MINMAX
14695
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_channel_tree_RB_REMOVE
97186
io_channel_tree_RB_REMOVE_COLOR
83287
io_device_cmp
4656363
io_device_free
44068
io_device_get
1076356
io_device_tree_RB_FIND
1076356
io_device_tree_RB_INSERT
44077
io_device_tree_RB_INSERT_COLOR
44071
io_device_tree_RB_MINMAX
2667
io_device_tree_RB_NEXT
27
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
44071
io_device_tree_RB_REMOVE_COLOR
37179
msg_queue_run_batch
10076620389
period_poller_interrupt_init
238
period_poller_set_interrupt_mode
246
poller_insert_timer
25050096
poller_interrupt_fini
1480
poller_register
164327
poller_remove_timer
242
poller_set_interrupt_mode
8
put_io_channel
97256
register_flag_thread
3022
spdk_for_each_channel
721290
spdk_for_each_channel_continue
816985
spdk_for_each_thread
584
spdk_get_io_channel
310983
spdk_get_thread
825862434
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
518967366
spdk_interrupt_register
1508
spdk_interrupt_register_ext
1707
spdk_interrupt_register_fd_group
2
spdk_interrupt_register_for_events
1706
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3638
spdk_io_channel_from_ctx
24901680
spdk_io_channel_get_io_device
16971781
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
420079755
spdk_io_channel_iter_get_channel
743247
spdk_io_channel_iter_get_ctx
1469320
spdk_io_channel_iter_get_io_device
675485
spdk_io_device_get_name
0
spdk_io_device_register
44077
spdk_io_device_unregister
44074
spdk_poller_get_id
17
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_state_str
35
spdk_poller_get_stats
14
spdk_poller_pause
168
spdk_poller_register
187
spdk_poller_register_interrupt
1827
spdk_poller_register_named
164140
spdk_poller_resume
165
spdk_poller_unregister
363706
spdk_put_io_channel
310965
spdk_set_thread
465060798
spdk_spin_destroy
90569
spdk_spin_held
7656428
spdk_spin_init
132788
spdk_spin_lock
2437080
spdk_spin_unlock
2437072
spdk_thread_bind
19
spdk_thread_create
7417
spdk_thread_destroy
7312
spdk_thread_exit
7419
spdk_thread_get_app_thread
20758
spdk_thread_get_by_id
652
spdk_thread_get_count
384
spdk_thread_get_cpumask
28882
spdk_thread_get_ctx
37475
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_get_from_ctx
19636722994
spdk_thread_get_id
89123
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
9898051775
spdk_thread_get_name
1232
spdk_thread_get_next_active_poller
48
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
spdk_thread_get_next_timed_poller
78
spdk_thread_get_stats
8434
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
1833881
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
37126
spdk_thread_is_bound
116
spdk_thread_is_exited
9846952349
spdk_thread_is_idle
59144476
spdk_thread_is_running
3511
spdk_thread_lib_fini
2655
spdk_thread_lib_init
298
spdk_thread_lib_init_ext
2363
spdk_thread_next_poller_expiration
24452
spdk_thread_poll
10075261102
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1368
spdk_thread_send_msg
19266755
spdk_thread_set_cpumask
11922
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
90566
sspin_init_internal
132788
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
8635571664
thread_execute_timed_poller
25041098
thread_exit
469192
thread_get_io_channel
4225658
thread_has_unpaused_pollers
59142417
thread_insert_poller
164432
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
1159987
thread_poll
10075280898
thread_run_pp_handlers
0
thread_send_msg_notification
19268123
thread_trace
2324
thread_update_stats
10075379073
timed_poller_compare
156189780
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
25050096
timed_pollers_tree_RB_INSERT_COLOR
25050096
timed_pollers_tree_RB_MINMAX
16452
timed_pollers_tree_RB_NEXT
25060001
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
25050036
timed_pollers_tree_RB_REMOVE_COLOR
21096551
wrong_thread
0
Generated by:
LCOV version 1.14