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 08:44:20
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4162
10270
40.5 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
559
_call_channel
723374
_call_completion
625869
_finish_unregister
34819
_free_thread
7390
_get_thread
8868696039
_interrupt_wrapper
238317332
_on_thread
770
_thread_exit
244
_thread_lib_init
2681
_thread_remove_pollers
1524
_thread_trace
2991
busy_poller_interrupt_init
1393
busy_poller_set_interrupt_mode
1393
convert_us_to_ticks
164048
interrupt_timerfd_process
93537
io_channel_cmp
11743728
io_channel_tree_RB_FIND
4440273
io_channel_tree_RB_INSERT
97517
io_channel_tree_RB_INSERT_COLOR
97517
io_channel_tree_RB_MINMAX
14883
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
97509
io_channel_tree_RB_REMOVE_COLOR
82980
io_device_cmp
4029398
io_device_free
44172
io_device_get
979719
io_device_tree_RB_FIND
979719
io_device_tree_RB_INSERT
44184
io_device_tree_RB_INSERT_COLOR
44176
io_device_tree_RB_MINMAX
2693
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
44176
io_device_tree_RB_REMOVE_COLOR
37109
msg_queue_run_batch
8178875962
period_poller_interrupt_init
235
period_poller_set_interrupt_mode
243
poller_insert_timer
27167557
poller_interrupt_fini
1628
poller_register
164046
poller_remove_timer
239
poller_set_interrupt_mode
8
put_io_channel
97575
register_flag_thread
2991
spdk_for_each_channel
625869
spdk_for_each_channel_continue
723374
spdk_for_each_thread
559
spdk_get_io_channel
309658
spdk_get_thread
682791894
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
153822696
spdk_interrupt_register
1658
spdk_interrupt_register_ext
1857
spdk_interrupt_register_for_events
1856
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3691
spdk_io_channel_from_ctx
18930568
spdk_io_channel_get_io_device
13692281
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
341157764
spdk_io_channel_iter_get_channel
737565
spdk_io_channel_iter_get_ctx
1368880
spdk_io_channel_iter_get_io_device
817276
spdk_io_device_get_name
0
spdk_io_device_register
44184
spdk_io_device_unregister
44180
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
2559
spdk_poller_register_named
163805
spdk_poller_resume
205
spdk_poller_unregister
386586
spdk_put_io_channel
309640
spdk_set_thread
480395775
spdk_spin_destroy
90483
spdk_spin_held
1903555
spdk_spin_init
131458
spdk_spin_lock
1988800
spdk_spin_unlock
1988789
spdk_thread_bind
20
spdk_thread_create
7524
spdk_thread_destroy
7395
spdk_thread_exit
7539
spdk_thread_get_app_thread
22703
spdk_thread_get_by_id
664
spdk_thread_get_count
408
spdk_thread_get_cpumask
28499
spdk_thread_get_ctx
36650
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
15770905982
spdk_thread_get_id
79459
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
7905178855
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
8344
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3539491
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36266
spdk_thread_is_bound
122
spdk_thread_is_exited
7922240572
spdk_thread_is_idle
59293410
spdk_thread_is_running
3180
spdk_thread_lib_fini
2677
spdk_thread_lib_init
356
spdk_thread_lib_init_ext
2325
spdk_thread_next_poller_expiration
21670
spdk_thread_poll
8177308727
spdk_thread_send_critical_msg
1324
spdk_thread_send_msg
14096663
spdk_thread_set_cpumask
11576
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
90479
sspin_init_internal
131458
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
6984008271
thread_execute_timed_poller
27159428
thread_exit
3204718
thread_get_io_channel
4440273
thread_has_unpaused_pollers
59289881
thread_insert_poller
164172
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
1238159
thread_poll
8177460354
thread_send_msg_notification
14097987
thread_trace
2275
thread_update_stats
8177483047
timed_poller_compare
198454298
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
27167557
timed_pollers_tree_RB_INSERT_COLOR
27167557
timed_pollers_tree_RB_MINMAX
16788
timed_pollers_tree_RB_NEXT
27176736
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
27167474
timed_pollers_tree_RB_REMOVE_COLOR
24072921
wrong_thread
0
Generated by:
LCOV version 1.14