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-08-10 23:32:34
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
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
556
_call_channel
712747
_call_completion
646071
_finish_unregister
34868
_free_thread
7108
_get_thread
10072850798
_interrupt_wrapper
1992354
_on_thread
742
_thread_exit
17
_thread_lib_init
2618
_thread_remove_pollers
142
_thread_trace
2913
busy_poller_interrupt_init
139
busy_poller_set_interrupt_mode
139
convert_us_to_ticks
157597
interrupt_timerfd_process
8835
io_channel_cmp
11022393
io_channel_tree_RB_FIND
3907100
io_channel_tree_RB_INSERT
96022
io_channel_tree_RB_INSERT_COLOR
96022
io_channel_tree_RB_MINMAX
14360
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
96012
io_channel_tree_RB_REMOVE_COLOR
78827
io_device_cmp
4172679
io_device_free
43945
io_device_get
970750
io_device_tree_RB_FIND
970750
io_device_tree_RB_INSERT
43960
io_device_tree_RB_INSERT_COLOR
43950
io_device_tree_RB_MINMAX
2633
io_device_tree_RB_NEXT
45
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
43950
io_device_tree_RB_REMOVE_COLOR
35750
msg_queue_run_batch
9582950495
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
23447907
poller_interrupt_fini
154
poller_register
157597
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
96076
register_flag_thread
2913
spdk_for_each_channel
646071
spdk_for_each_channel_continue
712747
spdk_for_each_thread
556
spdk_get_io_channel
280709
spdk_get_thread
476003534
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
309225054
spdk_interrupt_register
172
spdk_interrupt_register_for_events
172
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
322
spdk_io_channel_from_ctx
24063961
spdk_io_channel_get_io_device
18480243
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
374102987
spdk_io_channel_iter_get_channel
644277
spdk_io_channel_iter_get_ctx
1284461
spdk_io_channel_iter_get_io_device
679845
spdk_io_device_get_name
0
spdk_io_device_register
43960
spdk_io_device_unregister
43955
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_poller_pause
229
spdk_poller_register
258
spdk_poller_register_interrupt
2158
spdk_poller_register_named
157339
spdk_poller_resume
224
spdk_poller_unregister
281037
spdk_put_io_channel
280684
spdk_set_thread
5671222
spdk_spin_destroy
86377
spdk_spin_held
7421039
spdk_spin_init
123340
spdk_spin_lock
2270675
spdk_spin_unlock
2270669
spdk_thread_bind
21
spdk_thread_create
7288
spdk_thread_destroy
7117
spdk_thread_exit
7288
spdk_thread_get_app_thread
23533
spdk_thread_get_by_id
562
spdk_thread_get_count
332
spdk_thread_get_cpumask
26257
spdk_thread_get_ctx
35875
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_get_from_ctx
18755302719
spdk_thread_get_id
78882
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
9400380675
spdk_thread_get_name
1087
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
78
spdk_thread_get_stats
7988
spdk_thread_has_active_pollers
1808982
spdk_thread_has_pollers
10
spdk_thread_is_app_thread
34133
spdk_thread_is_bound
105
spdk_thread_is_exited
9397074698
spdk_thread_is_idle
55789144
spdk_thread_is_running
3188
spdk_thread_lib_fini
2613
spdk_thread_lib_init
411
spdk_thread_lib_init_ext
2207
spdk_thread_next_poller_expiration
24743
spdk_thread_poll
9582949841
spdk_thread_send_critical_msg
1272
spdk_thread_send_msg
12930096
spdk_thread_set_cpumask
11666
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
86372
sspin_init_internal
123340
sspin_stack_print
84
sspin_stacks_print
28
thread_execute_poller
9509133475
thread_execute_timed_poller
23442412
thread_exit
773466
thread_get_io_channel
3907100
thread_has_unpaused_pollers
55789154
thread_insert_poller
157721
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
654
thread_poll
9582949841
thread_send_msg_notification
12931368
thread_trace
2154
thread_update_stats
9582949841
timed_poller_compare
140532037
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
23447907
timed_pollers_tree_RB_INSERT_COLOR
23447907
timed_pollers_tree_RB_MINMAX
14683
timed_pollers_tree_RB_NEXT
23453820
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
23447807
timed_pollers_tree_RB_REMOVE_COLOR
19344839
wrong_thread
0
Generated by:
LCOV version 1.14