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 15:18:35
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
__posix_abort
0
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_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
spdk_interrupt_set_event_types
0
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_device_get_name
0
spdk_thread_get_first_io_channel
0
spdk_thread_get_interrupt_fd
0
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
wrong_thread
0
spdk_thread_get_trace_id
3
__pending_unregister
4
poller_set_interrupt_mode
8
spdk_thread_has_pollers
8
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_stats
16
spdk_poller_get_id
20
spdk_thread_bind
20
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
41
spdk_poller_get_state_str
44
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
thread_interrupt_create
122
thread_interrupt_destroy
122
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_is_bound
126
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
241
spdk_poller_register
243
poller_remove_timer
245
_thread_exit
246
period_poller_set_interrupt_mode
249
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
366
spdk_thread_get_count
394
_back_to_orig_thread
541
spdk_for_each_thread
541
spdk_thread_get_by_id
663
_on_thread
752
busy_poller_interrupt_init
1093
busy_poller_set_interrupt_mode
1093
spdk_thread_get_name
1208
_thread_remove_pollers
1240
spdk_thread_send_critical_msg
1279
poller_interrupt_fini
1334
spdk_interrupt_register
1364
spdk_interrupt_register_for_events
1562
spdk_interrupt_register_ext
1563
thread_trace
2210
spdk_thread_lib_init_ext
2260
spdk_poller_register_interrupt
2522
spdk_thread_lib_fini
2622
_thread_lib_init
2626
io_device_tree_RB_MINMAX
2638
_thread_trace
2934
register_flag_thread
2934
spdk_thread_is_running
3068
spdk_interrupt_unregister
3422
_free_thread
7299
spdk_thread_destroy
7306
spdk_thread_create
7433
spdk_thread_exit
7446
spdk_thread_get_stats
8214
spdk_thread_set_cpumask
11612
io_channel_tree_RB_MINMAX
14702
timed_pollers_tree_RB_MINMAX
16328
spdk_thread_get_app_thread
21902
spdk_thread_next_poller_expiration
23240
spdk_thread_get_cpumask
28475
_finish_unregister
34321
spdk_thread_is_app_thread
35433
io_device_tree_RB_REMOVE_COLOR
36495
spdk_thread_get_ctx
36525
io_device_free
43502
io_device_tree_RB_INSERT_COLOR
43506
io_device_tree_RB_REMOVE
43506
spdk_io_device_unregister
43510
io_device_tree_RB_INSERT
43514
spdk_io_device_register
43514
spdk_thread_get_id
79560
io_channel_tree_RB_REMOVE_COLOR
81033
sspin_fini_internal
87808
spdk_spin_destroy
87812
io_channel_tree_RB_REMOVE
95441
io_channel_tree_RB_INSERT
95449
io_channel_tree_RB_INSERT_COLOR
95449
put_io_channel
95512
interrupt_timerfd_process
96806
spdk_spin_init
128035
sspin_init_internal
128035
spdk_poller_register_named
152089
convert_us_to_ticks
152332
poller_register
152332
thread_insert_poller
152457
spdk_put_io_channel
302686
spdk_get_io_channel
302706
spdk_poller_unregister
392230
_call_completion
645829
spdk_for_each_channel
645830
_call_channel
734633
spdk_for_each_channel_continue
734633
spdk_io_channel_iter_get_channel
741578
spdk_io_channel_iter_get_io_device
808811
io_device_get
992059
io_device_tree_RB_FIND
992059
thread_interrupt_msg_process
1181701
spdk_io_channel_iter_get_ctx
1400517
spdk_spin_held
1879093
spdk_spin_unlock
2107443
spdk_spin_lock
2107452
thread_exit
3325658
spdk_thread_has_active_pollers
3326485
io_device_cmp
4006903
io_channel_tree_RB_FIND
4379983
thread_get_io_channel
4379983
spdk_thread_send_msg
10038408
thread_send_msg_notification
10039680
io_channel_cmp
11716408
spdk_io_channel_get_io_device
12757837
spdk_io_channel_from_ctx
15628732
timed_pollers_tree_RB_REMOVE_COLOR
23254723
thread_execute_timed_poller
26132494
timed_pollers_tree_RB_REMOVE
26140012
poller_insert_timer
26140096
timed_pollers_tree_RB_INSERT
26140096
timed_pollers_tree_RB_INSERT_COLOR
26140096
timed_pollers_tree_RB_NEXT
26148517
thread_has_unpaused_pollers
58575959
spdk_thread_is_idle
58588633
spdk_interrupt_mode_is_enabled
135429831
timed_poller_compare
193947037
_interrupt_wrapper
294654200
spdk_io_channel_get_thread
308202192
spdk_set_thread
592958954
spdk_get_thread
696816495
thread_execute_poller
7384175910
spdk_thread_get_last_tsc
7739362545
spdk_thread_is_exited
7758840535
spdk_thread_poll
7969117596
thread_update_stats
7969243951
thread_poll
7969473746
msg_queue_run_batch
7970493829
_get_thread
8669411824
spdk_thread_get_from_ctx
15450629162
Generated by:
LCOV version 1.14