LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1089
1309
83.2 %
Date:
2024-07-11 03:23:54
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
776
1132
68.6 %
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
103
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
busy_poller_interrupt_init
139
busy_poller_set_interrupt_mode
139
_thread_remove_pollers
143
poller_interrupt_fini
154
spdk_interrupt_register
172
spdk_interrupt_register_for_events
172
spdk_poller_resume
197
spdk_poller_pause
257
spdk_poller_register
310
spdk_thread_get_count
318
spdk_interrupt_unregister
322
spdk_thread_lib_init
473
_back_to_orig_thread
513
spdk_for_each_thread
513
spdk_thread_get_by_id
536
thread_interrupt_msg_process
650
_on_thread
661
spdk_poller_register_interrupt
796
spdk_thread_get_name
1082
spdk_thread_send_critical_msg
1441
thread_trace
2724
spdk_thread_lib_init_ext
2787
spdk_thread_lib_fini
3254
_thread_lib_init
3260
io_device_tree_RB_MINMAX
3278
_thread_trace
3570
register_flag_thread
3570
spdk_thread_is_running
3863
_free_thread
8324
spdk_thread_destroy
8335
spdk_thread_exit
8531
spdk_thread_create
8534
interrupt_timerfd_process
8870
spdk_thread_get_stats
9001
spdk_thread_set_cpumask
11640
io_channel_tree_RB_MINMAX
16809
timed_pollers_tree_RB_MINMAX
17139
spdk_thread_next_poller_expiration
22242
spdk_thread_get_cpumask
28389
spdk_thread_get_app_thread
37787
spdk_thread_get_ctx
37970
spdk_thread_is_app_thread
40272
_finish_unregister
44274
io_device_tree_RB_REMOVE_COLOR
44971
io_device_free
54758
io_device_tree_RB_INSERT_COLOR
54764
io_device_tree_RB_REMOVE
54764
spdk_io_device_unregister
54770
io_device_tree_RB_INSERT
54776
spdk_io_device_register
54776
spdk_thread_get_id
78455
io_channel_tree_RB_REMOVE_COLOR
95747
sspin_fini_internal
103992
spdk_spin_destroy
103998
io_channel_tree_RB_REMOVE
118696
io_channel_tree_RB_INSERT
118702
io_channel_tree_RB_INSERT_COLOR
118702
put_io_channel
118766
spdk_spin_init
144822
sspin_init_internal
144822
spdk_poller_register_named
254504
convert_us_to_ticks
254814
poller_register
254814
thread_insert_poller
254957
spdk_put_io_channel
348149
spdk_get_io_channel
348173
spdk_poller_unregister
593589
spdk_io_channel_iter_get_io_device
624885
_call_completion
631623
spdk_for_each_channel
631623
_call_channel
692688
spdk_for_each_channel_continue
692688
spdk_io_channel_iter_get_channel
715654
thread_exit
768611
io_device_get
1034584
io_device_tree_RB_FIND
1034584
spdk_io_channel_iter_get_ctx
1251991
spdk_thread_has_active_pollers
1762245
spdk_spin_unlock
2517374
spdk_spin_lock
2517382
io_channel_tree_RB_FIND
3745098
thread_get_io_channel
3745098
_interrupt_wrapper
3746930
io_device_cmp
4271463
spdk_spin_held
5388931
spdk_set_thread
9573961
io_channel_cmp
10116202
spdk_thread_send_msg
10558248
thread_send_msg_notification
10559689
timed_pollers_tree_RB_REMOVE_COLOR
18167249
thread_execute_timed_poller
23582571
timed_pollers_tree_RB_REMOVE
23587993
poller_insert_timer
23588113
timed_pollers_tree_RB_INSERT
23588113
timed_pollers_tree_RB_INSERT_COLOR
23588113
timed_pollers_tree_RB_NEXT
23593985
spdk_io_channel_get_io_device
26654740
spdk_io_channel_from_ctx
34023389
spdk_thread_is_idle
83430399
thread_has_unpaused_pollers
83430411
timed_poller_compare
134276315
spdk_interrupt_mode_is_enabled
309018391
spdk_io_channel_get_thread
386574323
spdk_get_thread
476138700
spdk_thread_get_last_tsc
12050070101
spdk_thread_is_exited
12055002943
spdk_thread_poll
12246715552
thread_poll
12246715552
thread_update_stats
12246715552
msg_queue_run_batch
12246716074
_get_thread
12734443743
thread_execute_poller
13969286048
spdk_thread_get_from_ctx
24069944795
Generated by:
LCOV version 1.14