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-09 12:14:46
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4157
10364
40.1 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
562
_call_channel
681960
_call_completion
596908
_finish_unregister
35759
_free_thread
7482
_get_thread
8824439355
_interrupt_wrapper
250750442
_on_thread
773
_thread_exit
247
_thread_lib_init
2715
_thread_remove_pollers
1269
_thread_trace
3006
busy_poller_interrupt_init
1097
busy_poller_set_interrupt_mode
1097
convert_us_to_ticks
156099
interrupt_timerfd_process
94132
io_channel_cmp
11408227
io_channel_tree_RB_FIND
4282136
io_channel_tree_RB_INSERT
97920
io_channel_tree_RB_INSERT_COLOR
97920
io_channel_tree_RB_MINMAX
15072
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
97912
io_channel_tree_RB_REMOVE_COLOR
82509
io_device_cmp
3814162
io_device_free
45260
io_device_get
952111
io_device_tree_RB_FIND
952111
io_device_tree_RB_INSERT
45272
io_device_tree_RB_INSERT_COLOR
45264
io_device_tree_RB_MINMAX
2723
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
45264
io_device_tree_RB_REMOVE_COLOR
37306
msg_queue_run_batch
8071038991
period_poller_interrupt_init
240
period_poller_set_interrupt_mode
248
poller_insert_timer
25300441
poller_interrupt_fini
1337
poller_register
156097
poller_remove_timer
244
poller_set_interrupt_mode
8
put_io_channel
97985
register_flag_thread
3006
spdk_for_each_channel
596909
spdk_for_each_channel_continue
681960
spdk_for_each_thread
562
spdk_get_io_channel
309922
spdk_get_thread
736293195
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
170975583
spdk_interrupt_register
1367
spdk_interrupt_register_ext
1566
spdk_interrupt_register_for_events
1565
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3394
spdk_io_channel_from_ctx
21906753
spdk_io_channel_get_io_device
13116879
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
355287157
spdk_io_channel_iter_get_channel
686239
spdk_io_channel_iter_get_ctx
1293739
spdk_io_channel_iter_get_io_device
808022
spdk_io_device_get_name
0
spdk_io_device_register
45272
spdk_io_device_unregister
45268
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
1770
spdk_poller_register_named
155856
spdk_poller_resume
205
spdk_poller_unregister
341663
spdk_put_io_channel
309905
spdk_set_thread
504867739
spdk_spin_destroy
91019
spdk_spin_held
3454840
spdk_spin_init
132587
spdk_spin_lock
2346387
spdk_spin_unlock
2346375
spdk_thread_bind
20
spdk_thread_create
7620
spdk_thread_destroy
7489
spdk_thread_exit
7632
spdk_thread_get_app_thread
22833
spdk_thread_get_by_id
673
spdk_thread_get_count
408
spdk_thread_get_cpumask
28827
spdk_thread_get_ctx
36941
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
15591474661
spdk_thread_get_id
79150
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
7831778440
spdk_thread_get_name
1219
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
8521
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3595788
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36583
spdk_thread_is_bound
135
spdk_thread_is_exited
7837623589
spdk_thread_is_idle
57960288
spdk_thread_is_running
3248
spdk_thread_lib_fini
2707
spdk_thread_lib_init
372
spdk_thread_lib_init_ext
2343
spdk_thread_next_poller_expiration
23533
spdk_thread_poll
8069470537
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1332
spdk_thread_send_msg
24606087
spdk_thread_set_cpumask
11624
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
91015
sspin_init_internal
132587
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
5883042150
thread_execute_timed_poller
25292285
thread_exit
3452109
thread_get_io_channel
4282136
thread_has_unpaused_pollers
57956943
thread_insert_poller
156224
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
817865
thread_poll
8069818453
thread_run_pp_handlers
0
thread_send_msg_notification
24607416
thread_trace
2293
thread_update_stats
8069600160
timed_poller_compare
195475242
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
25300441
timed_pollers_tree_RB_INSERT_COLOR
25300441
timed_pollers_tree_RB_MINMAX
16729
timed_pollers_tree_RB_NEXT
25309405
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
25300358
timed_pollers_tree_RB_REMOVE_COLOR
22419824
wrong_thread
0
Generated by:
LCOV version 1.14