LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1174
1453
80.8 %
Date:
2024-11-20 13:22:43
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3723
10254
36.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
3
spdk_thread_has_pollers
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_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
19
sspin_stacks_print
19
period_poller_set_interrupt_mode
23
io_device_tree_RB_NEXT
27
spdk_thread_set_interrupt_mode
33
sspin_stack_print
57
spdk_thread_get_interrupt_fd_group
58
spdk_thread_is_bound
75
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
spdk_poller_resume
110
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_poller_pause
140
_thread_remove_pollers
141
busy_poller_interrupt_init
155
busy_poller_set_interrupt_mode
155
spdk_poller_register
157
poller_interrupt_fini
170
spdk_interrupt_register
188
spdk_thread_lib_init
256
spdk_thread_get_count
306
_back_to_orig_thread
493
spdk_for_each_thread
493
spdk_thread_get_by_id
516
spdk_thread_get_name
543
spdk_interrupt_unregister
599
thread_interrupt_msg_process
636
_on_thread
695
spdk_poller_register_interrupt
809
spdk_thread_send_critical_msg
1282
thread_trace
3007
spdk_thread_lib_init_ext
3041
_thread_trace
3277
register_flag_thread
3277
spdk_thread_lib_fini
3294
_thread_lib_init
3297
io_device_tree_RB_MINMAX
3306
spdk_thread_is_running
3868
interrupt_timerfd_process
8243
_free_thread
8662
spdk_thread_destroy
8668
spdk_thread_create
8767
spdk_thread_exit
8772
spdk_thread_get_stats
9383
spdk_thread_set_cpumask
16046
io_channel_tree_RB_MINMAX
17402
timed_pollers_tree_RB_MINMAX
17711
spdk_thread_get_app_thread
25059
_finish_unregister
34220
spdk_thread_get_cpumask
34261
io_device_tree_RB_REMOVE_COLOR
36323
spdk_thread_is_app_thread
37347
io_device_free
43900
io_device_tree_RB_INSERT_COLOR
43900
io_device_tree_RB_REMOVE
43900
spdk_io_device_unregister
43903
io_device_tree_RB_INSERT
43906
spdk_io_device_register
43906
spdk_thread_next_poller_expiration
47205
spdk_thread_get_ctx
48307
spdk_thread_get_id
79402
io_channel_tree_RB_REMOVE_COLOR
93267
sspin_fini_internal
94238
spdk_spin_destroy
94241
io_channel_tree_RB_INSERT
108725
io_channel_tree_RB_INSERT_COLOR
108725
io_channel_tree_RB_REMOVE
108725
put_io_channel
108783
spdk_spin_init
131336
sspin_init_internal
131336
spdk_poller_register_named
308348
convert_us_to_ticks
308505
poller_register
308505
thread_insert_poller
308588
spdk_put_io_channel
340264
spdk_get_io_channel
340273
spdk_io_channel_iter_get_io_device
699215
spdk_poller_unregister
701652
_call_completion
707229
spdk_for_each_channel
707229
_call_channel
784570
spdk_for_each_channel_continue
784570
spdk_io_channel_iter_get_channel
859139
io_device_get
1091413
io_device_tree_RB_FIND
1091413
spdk_io_channel_iter_get_ctx
1424730
spdk_thread_has_active_pollers
2117636
spdk_spin_unlock
2614856
spdk_spin_lock
2614864
thread_exit
4177417
io_channel_tree_RB_FIND
4223272
thread_get_io_channel
4223272
_interrupt_wrapper
4461631
io_device_cmp
4598974
spdk_thread_send_msg
10083270
thread_send_msg_notification
10084552
spdk_interrupt_mode_is_enabled
10760030
io_channel_cmp
11352410
spdk_spin_held
14854388
timed_pollers_tree_RB_REMOVE_COLOR
18323432
spdk_io_channel_get_io_device
19802271
thread_execute_timed_poller
23163787
timed_pollers_tree_RB_REMOVE
23171417
poller_insert_timer
23171478
timed_pollers_tree_RB_INSERT_COLOR
23171478
timed_pollers_tree_RB_INSERT
23171479
timed_pollers_tree_RB_NEXT
23179639
spdk_io_channel_from_ctx
26672420
spdk_set_thread
71920773
thread_has_unpaused_pollers
75279143
spdk_thread_is_idle
75280422
timed_poller_compare
136130420
spdk_io_channel_get_thread
407328932
spdk_get_thread
495196644
spdk_thread_get_last_tsc
8863561268
spdk_thread_is_exited
8875112530
thread_update_stats
9027458970
spdk_thread_poll
9027734633
thread_poll
9027742411
msg_queue_run_batch
9027976793
_get_thread
9533849350
thread_execute_poller
12048205936
spdk_thread_get_from_ctx
17712622391
Generated by:
LCOV version 1.15