LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1234
1547
79.8 %
Date:
2024-12-14 20:52:57
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4193
10466
40.1 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
584
_call_channel
780634
_call_completion
723610
_finish_unregister
36296
_free_thread
7494
_get_thread
9487954262
_interrupt_wrapper
109134150
_on_thread
795
_thread_exit
142
_thread_lib_init
2714
_thread_remove_pollers
755
_thread_trace
3017
alloc_interrupt
951
busy_poller_interrupt_init
686
busy_poller_set_interrupt_mode
686
convert_us_to_ticks
157519
interrupt_fd_group_wrapper
162201
interrupt_timerfd_process
61729
io_channel_cmp
12107352
io_channel_tree_RB_FIND
4531314
io_channel_tree_RB_INSERT
101199
io_channel_tree_RB_INSERT_COLOR
101199
io_channel_tree_RB_MINMAX
15098
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
101191
io_channel_tree_RB_REMOVE_COLOR
85970
io_device_cmp
4616605
io_device_free
45734
io_device_get
1113264
io_device_tree_RB_FIND
1113264
io_device_tree_RB_INSERT
45746
io_device_tree_RB_INSERT_COLOR
45738
io_device_tree_RB_MINMAX
2722
io_device_tree_RB_NEXT
36
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
45738
io_device_tree_RB_REMOVE_COLOR
37834
msg_queue_run_batch
8713365392
period_poller_interrupt_init
135
period_poller_set_interrupt_mode
143
poller_insert_timer
27231151
poller_interrupt_fini
821
poller_register
157518
poller_remove_timer
139
poller_set_interrupt_mode
8
put_io_channel
101278
register_flag_thread
3017
spdk_for_each_channel
723610
spdk_for_each_channel_continue
780634
spdk_for_each_thread
584
spdk_get_io_channel
343896
spdk_get_thread
763213637
spdk_interrupt_mode_enable
28
spdk_interrupt_mode_is_enabled
399748484
spdk_interrupt_register
844
spdk_interrupt_register_ext
949
spdk_interrupt_register_fd_group
2
spdk_interrupt_register_for_events
948
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
2403
spdk_io_channel_from_ctx
24940831
spdk_io_channel_get_io_device
17544891
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
444504125
spdk_io_channel_iter_get_channel
705183
spdk_io_channel_iter_get_ctx
1435051
spdk_io_channel_iter_get_io_device
794375
spdk_io_device_get_name
0
spdk_io_device_register
45746
spdk_io_device_unregister
45742
spdk_poller_get_id
20
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_state_str
44
spdk_poller_get_stats
16
spdk_poller_pause
208
spdk_poller_register
243
spdk_poller_register_interrupt
1693
spdk_poller_register_named
157274
spdk_poller_resume
204
spdk_poller_unregister
303817
spdk_put_io_channel
343879
spdk_set_thread
221125143
spdk_spin_destroy
92959
spdk_spin_held
7516009
spdk_spin_init
134191
spdk_spin_lock
2565682
spdk_spin_unlock
2565673
spdk_thread_bind
20
spdk_thread_create
7632
spdk_thread_destroy
7503
spdk_thread_exit
7640
spdk_thread_get_app_thread
22464
spdk_thread_get_by_id
659
spdk_thread_get_count
409
spdk_thread_get_cpumask
29220
spdk_thread_get_ctx
37652
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
16984610367
spdk_thread_get_id
89473
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
170
spdk_thread_get_last_tsc
8616760444
spdk_thread_get_name
1228
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
8607
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3751884
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36919
spdk_thread_is_bound
132
spdk_thread_is_exited
8529189556
spdk_thread_is_idle
126845507
spdk_thread_is_running
2922
spdk_thread_lib_fini
2706
spdk_thread_lib_init
370
spdk_thread_lib_init_ext
2344
spdk_thread_next_poller_expiration
17139
spdk_thread_poll
8712486014
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1325
spdk_thread_send_msg
17854967
spdk_thread_set_cpumask
11996
spdk_thread_set_interrupt_mode
89
sspin_fini_internal
92955
sspin_init_internal
134191
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
7883744305
thread_execute_timed_poller
27223741
thread_exit
3854473
thread_get_io_channel
4531314
thread_has_unpaused_pollers
126842881
thread_insert_poller
157643
thread_interrupt_create
73
thread_interrupt_destroy
73
thread_interrupt_msg_process
397038
thread_poll
8712468684
thread_run_pp_handlers
0
thread_send_msg_notification
17856291
thread_trace
2294
thread_update_stats
8712686727
timed_poller_compare
179338766
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
27231151
timed_pollers_tree_RB_INSERT_COLOR
27231151
timed_pollers_tree_RB_MINMAX
16138
timed_pollers_tree_RB_NEXT
27239592
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
27231069
timed_pollers_tree_RB_REMOVE_COLOR
23194848
wrong_thread
0
Generated by:
LCOV version 1.15