LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1084
1303
83.2 %
Date:
2024-11-03 18:20:27
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
773
1126
68.7 %
Function Name
Hit count
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
456
_call_channel
728438
_call_completion
669339
_finish_unregister
34888
_free_thread
8033
_get_thread
8303752987
_interrupt_wrapper
5441743
_on_thread
640
_thread_exit
17
_thread_lib_init
3078
_thread_remove_pollers
141
_thread_trace
2959
busy_poller_interrupt_init
154
busy_poller_set_interrupt_mode
154
convert_us_to_ticks
271197
interrupt_timerfd_process
9190
io_channel_cmp
11063594
io_channel_tree_RB_FIND
4063334
io_channel_tree_RB_INSERT
96951
io_channel_tree_RB_INSERT_COLOR
96951
io_channel_tree_RB_MINMAX
16196
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
96951
io_channel_tree_RB_REMOVE_COLOR
78682
io_device_cmp
4238000
io_device_free
43543
io_device_get
998796
io_device_tree_RB_FIND
998796
io_device_tree_RB_INSERT
43553
io_device_tree_RB_INSERT_COLOR
43543
io_device_tree_RB_MINMAX
3093
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
43543
io_device_tree_RB_REMOVE_COLOR
34869
msg_queue_run_batch
7847417192
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
21540461
poller_interrupt_fini
169
poller_register
271197
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
97004
register_flag_thread
2959
spdk_for_each_channel
669339
spdk_for_each_channel_continue
728438
spdk_for_each_thread
456
spdk_get_io_channel
285894
spdk_get_thread
447574378
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
8364032
spdk_interrupt_register
187
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
337
spdk_io_channel_from_ctx
28336576
spdk_io_channel_get_io_device
21937501
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
355711807
spdk_io_channel_iter_get_channel
780454
spdk_io_channel_iter_get_ctx
1315575
spdk_io_channel_iter_get_io_device
682939
spdk_io_device_get_name
0
spdk_io_device_register
43553
spdk_io_device_unregister
43548
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
203
spdk_poller_register
258
spdk_poller_register_interrupt
789
spdk_poller_register_named
270939
spdk_poller_resume
153
spdk_poller_unregister
666875
spdk_put_io_channel
285879
spdk_set_thread
69294924
spdk_spin_destroy
89107
spdk_spin_held
7638038
spdk_spin_init
120749
spdk_spin_lock
2513037
spdk_spin_unlock
2513031
spdk_thread_bind
21
spdk_thread_create
8208
spdk_thread_destroy
8043
spdk_thread_exit
8209
spdk_thread_get_app_thread
26632
spdk_thread_get_by_id
527
spdk_thread_get_count
299
spdk_thread_get_cpumask
28333
spdk_thread_get_ctx
38340
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
15341001331
spdk_thread_get_id
62510
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
7705938320
spdk_thread_get_name
525
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
8517
spdk_thread_has_active_pollers
1985278
spdk_thread_has_pollers
10
spdk_thread_is_app_thread
33274
spdk_thread_is_bound
102
spdk_thread_is_exited
7686997197
spdk_thread_is_idle
55806196
spdk_thread_is_running
3507
spdk_thread_lib_fini
3073
spdk_thread_lib_init
398
spdk_thread_lib_init_ext
2680
spdk_thread_next_poller_expiration
42533
spdk_thread_poll
7847416558
spdk_thread_send_critical_msg
1132
spdk_thread_send_msg
7767175
spdk_thread_set_cpumask
11950
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
89102
sspin_init_internal
120749
sspin_stack_print
84
sspin_stacks_print
28
thread_execute_poller
10040905694
thread_execute_timed_poller
21536279
thread_exit
599029
thread_get_io_channel
4063334
thread_has_unpaused_pollers
55806206
thread_insert_poller
271305
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
634
thread_poll
7847416558
thread_send_msg_notification
7768307
thread_trace
2627
thread_update_stats
7847416558
timed_poller_compare
129259673
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
21540461
timed_pollers_tree_RB_INSERT_COLOR
21540461
timed_pollers_tree_RB_MINMAX
16518
timed_pollers_tree_RB_NEXT
21544986
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
21540361
timed_pollers_tree_RB_REMOVE_COLOR
17081730
wrong_thread
0
Generated by:
LCOV version 1.14