LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1248
1546
80.7 %
Date:
2024-12-13 21:16:59
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4465
10305
43.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
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
__pending_unregister
6
poller_set_interrupt_mode
8
spdk_poller_get_id
8
spdk_poller_get_name
8
spdk_poller_get_period_ticks
8
spdk_poller_get_state_str
8
spdk_poller_get_stats
8
spdk_thread_has_pollers
12
spdk_interrupt_mode_enable
13
period_poller_interrupt_init
15
_thread_exit
17
thread_interrupt_create
17
thread_interrupt_destroy
17
poller_remove_timer
19
spdk_thread_bind
22
period_poller_set_interrupt_mode
23
spdk_thread_set_interrupt_mode
33
sspin_stacks_print
34
io_device_tree_RB_NEXT
54
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
sspin_stack_print
102
spdk_thread_is_bound
107
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
_thread_remove_pollers
140
busy_poller_interrupt_init
154
busy_poller_set_interrupt_mode
154
poller_interrupt_fini
169
spdk_interrupt_register
187
spdk_poller_resume
194
spdk_poller_pause
254
spdk_poller_register
310
spdk_thread_get_count
341
_back_to_orig_thread
476
spdk_for_each_thread
476
spdk_thread_lib_init
478
spdk_thread_get_name
536
spdk_thread_get_by_id
559
spdk_interrupt_unregister
627
thread_interrupt_msg_process
634
_on_thread
688
spdk_poller_register_interrupt
770
spdk_thread_send_critical_msg
1197
thread_trace
2860
spdk_thread_lib_init_ext
2923
_thread_trace
3248
register_flag_thread
3248
spdk_thread_lib_fini
3395
_thread_lib_init
3401
io_device_tree_RB_MINMAX
3419
spdk_thread_is_running
3820
_free_thread
8695
spdk_thread_destroy
8705
spdk_thread_exit
8902
spdk_thread_create
8905
interrupt_timerfd_process
8965
spdk_thread_get_stats
9059
spdk_thread_set_cpumask
11892
io_channel_tree_RB_MINMAX
17545
timed_pollers_tree_RB_MINMAX
17872
spdk_thread_get_cpumask
28505
spdk_thread_get_app_thread
28735
spdk_thread_is_app_thread
35851
io_device_tree_RB_REMOVE_COLOR
38022
_finish_unregister
38120
spdk_thread_get_ctx
39212
spdk_thread_next_poller_expiration
47673
io_device_free
47937
io_device_tree_RB_INSERT_COLOR
47937
io_device_tree_RB_REMOVE
47937
spdk_io_device_unregister
47943
io_device_tree_RB_INSERT
47949
spdk_io_device_register
47949
spdk_thread_get_id
72818
sspin_fini_internal
77531
spdk_spin_destroy
77537
io_channel_tree_RB_REMOVE_COLOR
80753
io_channel_tree_RB_INSERT
101522
io_channel_tree_RB_INSERT_COLOR
101522
io_channel_tree_RB_REMOVE
101522
put_io_channel
101574
spdk_spin_init
112855
sspin_init_internal
112855
spdk_poller_register_named
291563
convert_us_to_ticks
291873
poller_register
291873
thread_insert_poller
292013
spdk_put_io_channel
297189
spdk_get_io_channel
297207
thread_exit
524756
spdk_io_channel_iter_get_io_device
671077
_call_completion
676052
spdk_for_each_channel
676052
spdk_poller_unregister
697430
_call_channel
748694
spdk_for_each_channel_continue
748694
spdk_io_channel_iter_get_channel
813151
io_device_get
1021220
io_device_tree_RB_FIND
1021220
spdk_io_channel_iter_get_ctx
1347748
spdk_thread_has_active_pollers
2058815
spdk_spin_unlock
2610245
spdk_spin_lock
2610253
spdk_spin_held
3351444
io_channel_tree_RB_FIND
4035024
thread_get_io_channel
4035024
io_device_cmp
4251296
_interrupt_wrapper
4993327
spdk_thread_send_msg
8247893
thread_send_msg_notification
8249090
spdk_interrupt_mode_is_enabled
8889948
io_channel_cmp
11252677
timed_pollers_tree_RB_REMOVE_COLOR
17832778
thread_execute_timed_poller
22048675
timed_pollers_tree_RB_REMOVE
22056140
poller_insert_timer
22056260
timed_pollers_tree_RB_INSERT
22056260
timed_pollers_tree_RB_INSERT_COLOR
22056260
timed_pollers_tree_RB_NEXT
22064185
spdk_io_channel_get_io_device
22698340
spdk_io_channel_from_ctx
28724751
thread_has_unpaused_pollers
57860538
spdk_thread_is_idle
57860993
spdk_set_thread
72106896
timed_poller_compare
138115392
spdk_io_channel_get_thread
379382317
spdk_get_thread
444869068
spdk_thread_get_last_tsc
7589415702
spdk_thread_is_exited
7601536155
thread_poll
7780450935
spdk_thread_poll
7780453486
thread_update_stats
7780464874
msg_queue_run_batch
7780654516
_get_thread
8234251247
thread_execute_poller
9868461367
spdk_thread_get_from_ctx
15166056008
Generated by:
LCOV version 1.15