LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1084
1306
83.0 %
Date:
2024-07-12 09:13:42
Functions:
139
161
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
651
920
70.8 %
Function Name
Hit count
__pending_unregister
2
__posix_abort
0
_back_to_orig_thread
75
_call_channel
123611
_call_completion
125716
_finish_unregister
10434
_free_thread
1746
_get_thread
2775117827
_interrupt_wrapper
3616
_on_thread
83
_thread_exit
6
_thread_lib_init
734
_thread_remove_pollers
62
_thread_trace
782
busy_poller_interrupt_init
62
busy_poller_set_interrupt_mode
62
convert_us_to_ticks
66818
interrupt_timerfd_process
3455
io_channel_cmp
3350411
io_channel_tree_RB_FIND
1163920
io_channel_tree_RB_INSERT
22747
io_channel_tree_RB_INSERT_COLOR
22747
io_channel_tree_RB_MINMAX
3546
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
22745
io_channel_tree_RB_REMOVE_COLOR
18191
io_device_cmp
823511
io_device_free
12667
io_device_get
206492
io_device_tree_RB_FIND
206492
io_device_tree_RB_INSERT
12673
io_device_tree_RB_INSERT_COLOR
12669
io_device_tree_RB_MINMAX
740
io_device_tree_RB_NEXT
18
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
12669
io_device_tree_RB_REMOVE_COLOR
10145
msg_queue_run_batch
2692784216
period_poller_interrupt_init
6
period_poller_set_interrupt_mode
10
poller_insert_timer
6516967
poller_interrupt_fini
68
poller_register
66818
poller_remove_timer
8
poller_set_interrupt_mode
4
put_io_channel
22755
register_flag_thread
782
spdk_for_each_channel
125716
spdk_for_each_channel_continue
123611
spdk_for_each_thread
75
spdk_get_io_channel
68099
spdk_get_thread
81695074
spdk_interrupt_mode_enable
6
spdk_interrupt_mode_is_enabled
580364
spdk_interrupt_register
74
spdk_interrupt_register_for_events
74
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
74
spdk_io_channel_from_ctx
8769149
spdk_io_channel_get_io_device
6202118
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
73359055
spdk_io_channel_iter_get_channel
167684
spdk_io_channel_iter_get_ctx
247744
spdk_io_channel_iter_get_io_device
241083
spdk_io_device_get_name
0
spdk_io_device_register
12673
spdk_io_device_unregister
12671
spdk_poller_get_id
4
spdk_poller_get_name
4
spdk_poller_get_period_ticks
4
spdk_poller_get_state_str
4
spdk_poller_get_stats
4
spdk_poller_pause
76
spdk_poller_register
104
spdk_poller_register_interrupt
176
spdk_poller_register_named
66714
spdk_poller_resume
56
spdk_poller_unregister
83511
spdk_put_io_channel
68091
spdk_set_thread
634167
spdk_spin_destroy
20536
spdk_spin_held
71431
spdk_spin_init
29284
spdk_spin_lock
405249
spdk_spin_unlock
405245
spdk_thread_bind
2
spdk_thread_create
1816
spdk_thread_destroy
1750
spdk_thread_exit
1818
spdk_thread_get_app_thread
12383
spdk_thread_get_by_id
100
spdk_thread_get_count
75
spdk_thread_get_cpumask
3154
spdk_thread_get_ctx
2907
spdk_thread_get_first_active_poller
12
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
12
spdk_thread_get_first_timed_poller
12
spdk_thread_get_from_ctx
5348628413
spdk_thread_get_id
323
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
24
spdk_thread_get_last_tsc
2674461847
spdk_thread_get_name
48
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
12
spdk_thread_get_stats
1591
spdk_thread_has_active_pollers
379506
spdk_thread_has_pollers
4
spdk_thread_is_app_thread
8551
spdk_thread_is_bound
32
spdk_thread_is_exited
2674718769
spdk_thread_is_idle
33188397
spdk_thread_is_running
677
spdk_thread_lib_fini
732
spdk_thread_lib_init
145
spdk_thread_lib_init_ext
589
spdk_thread_next_poller_expiration
516
spdk_thread_poll
2692783960
spdk_thread_send_critical_msg
270
spdk_thread_send_msg
435320
spdk_thread_set_cpumask
8
spdk_thread_set_interrupt_mode
14
sspin_fini_internal
20534
sspin_init_internal
29284
sspin_stack_print
36
sspin_stacks_print
12
thread_execute_poller
3478521026
thread_execute_timed_poller
6516656
thread_exit
3043745
thread_get_io_channel
1163920
thread_has_unpaused_pollers
33188401
thread_insert_poller
66856
thread_interrupt_create
6
thread_interrupt_destroy
6
thread_interrupt_msg_process
256
thread_poll
2692783960
thread_send_msg_notification
435590
thread_trace
569
thread_update_stats
2692783960
timed_poller_compare
60424189
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
6516967
timed_pollers_tree_RB_INSERT_COLOR
6516967
timed_pollers_tree_RB_MINMAX
3644
timed_pollers_tree_RB_NEXT
6517359
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
6516927
timed_pollers_tree_RB_REMOVE_COLOR
5960668
wrong_thread
0
Generated by:
LCOV version 1.14