LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1202
1483
81.1 %
Date:
2024-11-20 16:36:33
Functions:
141
163
86.5 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4166
10270
40.6 %
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_active_poller
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
spdk_thread_get_first_active_poller
24
spdk_thread_get_first_paused_poller
24
spdk_thread_get_first_timed_poller
24
spdk_thread_get_next_timed_poller
24
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
40
spdk_poller_get_state_str
44
spdk_thread_is_bound
72
sspin_stack_print
75
thread_interrupt_create
120
thread_interrupt_destroy
120
spdk_thread_set_interrupt_mode
136
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
229
poller_remove_timer
233
period_poller_set_interrupt_mode
237
_thread_exit
242
spdk_poller_register
243
spdk_thread_get_interrupt_fd_group
264
spdk_thread_lib_init
367
spdk_thread_get_by_id
392
spdk_thread_get_count
393
_back_to_orig_thread
517
spdk_for_each_thread
517
_on_thread
631
spdk_thread_get_name
854
spdk_thread_send_critical_msg
1267
busy_poller_interrupt_init
1274
busy_poller_set_interrupt_mode
1274
_thread_remove_pollers
1410
poller_interrupt_fini
1503
spdk_interrupt_register
1531
spdk_interrupt_register_ext
1729
spdk_interrupt_register_for_events
1729
thread_trace
2182
spdk_thread_lib_init_ext
2232
spdk_poller_register_interrupt
2436
spdk_thread_lib_fini
2595
_thread_lib_init
2599
io_device_tree_RB_MINMAX
2611
_thread_trace
2862
register_flag_thread
2862
spdk_thread_is_running
3041
spdk_interrupt_unregister
3603
spdk_thread_get_stats
6718
_free_thread
7038
spdk_thread_destroy
7047
spdk_thread_create
7172
spdk_thread_exit
7188
spdk_thread_set_cpumask
11804
io_channel_tree_RB_MINMAX
14187
timed_pollers_tree_RB_MINMAX
15880
spdk_thread_get_app_thread
22359
spdk_thread_next_poller_expiration
23431
spdk_thread_get_cpumask
27349
_finish_unregister
33809
spdk_thread_is_app_thread
35008
io_device_tree_RB_REMOVE_COLOR
36026
spdk_thread_get_ctx
36256
io_device_free
42982
io_device_tree_RB_INSERT_COLOR
42986
io_device_tree_RB_REMOVE
42986
spdk_io_device_unregister
42990
io_device_tree_RB_INSERT
42994
spdk_io_device_register
42994
spdk_thread_get_id
77108
io_channel_tree_RB_REMOVE_COLOR
80638
interrupt_timerfd_process
84960
sspin_fini_internal
88658
spdk_spin_destroy
88662
io_channel_tree_RB_REMOVE
94828
io_channel_tree_RB_INSERT
94836
io_channel_tree_RB_INSERT_COLOR
94836
put_io_channel
94901
spdk_spin_init
128616
sspin_init_internal
128616
spdk_poller_register_named
153317
poller_register
153560
convert_us_to_ticks
153561
thread_insert_poller
153686
spdk_put_io_channel
301533
spdk_get_io_channel
301554
spdk_poller_unregister
353803
_call_completion
599702
spdk_for_each_channel
599703
_call_channel
688699
spdk_for_each_channel_continue
688699
spdk_io_channel_iter_get_channel
699261
spdk_io_channel_iter_get_io_device
810474
io_device_get
944259
io_device_tree_RB_FIND
944259
thread_interrupt_msg_process
952661
spdk_io_channel_iter_get_ctx
1308448
spdk_spin_held
1824007
spdk_spin_unlock
1898218
spdk_spin_lock
1898229
thread_exit
3380703
spdk_thread_has_active_pollers
3782271
io_device_cmp
3786393
io_channel_tree_RB_FIND
4185071
thread_get_io_channel
4185071
io_channel_cmp
10953691
spdk_thread_send_msg
11149769
thread_send_msg_notification
11151031
spdk_io_channel_get_io_device
13312695
spdk_io_channel_from_ctx
17675978
timed_pollers_tree_RB_REMOVE_COLOR
20333980
thread_execute_timed_poller
23163738
timed_pollers_tree_RB_REMOVE
23171313
poller_insert_timer
23171394
timed_pollers_tree_RB_INSERT
23171394
timed_pollers_tree_RB_INSERT_COLOR
23171394
timed_pollers_tree_RB_NEXT
23179969
thread_has_unpaused_pollers
55190029
spdk_thread_is_idle
55192462
spdk_interrupt_mode_is_enabled
140618166
timed_poller_compare
179446401
_interrupt_wrapper
270508133
spdk_io_channel_get_thread
311020928
spdk_set_thread
544201344
spdk_get_thread
674439255
thread_execute_poller
6511985745
spdk_thread_get_last_tsc
7076105004
spdk_thread_is_exited
7096019205
spdk_thread_poll
7326895210
thread_update_stats
7327148498
thread_poll
7327576898
msg_queue_run_batch
7328575413
_get_thread
8005189120
spdk_thread_get_from_ctx
14114450764
Generated by:
LCOV version 1.15