LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1176
1453
80.9 %
Date:
2024-12-16 21:43:58
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3754
10254
36.6 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
493
_call_channel
768069
_call_completion
690881
_finish_unregister
34220
_free_thread
8662
_get_thread
9456319491
_interrupt_wrapper
4363048
_on_thread
695
_thread_exit
17
_thread_lib_init
3297
_thread_remove_pollers
142
_thread_trace
3277
busy_poller_interrupt_init
155
busy_poller_set_interrupt_mode
155
convert_us_to_ticks
294385
interrupt_timerfd_process
8295
io_channel_cmp
11193882
io_channel_tree_RB_FIND
4112649
io_channel_tree_RB_INSERT
108914
io_channel_tree_RB_INSERT_COLOR
108914
io_channel_tree_RB_MINMAX
17400
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
108914
io_channel_tree_RB_REMOVE_COLOR
93449
io_device_cmp
4533933
io_device_free
43900
io_device_get
1076240
io_device_tree_RB_FIND
1076240
io_device_tree_RB_INSERT
43906
io_device_tree_RB_INSERT_COLOR
43900
io_device_tree_RB_MINMAX
3306
io_device_tree_RB_NEXT
27
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
43900
io_device_tree_RB_REMOVE_COLOR
36323
msg_queue_run_batch
8906949720
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
24328205
poller_interrupt_fini
170
poller_register
294385
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
108968
register_flag_thread
3277
spdk_for_each_channel
690881
spdk_for_each_channel_continue
768069
spdk_for_each_thread
493
spdk_get_io_channel
341447
spdk_get_thread
538973427
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
10479911
spdk_interrupt_register
188
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
602
spdk_io_channel_from_ctx
29814425
spdk_io_channel_get_io_device
22671587
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
430649451
spdk_io_channel_iter_get_channel
825506
spdk_io_channel_iter_get_ctx
1389750
spdk_io_channel_iter_get_io_device
686482
spdk_io_device_get_name
0
spdk_io_device_register
43906
spdk_io_device_unregister
43903
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
140
spdk_poller_register
157
spdk_poller_register_interrupt
809
spdk_poller_register_named
294228
spdk_poller_resume
110
spdk_poller_unregister
786804
spdk_put_io_channel
341437
spdk_set_thread
68630456
spdk_spin_destroy
94250
spdk_spin_held
8439404
spdk_spin_init
131345
spdk_spin_lock
2673071
spdk_spin_unlock
2673063
spdk_thread_bind
19
spdk_thread_create
8767
spdk_thread_destroy
8667
spdk_thread_exit
8773
spdk_thread_get_app_thread
24954
spdk_thread_get_by_id
513
spdk_thread_get_count
306
spdk_thread_get_cpumask
34270
spdk_thread_get_ctx
48333
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
17417339791
spdk_thread_get_id
79891
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
8746679319
spdk_thread_get_name
543
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
9320
spdk_thread_has_active_pollers
2022373
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
37341
spdk_thread_is_bound
76
spdk_thread_is_exited
8730639736
spdk_thread_is_idle
70490243
spdk_thread_is_running
3881
spdk_thread_lib_fini
3294
spdk_thread_lib_init
256
spdk_thread_lib_init_ext
3041
spdk_thread_next_poller_expiration
48794
spdk_thread_poll
8906696279
spdk_thread_send_critical_msg
1282
spdk_thread_send_msg
9831393
spdk_thread_set_cpumask
16062
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
94247
sspin_init_internal
131345
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
11768496455
thread_execute_timed_poller
24320461
thread_exit
3137554
thread_get_io_channel
4112649
thread_has_unpaused_pollers
70488638
thread_insert_poller
294467
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
637
thread_poll
8906709092
thread_send_msg_notification
9832674
thread_trace
3007
thread_update_stats
8906421384
timed_poller_compare
150465946
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
24328204
timed_pollers_tree_RB_INSERT_COLOR
24328205
timed_pollers_tree_RB_MINMAX
17709
timed_pollers_tree_RB_NEXT
24336431
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
24328145
timed_pollers_tree_RB_REMOVE_COLOR
19424555
wrong_thread
0
Generated by:
LCOV version 1.15