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-16 22:54:14
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4004
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
spdk_thread_is_bound
120
thread_interrupt_create
122
thread_interrupt_destroy
122
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
241
poller_remove_timer
245
_thread_exit
246
period_poller_set_interrupt_mode
249
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
709
_on_thread
791
busy_poller_interrupt_init
1221
busy_poller_set_interrupt_mode
1221
spdk_thread_get_name
1232
_thread_remove_pollers
1347
spdk_thread_send_critical_msg
1368
poller_interrupt_fini
1462
spdk_interrupt_register
1490
spdk_interrupt_register_for_events
1688
spdk_interrupt_register_ext
1689
alloc_interrupt
1691
spdk_poller_register_interrupt
1827
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
3479
spdk_interrupt_unregister
3614
_free_thread
7306
spdk_thread_destroy
7313
spdk_thread_create
7417
spdk_thread_exit
7420
spdk_thread_get_stats
8506
spdk_thread_set_cpumask
11886
io_channel_tree_RB_MINMAX
14697
timed_pollers_tree_RB_MINMAX
16426
spdk_thread_get_app_thread
20617
spdk_thread_next_poller_expiration
22421
spdk_thread_get_cpumask
28889
_finish_unregister
34637
spdk_thread_is_app_thread
37126
io_device_tree_RB_REMOVE_COLOR
37179
spdk_thread_get_ctx
37409
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
83182
spdk_thread_get_id
89467
sspin_fini_internal
90579
spdk_spin_destroy
90582
interrupt_timerfd_process
93998
io_channel_tree_RB_REMOVE
97082
io_channel_tree_RB_INSERT
97088
io_channel_tree_RB_INSERT_COLOR
97088
put_io_channel
97167
spdk_spin_init
132801
sspin_init_internal
132801
interrupt_fd_group_wrapper
158503
spdk_poller_register_named
163227
convert_us_to_ticks
163414
poller_register
163414
thread_insert_poller
163519
spdk_put_io_channel
310112
spdk_get_io_channel
310126
spdk_poller_unregister
367430
spdk_io_channel_iter_get_io_device
685884
thread_exit
704285
_call_completion
725090
spdk_for_each_channel
725090
spdk_io_channel_iter_get_channel
751038
_call_channel
822755
spdk_for_each_channel_continue
822755
thread_interrupt_msg_process
1032838
io_device_get
1079299
io_device_tree_RB_FIND
1079299
spdk_io_channel_iter_get_ctx
1482320
spdk_thread_has_active_pollers
1835966
spdk_spin_unlock
2465541
spdk_spin_lock
2465549
io_channel_tree_RB_FIND
4317017
thread_get_io_channel
4317017
io_device_cmp
4682940
spdk_spin_held
7527139
io_channel_cmp
11639417
spdk_io_channel_get_io_device
15884072
spdk_thread_send_msg
19429872
thread_send_msg_notification
19431239
timed_pollers_tree_RB_REMOVE_COLOR
21666134
spdk_io_channel_from_ctx
23632645
thread_execute_timed_poller
25606536
timed_pollers_tree_RB_REMOVE
25615376
poller_insert_timer
25615436
timed_pollers_tree_RB_INSERT
25615436
timed_pollers_tree_RB_INSERT_COLOR
25615436
timed_pollers_tree_RB_NEXT
25625234
thread_has_unpaused_pollers
59449670
spdk_thread_is_idle
59451421
timed_poller_compare
162225227
_interrupt_wrapper
238439086
spdk_io_channel_get_thread
402713733
spdk_set_thread
480577465
spdk_interrupt_mode_is_enabled
494258102
spdk_get_thread
861357860
thread_execute_poller
8872526921
spdk_thread_is_exited
9927912332
spdk_thread_get_last_tsc
10028922776
spdk_thread_poll
10135768354
thread_poll
10135799746
thread_update_stats
10135857281
msg_queue_run_batch
10136943445
_get_thread
11017367401
spdk_thread_get_from_ctx
19811743856
Generated by:
LCOV version 1.14