LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1224
1532
79.9 %
Date:
2024-12-14 02:39:22
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4020
10466
38.4 %
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
spdk_thread_register_post_poller_handler
0
thread_run_pp_handlers
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_interrupt_register_fd_group
2
__pending_unregister
3
spdk_thread_get_trace_id
6
spdk_thread_has_pollers
6
poller_set_interrupt_mode
8
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_stats
14
spdk_poller_get_id
17
spdk_thread_bind
19
sspin_stacks_print
19
io_device_tree_RB_NEXT
27
spdk_interrupt_mode_enable
27
spdk_poller_get_state_str
35
spdk_thread_get_next_active_poller
48
sspin_stack_print
57
thread_interrupt_create
68
thread_interrupt_destroy
68
spdk_thread_get_next_timed_poller
78
spdk_thread_set_interrupt_mode
84
spdk_thread_is_bound
114
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
period_poller_interrupt_init
132
poller_remove_timer
136
_thread_exit
137
period_poller_set_interrupt_mode
140
spdk_poller_resume
160
spdk_thread_get_interrupt_fd_group
160
spdk_poller_pause
163
spdk_poller_register
187
spdk_thread_lib_init
292
spdk_thread_get_count
372
_back_to_orig_thread
556
spdk_for_each_thread
556
busy_poller_interrupt_init
642
busy_poller_set_interrupt_mode
642
spdk_thread_get_by_id
659
_thread_remove_pollers
710
_on_thread
763
poller_interrupt_fini
774
spdk_interrupt_register
791
spdk_interrupt_register_for_events
895
spdk_interrupt_register_ext
896
alloc_interrupt
898
spdk_thread_get_name
1071
spdk_thread_send_critical_msg
1214
spdk_poller_register_interrupt
1502
thread_trace
2138
spdk_thread_lib_init_ext
2176
spdk_interrupt_unregister
2231
spdk_thread_lib_fini
2462
_thread_lib_init
2468
io_device_tree_RB_MINMAX
2474
_thread_trace
2753
register_flag_thread
2753
spdk_thread_is_running
3163
_free_thread
6683
spdk_thread_destroy
6691
spdk_thread_create
6794
spdk_thread_exit
6797
spdk_thread_get_stats
7871
spdk_thread_set_cpumask
8142
io_channel_tree_RB_MINMAX
13449
timed_pollers_tree_RB_MINMAX
14440
spdk_thread_next_poller_expiration
16383
spdk_thread_get_app_thread
19961
spdk_thread_get_cpumask
23785
spdk_thread_get_ctx
28648
_finish_unregister
32176
spdk_thread_is_app_thread
34121
io_device_tree_RB_REMOVE_COLOR
34325
io_device_free
40874
io_device_tree_RB_INSERT_COLOR
40877
io_device_tree_RB_REMOVE
40877
spdk_io_device_unregister
40880
io_device_tree_RB_INSERT
40883
spdk_io_device_register
40883
interrupt_timerfd_process
59063
io_channel_tree_RB_REMOVE_COLOR
70466
spdk_thread_get_id
81974
sspin_fini_internal
82706
spdk_spin_destroy
82709
io_channel_tree_RB_REMOVE
83450
io_channel_tree_RB_INSERT
83456
io_channel_tree_RB_INSERT_COLOR
83456
put_io_channel
83524
spdk_spin_init
121428
sspin_init_internal
121428
spdk_poller_register_named
142841
convert_us_to_ticks
143028
poller_register
143028
thread_insert_poller
143128
interrupt_fd_group_wrapper
159292
spdk_put_io_channel
274680
spdk_get_io_channel
274694
spdk_poller_unregister
276167
thread_interrupt_msg_process
477203
thread_exit
490421
spdk_io_channel_iter_get_channel
630130
_call_completion
664632
spdk_for_each_channel
664632
spdk_io_channel_iter_get_io_device
671100
_call_channel
714715
spdk_for_each_channel_continue
714715
io_device_get
980215
io_device_tree_RB_FIND
980215
spdk_io_channel_iter_get_ctx
1290478
spdk_thread_has_active_pollers
1829870
spdk_spin_unlock
2155340
spdk_spin_lock
2155348
io_channel_tree_RB_FIND
3972887
thread_get_io_channel
3972887
io_device_cmp
4292784
spdk_spin_held
7037736
io_channel_cmp
11008252
spdk_io_channel_get_io_device
15590235
spdk_thread_send_msg
17649222
thread_send_msg_notification
17650436
timed_pollers_tree_RB_REMOVE_COLOR
20856294
spdk_io_channel_from_ctx
23729981
thread_execute_timed_poller
24538443
timed_pollers_tree_RB_REMOVE
24545726
poller_insert_timer
24545786
timed_pollers_tree_RB_INSERT
24545786
timed_pollers_tree_RB_INSERT_COLOR
24545786
timed_pollers_tree_RB_NEXT
24553743
thread_has_unpaused_pollers
52138498
spdk_thread_is_idle
52141061
_interrupt_wrapper
97081208
timed_poller_compare
158893348
spdk_set_thread
196744897
spdk_io_channel_get_thread
376776771
spdk_interrupt_mode_is_enabled
492494777
spdk_get_thread
632328913
thread_execute_poller
7333992952
spdk_thread_is_exited
8680482678
spdk_thread_get_last_tsc
8742825424
spdk_thread_poll
8846051324
thread_poll
8846093668
thread_update_stats
8846164970
msg_queue_run_batch
8846758949
_get_thread
9496786844
spdk_thread_get_from_ctx
17320323763
Generated by:
LCOV version 1.14