LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1204
1483
81.2 %
Date:
2024-11-20 12:57:07
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4154
10270
40.4 %
Function Name
Hit count
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
563
_call_channel
708153
_call_completion
621969
_finish_unregister
34749
_free_thread
7420
_get_thread
8681865627
_interrupt_wrapper
259763495
_on_thread
774
_thread_exit
245
_thread_lib_init
2707
_thread_remove_pollers
2550
_thread_trace
3002
busy_poller_interrupt_init
2771
busy_poller_set_interrupt_mode
2771
convert_us_to_ticks
157629
interrupt_timerfd_process
93387
io_channel_cmp
11267118
io_channel_tree_RB_FIND
4294110
io_channel_tree_RB_INSERT
96842
io_channel_tree_RB_INSERT_COLOR
96842
io_channel_tree_RB_MINMAX
14950
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
96834
io_channel_tree_RB_REMOVE_COLOR
82304
io_device_cmp
3965836
io_device_free
44234
io_device_get
974051
io_device_tree_RB_FIND
974051
io_device_tree_RB_INSERT
44246
io_device_tree_RB_INSERT_COLOR
44238
io_device_tree_RB_MINMAX
2719
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
44238
io_device_tree_RB_REMOVE_COLOR
37123
msg_queue_run_batch
7965438321
period_poller_interrupt_init
237
period_poller_set_interrupt_mode
245
poller_insert_timer
26083950
poller_interrupt_fini
3008
poller_register
157628
poller_remove_timer
241
poller_set_interrupt_mode
8
put_io_channel
96901
register_flag_thread
3002
spdk_for_each_channel
621970
spdk_for_each_channel_continue
708153
spdk_for_each_thread
563
spdk_get_io_channel
307826
spdk_get_thread
708863610
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
149577700
spdk_interrupt_register
3038
spdk_interrupt_register_ext
3237
spdk_interrupt_register_for_events
3236
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
5059
spdk_io_channel_from_ctx
17157749
spdk_io_channel_get_io_device
12753442
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
339108478
spdk_io_channel_iter_get_channel
716213
spdk_io_channel_iter_get_ctx
1349387
spdk_io_channel_iter_get_io_device
836135
spdk_io_device_get_name
0
spdk_io_device_register
44246
spdk_io_device_unregister
44243
spdk_poller_get_id
20
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_state_str
44
spdk_poller_get_stats
16
spdk_poller_pause
209
spdk_poller_register
243
spdk_poller_register_interrupt
2551
spdk_poller_register_named
157385
spdk_poller_resume
205
spdk_poller_unregister
366886
spdk_put_io_channel
307804
spdk_set_thread
522447599
spdk_spin_destroy
90037
spdk_spin_held
1176336
spdk_spin_init
131534
spdk_spin_lock
2204780
spdk_spin_unlock
2204768
spdk_thread_bind
20
spdk_thread_create
7554
spdk_thread_destroy
7428
spdk_thread_exit
7568
spdk_thread_get_app_thread
22817
spdk_thread_get_by_id
660
spdk_thread_get_count
408
spdk_thread_get_cpumask
28781
spdk_thread_get_ctx
37329
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
15350195388
spdk_thread_get_id
79427
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
7702859616
spdk_thread_get_name
1219
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
8551
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3421705
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36522
spdk_thread_is_bound
126
spdk_thread_is_exited
7714531089
spdk_thread_is_idle
56270780
spdk_thread_is_running
3225
spdk_thread_lib_fini
2703
spdk_thread_lib_init
368
spdk_thread_lib_init_ext
2339
spdk_thread_next_poller_expiration
23005
spdk_thread_poll
7964839238
spdk_thread_send_critical_msg
1328
spdk_thread_send_msg
12876267
spdk_thread_set_cpumask
11884
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
90033
sspin_init_internal
131534
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
7043978717
thread_execute_timed_poller
26075695
thread_exit
3831875
thread_get_io_channel
4294110
thread_has_unpaused_pollers
56264094
thread_insert_poller
157754
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
817278
thread_poll
7964934464
thread_send_msg_notification
12877594
thread_trace
2289
thread_update_stats
7964607241
timed_poller_compare
204648215
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
26083950
timed_pollers_tree_RB_INSERT_COLOR
26083950
timed_pollers_tree_RB_MINMAX
17878
timed_pollers_tree_RB_NEXT
26094272
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
26083866
timed_pollers_tree_RB_REMOVE_COLOR
23216994
wrong_thread
0
Generated by:
LCOV version 1.15