LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1086
1303
83.3 %
Date:
2024-07-15 01:00:03
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
772
1126
68.6 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
454
_call_channel
813868
_call_completion
735698
_finish_unregister
36067
_free_thread
8927
_get_thread
9626859809
_interrupt_wrapper
2866754
_on_thread
594
_thread_exit
20
_thread_lib_init
3427
_thread_remove_pollers
171
_thread_trace
3376
busy_poller_interrupt_init
185
busy_poller_set_interrupt_mode
185
convert_us_to_ticks
306626
interrupt_timerfd_process
9656
io_channel_cmp
12535924
io_channel_tree_RB_FIND
4679694
io_channel_tree_RB_INSERT
112035
io_channel_tree_RB_INSERT_COLOR
112035
io_channel_tree_RB_MINMAX
17958
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
112035
io_channel_tree_RB_REMOVE_COLOR
95563
io_device_cmp
4773393
io_device_free
46177
io_device_get
1132872
io_device_tree_RB_FIND
1132872
io_device_tree_RB_INSERT
46185
io_device_tree_RB_INSERT_COLOR
46177
io_device_tree_RB_MINMAX
3439
io_device_tree_RB_NEXT
36
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
46177
io_device_tree_RB_REMOVE_COLOR
37681
msg_queue_run_batch
9097799764
period_poller_interrupt_init
18
period_poller_set_interrupt_mode
28
poller_insert_timer
24337640
poller_interrupt_fini
203
poller_register
306626
poller_remove_timer
23
poller_set_interrupt_mode
10
put_io_channel
112092
register_flag_thread
3376
spdk_for_each_channel
735698
spdk_for_each_channel_continue
813868
spdk_for_each_thread
454
spdk_get_io_channel
350981
spdk_get_thread
518359697
spdk_interrupt_mode_enable
16
spdk_interrupt_mode_is_enabled
10243594
spdk_interrupt_register
224
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
369
spdk_io_channel_from_ctx
25118938
spdk_io_channel_get_io_device
18903215
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
446574744
spdk_io_channel_iter_get_channel
884811
spdk_io_channel_iter_get_ctx
1479114
spdk_io_channel_iter_get_io_device
784573
spdk_io_device_get_name
0
spdk_io_device_register
46185
spdk_io_device_unregister
46181
spdk_poller_get_id
10
spdk_poller_get_name
10
spdk_poller_get_period_ticks
10
spdk_poller_get_state_str
10
spdk_poller_get_stats
10
spdk_poller_pause
178
spdk_poller_register
208
spdk_poller_register_interrupt
824
spdk_poller_register_named
306418
spdk_poller_resume
138
spdk_poller_unregister
727998
spdk_put_io_channel
350969
spdk_set_thread
68610074
spdk_spin_destroy
98543
spdk_spin_held
8455635
spdk_spin_init
137038
spdk_spin_lock
2669827
spdk_spin_unlock
2669819
spdk_thread_bind
20
spdk_thread_create
9067
spdk_thread_destroy
8935
spdk_thread_exit
9075
spdk_thread_get_app_thread
27606
spdk_thread_get_by_id
525
spdk_thread_get_count
295
spdk_thread_get_cpumask
34552
spdk_thread_get_ctx
48530
spdk_thread_get_first_active_poller
132
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
132
spdk_thread_get_first_timed_poller
132
spdk_thread_get_from_ctx
17814637141
spdk_thread_get_id
79593
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
70
spdk_thread_get_last_tsc
8911416059
spdk_thread_get_name
553
spdk_thread_get_next_active_poller
96
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
spdk_thread_get_next_timed_poller
84
spdk_thread_get_stats
9465
spdk_thread_has_active_pollers
1931432
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
38171
spdk_thread_is_bound
88
spdk_thread_is_exited
8925864215
spdk_thread_is_idle
76137933
spdk_thread_is_running
3878
spdk_thread_lib_fini
3423
spdk_thread_lib_init
325
spdk_thread_lib_init_ext
3102
spdk_thread_next_poller_expiration
49148
spdk_thread_poll
9097799131
spdk_thread_send_critical_msg
1303
spdk_thread_send_msg
9569358
spdk_thread_set_cpumask
16042
spdk_thread_set_interrupt_mode
40
sspin_fini_internal
98539
sspin_init_internal
137038
sspin_stack_print
72
sspin_stacks_print
24
thread_execute_poller
11954760658
thread_execute_timed_poller
24332801
thread_exit
4538675
thread_get_io_channel
4679694
thread_has_unpaused_pollers
76137941
thread_insert_poller
306728
thread_interrupt_create
20
thread_interrupt_destroy
20
thread_interrupt_msg_process
745
thread_poll
9097799131
thread_send_msg_notification
9570661
thread_trace
3058
thread_update_stats
9097799131
timed_poller_compare
153059426
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
24337640
timed_pollers_tree_RB_INSERT_COLOR
24337640
timed_pollers_tree_RB_MINMAX
18316
timed_pollers_tree_RB_NEXT
24342990
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
24337560
timed_pollers_tree_RB_REMOVE_COLOR
19584055
wrong_thread
0
Generated by:
LCOV version 1.14