LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1205
1505
80.1 %
Date:
2024-12-10 00:26:50
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4188
10364
40.4 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
511
_call_channel
583626
_call_completion
535215
_finish_unregister
32838
_free_thread
6728
_get_thread
7577718526
_interrupt_wrapper
121179672
_on_thread
720
_thread_exit
136
_thread_lib_init
2484
_thread_remove_pollers
678
_thread_trace
2705
busy_poller_interrupt_init
579
busy_poller_set_interrupt_mode
579
convert_us_to_ticks
140225
interrupt_timerfd_process
60918
io_channel_cmp
10557229
io_channel_tree_RB_FIND
3894847
io_channel_tree_RB_INSERT
83730
io_channel_tree_RB_INSERT_COLOR
83730
io_channel_tree_RB_MINMAX
13563
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
83722
io_channel_tree_RB_REMOVE_COLOR
69419
io_device_cmp
3500130
io_device_free
41482
io_device_get
849245
io_device_tree_RB_FIND
849245
io_device_tree_RB_INSERT
41494
io_device_tree_RB_INSERT_COLOR
41486
io_device_tree_RB_MINMAX
2492
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
41486
io_device_tree_RB_REMOVE_COLOR
33911
msg_queue_run_batch
7078247171
period_poller_interrupt_init
132
period_poller_set_interrupt_mode
140
poller_insert_timer
26573614
poller_interrupt_fini
711
poller_register
140221
poller_remove_timer
136
poller_set_interrupt_mode
8
put_io_channel
83787
register_flag_thread
2705
spdk_for_each_channel
535215
spdk_for_each_channel_continue
583626
spdk_for_each_thread
511
spdk_get_io_channel
272528
spdk_get_thread
495958448
spdk_interrupt_mode_enable
27
spdk_interrupt_mode_is_enabled
74190536
spdk_interrupt_register
730
spdk_interrupt_register_ext
835
spdk_interrupt_register_for_events
834
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
2086
spdk_io_channel_from_ctx
19059196
spdk_io_channel_get_io_device
14050938
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
294090729
spdk_io_channel_iter_get_channel
592896
spdk_io_channel_iter_get_ctx
1122251
spdk_io_channel_iter_get_io_device
801236
spdk_io_device_get_name
0
spdk_io_device_register
41494
spdk_io_device_unregister
41490
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
204
spdk_poller_register
243
spdk_poller_register_interrupt
1434
spdk_poller_register_named
139979
spdk_poller_resume
200
spdk_poller_unregister
272378
spdk_put_io_channel
272502
spdk_set_thread
245194486
spdk_spin_destroy
82087
spdk_spin_held
1114201
spdk_spin_init
119546
spdk_spin_lock
1693795
spdk_spin_unlock
1693785
spdk_thread_bind
20
spdk_thread_create
6866
spdk_thread_destroy
6733
spdk_thread_exit
6878
spdk_thread_get_app_thread
21783
spdk_thread_get_by_id
669
spdk_thread_get_count
387
spdk_thread_get_cpumask
23619
spdk_thread_get_ctx
28210
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
13735043603
spdk_thread_get_id
71545
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
160
spdk_thread_get_last_tsc
6885870894
spdk_thread_get_name
1051
spdk_thread_get_next_active_poller
48
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
7771
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3368052
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
32888
spdk_thread_is_bound
126
spdk_thread_is_exited
6887057511
spdk_thread_is_idle
57382465
spdk_thread_is_running
2809
spdk_thread_lib_fini
2476
spdk_thread_lib_init
362
spdk_thread_lib_init_ext
2122
spdk_thread_next_poller_expiration
11940
spdk_thread_poll
7077886837
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1150
spdk_thread_send_msg
10832060
spdk_thread_set_cpumask
8016
spdk_thread_set_interrupt_mode
84
sspin_fini_internal
82083
sspin_init_internal
119546
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
4822046399
thread_execute_timed_poller
26566604
thread_exit
3070892
thread_get_io_channel
3894847
thread_has_unpaused_pollers
57379246
thread_insert_poller
140345
thread_interrupt_create
68
thread_interrupt_destroy
68
thread_interrupt_msg_process
549945
thread_poll
7078309619
thread_run_pp_handlers
0
thread_send_msg_notification
10833209
thread_trace
2073
thread_update_stats
7078248684
timed_poller_compare
210606870
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
26573614
timed_pollers_tree_RB_INSERT_COLOR
26573614
timed_pollers_tree_RB_MINMAX
14527
timed_pollers_tree_RB_NEXT
26581282
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
26573532
timed_pollers_tree_RB_REMOVE_COLOR
23670375
wrong_thread
0
Generated by:
LCOV version 1.15