LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1204
1483
81.2 %
Date:
2024-11-20 16:06:25
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4212
10270
41.0 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
538
_call_channel
593164
_call_completion
538282
_finish_unregister
32406
_free_thread
6822
_get_thread
7623109799
_interrupt_wrapper
104815526
_on_thread
749
_thread_exit
134
_thread_lib_init
2522
_thread_remove_pollers
737
_thread_trace
2749
busy_poller_interrupt_init
673
busy_poller_set_interrupt_mode
673
convert_us_to_ticks
140991
interrupt_timerfd_process
56550
io_channel_cmp
10869023
io_channel_tree_RB_FIND
4003362
io_channel_tree_RB_INSERT
83600
io_channel_tree_RB_INSERT_COLOR
83600
io_channel_tree_RB_MINMAX
13753
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
83592
io_channel_tree_RB_REMOVE_COLOR
69954
io_device_cmp
3519965
io_device_free
41182
io_device_get
853702
io_device_tree_RB_FIND
853702
io_device_tree_RB_INSERT
41194
io_device_tree_RB_INSERT_COLOR
41186
io_device_tree_RB_MINMAX
2534
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
41186
io_device_tree_RB_REMOVE_COLOR
34402
msg_queue_run_batch
7119216448
period_poller_interrupt_init
132
period_poller_set_interrupt_mode
140
poller_insert_timer
24137025
poller_interrupt_fini
805
poller_register
140990
poller_remove_timer
136
poller_set_interrupt_mode
8
put_io_channel
83655
register_flag_thread
2749
spdk_for_each_channel
538282
spdk_for_each_channel_continue
593164
spdk_for_each_thread
538
spdk_get_io_channel
274217
spdk_get_thread
501731168
spdk_interrupt_mode_enable
27
spdk_interrupt_mode_is_enabled
142720299
spdk_interrupt_register
824
spdk_interrupt_register_ext
929
spdk_interrupt_register_for_events
928
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
2110
spdk_io_channel_from_ctx
18977733
spdk_io_channel_get_io_device
13916925
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
317330900
spdk_io_channel_iter_get_channel
600047
spdk_io_channel_iter_get_ctx
1134506
spdk_io_channel_iter_get_io_device
826691
spdk_io_device_get_name
0
spdk_io_device_register
41194
spdk_io_device_unregister
41190
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
204
spdk_poller_register
243
spdk_poller_register_interrupt
2204
spdk_poller_register_named
140748
spdk_poller_resume
200
spdk_poller_unregister
262722
spdk_put_io_channel
274197
spdk_set_thread
212187457
spdk_spin_destroy
82356
spdk_spin_held
1159405
spdk_spin_init
120469
spdk_spin_lock
1623295
spdk_spin_unlock
1623285
spdk_thread_bind
20
spdk_thread_create
6956
spdk_thread_destroy
6829
spdk_thread_exit
6971
spdk_thread_get_app_thread
21758
spdk_thread_get_by_id
644
spdk_thread_get_count
396
spdk_thread_get_cpumask
23824
spdk_thread_get_ctx
28784
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
13763196619
spdk_thread_get_id
71276
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
160
spdk_thread_get_last_tsc
6897788728
spdk_thread_get_name
1058
spdk_thread_get_next_active_poller
96
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
7936
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3490136
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
33660
spdk_thread_is_bound
127
spdk_thread_is_exited
6916769954
spdk_thread_is_idle
52347945
spdk_thread_is_running
2886
spdk_thread_lib_fini
2518
spdk_thread_lib_init
362
spdk_thread_lib_init_ext
2160
spdk_thread_next_poller_expiration
15999
spdk_thread_poll
7118513896
spdk_thread_send_critical_msg
1180
spdk_thread_send_msg
11143939
spdk_thread_set_cpumask
8220
spdk_thread_set_interrupt_mode
84
sspin_fini_internal
82352
sspin_init_internal
120469
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
6079867767
thread_execute_timed_poller
24131076
thread_exit
3630126
thread_get_io_channel
4003362
thread_has_unpaused_pollers
52345864
thread_insert_poller
141109
thread_interrupt_create
68
thread_interrupt_destroy
68
thread_interrupt_msg_process
634035
thread_poll
7118521576
thread_send_msg_notification
11145119
thread_trace
2111
thread_update_stats
7118822175
timed_poller_compare
186959245
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
24137025
timed_pollers_tree_RB_INSERT_COLOR
24137025
timed_pollers_tree_RB_MINMAX
14776
timed_pollers_tree_RB_NEXT
24143631
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
24136944
timed_pollers_tree_RB_REMOVE_COLOR
21444695
wrong_thread
0
Generated by:
LCOV version 1.15