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 11:13:39
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4135
10270
40.3 %
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
__pending_unregister
4
spdk_thread_get_trace_id
6
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_is_bound
124
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
237
poller_remove_timer
241
spdk_poller_register
243
period_poller_set_interrupt_mode
245
_thread_exit
247
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
362
spdk_thread_get_count
408
_back_to_orig_thread
562
spdk_for_each_thread
562
spdk_thread_get_by_id
669
_on_thread
773
busy_poller_interrupt_init
1042
busy_poller_set_interrupt_mode
1042
spdk_thread_get_name
1219
_thread_remove_pollers
1227
poller_interrupt_fini
1279
spdk_interrupt_register
1309
spdk_thread_send_critical_msg
1327
spdk_interrupt_register_for_events
1507
spdk_interrupt_register_ext
1508
thread_trace
2280
spdk_thread_lib_init_ext
2330
spdk_poller_register_interrupt
2550
spdk_thread_lib_fini
2688
_thread_lib_init
2692
io_device_tree_RB_MINMAX
2704
_thread_trace
2987
register_flag_thread
2987
spdk_thread_is_running
3201
spdk_interrupt_unregister
3372
_free_thread
7389
spdk_thread_destroy
7396
spdk_thread_create
7523
spdk_thread_exit
7539
spdk_thread_get_stats
8377
spdk_thread_set_cpumask
11312
io_channel_tree_RB_MINMAX
14884
timed_pollers_tree_RB_MINMAX
16496
spdk_thread_get_app_thread
22731
spdk_thread_next_poller_expiration
23636
spdk_thread_get_cpumask
28192
_finish_unregister
34627
spdk_thread_get_ctx
36135
spdk_thread_is_app_thread
36345
io_device_tree_RB_REMOVE_COLOR
36953
io_device_free
44035
io_device_tree_RB_INSERT_COLOR
44039
io_device_tree_RB_REMOVE
44039
spdk_io_device_unregister
44043
io_device_tree_RB_INSERT
44047
spdk_io_device_register
44047
spdk_thread_get_id
78740
io_channel_tree_RB_REMOVE_COLOR
81855
sspin_fini_internal
89815
spdk_spin_destroy
89819
interrupt_timerfd_process
93651
io_channel_tree_RB_REMOVE
96302
io_channel_tree_RB_INSERT
96310
io_channel_tree_RB_INSERT_COLOR
96310
put_io_channel
96368
spdk_spin_init
131014
sspin_init_internal
131014
spdk_poller_register_named
162389
poller_register
162630
convert_us_to_ticks
162634
thread_insert_poller
162759
spdk_put_io_channel
306293
spdk_get_io_channel
306316
spdk_poller_unregister
368076
_call_completion
623386
spdk_for_each_channel
623390
_call_channel
708027
spdk_for_each_channel_continue
708027
spdk_io_channel_iter_get_channel
722177
spdk_io_channel_iter_get_io_device
832976
io_device_get
973762
io_device_tree_RB_FIND
973762
thread_interrupt_msg_process
986186
spdk_io_channel_iter_get_ctx
1349415
spdk_spin_unlock
1935860
spdk_spin_lock
1935870
spdk_spin_held
3265881
spdk_thread_has_active_pollers
3786180
io_device_cmp
3996078
thread_exit
4268966
io_channel_tree_RB_FIND
4383589
thread_get_io_channel
4383589
io_channel_cmp
11730206
spdk_io_channel_get_io_device
13499850
spdk_thread_send_msg
13682693
thread_send_msg_notification
13684018
spdk_io_channel_from_ctx
18948093
timed_pollers_tree_RB_REMOVE_COLOR
23875385
thread_execute_timed_poller
26745346
timed_pollers_tree_RB_REMOVE
26753548
poller_insert_timer
26753630
timed_pollers_tree_RB_INSERT
26753630
timed_pollers_tree_RB_INSERT_COLOR
26753630
timed_pollers_tree_RB_NEXT
26762714
thread_has_unpaused_pollers
60106083
spdk_thread_is_idle
60109511
spdk_interrupt_mode_is_enabled
147781663
timed_poller_compare
209025679
_interrupt_wrapper
245050927
spdk_io_channel_get_thread
331376885
spdk_set_thread
493366939
spdk_get_thread
691447884
thread_execute_poller
6878000177
spdk_thread_get_last_tsc
7539763574
spdk_thread_is_exited
7544668851
spdk_thread_poll
7768431933
thread_poll
7768443204
thread_update_stats
7768564819
msg_queue_run_batch
7769263609
_get_thread
8466348004
spdk_thread_get_from_ctx
15010602107
Generated by:
LCOV version 1.15