LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1202
1483
81.1 %
Date:
2024-11-15 11:55:20
Functions:
141
163
86.5 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4183
10270
40.7 %
Function Name
Hit count
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
514
_call_channel
654493
_call_completion
569823
_finish_unregister
33504
_free_thread
6969
_get_thread
8085073868
_interrupt_wrapper
256481286
_on_thread
629
_thread_exit
243
_thread_lib_init
2570
_thread_remove_pollers
1522
_thread_trace
2837
busy_poller_interrupt_init
1437
busy_poller_set_interrupt_mode
1437
convert_us_to_ticks
159705
interrupt_timerfd_process
86482
io_channel_cmp
11192820
io_channel_tree_RB_FIND
4180570
io_channel_tree_RB_INSERT
94899
io_channel_tree_RB_INSERT_COLOR
94899
io_channel_tree_RB_MINMAX
14048
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
94891
io_channel_tree_RB_REMOVE_COLOR
80827
io_device_cmp
3668060
io_device_free
42533
io_device_get
914145
io_device_tree_RB_FIND
914145
io_device_tree_RB_INSERT
42545
io_device_tree_RB_INSERT_COLOR
42537
io_device_tree_RB_MINMAX
2582
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
42537
io_device_tree_RB_REMOVE_COLOR
35631
msg_queue_run_batch
7429497730
period_poller_interrupt_init
230
period_poller_set_interrupt_mode
238
poller_insert_timer
25073236
poller_interrupt_fini
1667
poller_register
159702
poller_remove_timer
234
poller_set_interrupt_mode
8
put_io_channel
94959
register_flag_thread
2837
spdk_for_each_channel
569830
spdk_for_each_channel_continue
654493
spdk_for_each_thread
514
spdk_get_io_channel
301761
spdk_get_thread
652599711
spdk_interrupt_mode_enable
40
spdk_interrupt_mode_is_enabled
147386717
spdk_interrupt_register
1695
spdk_interrupt_register_ext
1893
spdk_interrupt_register_for_events
1893
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3740
spdk_io_channel_from_ctx
16806833
spdk_io_channel_get_io_device
12346728
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
307653856
spdk_io_channel_iter_get_channel
671600
spdk_io_channel_iter_get_ctx
1245248
spdk_io_channel_iter_get_io_device
844553
spdk_io_device_get_name
0
spdk_io_device_register
42545
spdk_io_device_unregister
42542
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
2433
spdk_poller_register_named
159461
spdk_poller_resume
205
spdk_poller_unregister
311196
spdk_put_io_channel
301741
spdk_set_thread
515710351
spdk_spin_destroy
88289
spdk_spin_held
3282357
spdk_spin_init
127741
spdk_spin_lock
1912067
spdk_spin_unlock
1912056
spdk_thread_bind
20
spdk_thread_create
7103
spdk_thread_destroy
6976
spdk_thread_exit
7118
spdk_thread_get_app_thread
21817
spdk_thread_get_by_id
384
spdk_thread_get_count
385
spdk_thread_get_cpumask
26885
spdk_thread_get_ctx
35460
spdk_thread_get_first_active_poller
24
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
24
spdk_thread_get_first_timed_poller
24
spdk_thread_get_from_ctx
14333512592
spdk_thread_get_id
77503
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
264
spdk_thread_get_last_tsc
7180999850
spdk_thread_get_name
854
spdk_thread_get_next_active_poller
0
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
spdk_thread_get_next_timed_poller
24
spdk_thread_get_stats
6687
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3104001
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
34654
spdk_thread_is_bound
76
spdk_thread_is_exited
7209382796
spdk_thread_is_idle
57201725
spdk_thread_is_running
3023
spdk_thread_lib_fini
2566
spdk_thread_lib_init
351
spdk_thread_lib_init_ext
2219
spdk_thread_next_poller_expiration
23069
spdk_thread_poll
7428544010
spdk_thread_send_critical_msg
1264
spdk_thread_send_msg
11111210
spdk_thread_set_cpumask
11444
spdk_thread_set_interrupt_mode
136
sspin_fini_internal
88285
sspin_init_internal
127741
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
6538900805
thread_execute_timed_poller
25065337
thread_exit
4126789
thread_get_io_channel
4180570
thread_has_unpaused_pollers
57199487
thread_insert_poller
159829
thread_interrupt_create
120
thread_interrupt_destroy
120
thread_interrupt_msg_process
733214
thread_poll
7428767168
thread_send_msg_notification
11112466
thread_trace
2169
thread_update_stats
7428447894
timed_poller_compare
198721607
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
25073236
timed_pollers_tree_RB_INSERT_COLOR
25073236
timed_pollers_tree_RB_MINMAX
15851
timed_pollers_tree_RB_NEXT
25082143
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
25073155
timed_pollers_tree_RB_REMOVE_COLOR
22211859
wrong_thread
0
Generated by:
LCOV version 1.14