LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1195
1490
80.2 %
Date:
2024-12-10 14:42:55
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3954
10364
38.2 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
561
_call_channel
597136
_call_completion
503236
_finish_unregister
33267
_free_thread
7072
_get_thread
8624753006
_interrupt_wrapper
261280095
_on_thread
768
_thread_exit
246
_thread_lib_init
2582
_thread_remove_pollers
1756
_thread_trace
2905
busy_poller_interrupt_init
1649
busy_poller_set_interrupt_mode
1649
convert_us_to_ticks
157874
interrupt_timerfd_process
91919
io_channel_cmp
9552807
io_channel_tree_RB_FIND
3554683
io_channel_tree_RB_INSERT
93816
io_channel_tree_RB_INSERT_COLOR
93816
io_channel_tree_RB_MINMAX
14229
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
93810
io_channel_tree_RB_REMOVE_COLOR
80073
io_device_cmp
3450522
io_device_free
42438
io_device_get
844609
io_device_tree_RB_FIND
844609
io_device_tree_RB_INSERT
42447
io_device_tree_RB_INSERT_COLOR
42441
io_device_tree_RB_MINMAX
2588
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
42441
io_device_tree_RB_REMOVE_COLOR
35654
msg_queue_run_batch
7898328407
period_poller_interrupt_init
240
period_poller_set_interrupt_mode
248
poller_insert_timer
19342395
poller_interrupt_fini
1889
poller_register
157874
poller_remove_timer
244
poller_set_interrupt_mode
8
put_io_channel
93876
register_flag_thread
2905
spdk_for_each_channel
503236
spdk_for_each_channel_continue
597136
spdk_for_each_thread
561
spdk_get_io_channel
298920
spdk_get_thread
711696188
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
158599046
spdk_interrupt_register
1919
spdk_interrupt_register_ext
2118
spdk_interrupt_register_for_events
2117
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3947
spdk_io_channel_from_ctx
16981476
spdk_io_channel_get_io_device
11496439
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
309979092
spdk_io_channel_iter_get_channel
608467
spdk_io_channel_iter_get_ctx
1117302
spdk_io_channel_iter_get_io_device
681153
spdk_io_device_get_name
0
spdk_io_device_register
42447
spdk_io_device_unregister
42444
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
1742
spdk_poller_register_named
157687
spdk_poller_resume
165
spdk_poller_unregister
318857
spdk_put_io_channel
298905
spdk_set_thread
525580515
spdk_spin_destroy
87173
spdk_spin_held
3302156
spdk_spin_init
128189
spdk_spin_lock
2259235
spdk_spin_unlock
2259227
spdk_thread_bind
19
spdk_thread_create
7183
spdk_thread_destroy
7080
spdk_thread_exit
7184
spdk_thread_get_app_thread
21146
spdk_thread_get_by_id
664
spdk_thread_get_count
377
spdk_thread_get_cpumask
28319
spdk_thread_get_ctx
36854
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
15311203426
spdk_thread_get_id
79014
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
7711870764
spdk_thread_get_name
1215
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
8196
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
1824221
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
35669
spdk_thread_is_bound
121
spdk_thread_is_exited
7681529241
spdk_thread_is_idle
59674798
spdk_thread_is_running
3147
spdk_thread_lib_fini
2576
spdk_thread_lib_init
295
spdk_thread_lib_init_ext
2287
spdk_thread_next_poller_expiration
23147
spdk_thread_poll
7897288213
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1310
spdk_thread_send_msg
15194971
spdk_thread_set_cpumask
11834
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
87170
sspin_init_internal
128189
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
5682384132
thread_execute_timed_poller
19334251
thread_exit
3364546
thread_get_io_channel
3554683
thread_has_unpaused_pollers
59673682
thread_insert_poller
157979
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
854781
thread_poll
7897292185
thread_run_pp_handlers
0
thread_send_msg_notification
15196280
thread_trace
2248
thread_update_stats
7897070118
timed_poller_compare
136969336
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
19342395
timed_pollers_tree_RB_INSERT_COLOR
19342395
timed_pollers_tree_RB_MINMAX
16364
timed_pollers_tree_RB_NEXT
19351839
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
19342335
timed_pollers_tree_RB_REMOVE_COLOR
16573263
wrong_thread
0
Generated by:
LCOV version 1.15