LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1086
1303
83.3 %
Date:
2024-07-15 19:04:35
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
772
1126
68.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_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
3
spdk_thread_has_pollers
6
poller_set_interrupt_mode
8
spdk_poller_get_id
8
spdk_poller_get_name
8
spdk_poller_get_period_ticks
8
spdk_poller_get_state_str
8
spdk_poller_get_stats
8
spdk_interrupt_mode_enable
13
period_poller_interrupt_init
15
_thread_exit
17
thread_interrupt_create
17
thread_interrupt_destroy
17
sspin_stacks_print
18
poller_remove_timer
19
spdk_thread_bind
19
period_poller_set_interrupt_mode
23
io_device_tree_RB_NEXT
27
spdk_thread_set_interrupt_mode
33
sspin_stack_print
54
spdk_thread_get_interrupt_fd_group
58
spdk_thread_is_bound
75
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
spdk_poller_resume
110
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_poller_pause
140
_thread_remove_pollers
143
busy_poller_interrupt_init
155
busy_poller_set_interrupt_mode
155
spdk_poller_register
156
poller_interrupt_fini
170
spdk_interrupt_register
188
spdk_thread_lib_init
254
spdk_thread_get_count
273
spdk_interrupt_unregister
333
_back_to_orig_thread
446
spdk_for_each_thread
446
spdk_thread_get_by_id
483
spdk_thread_get_name
536
_on_thread
582
thread_interrupt_msg_process
634
spdk_poller_register_interrupt
788
spdk_thread_send_critical_msg
1245
thread_trace
2883
spdk_thread_lib_init_ext
2917
_thread_trace
3148
register_flag_thread
3148
spdk_thread_lib_fini
3168
_thread_lib_init
3171
io_device_tree_RB_MINMAX
3180
spdk_thread_is_running
3679
interrupt_timerfd_process
8163
_free_thread
8355
spdk_thread_destroy
8361
spdk_thread_create
8460
spdk_thread_exit
8467
spdk_thread_get_stats
9021
spdk_thread_set_cpumask
15894
io_channel_tree_RB_MINMAX
16788
timed_pollers_tree_RB_MINMAX
17100
spdk_thread_get_app_thread
24297
_finish_unregister
32626
spdk_thread_get_cpumask
33476
io_device_tree_RB_REMOVE_COLOR
34510
spdk_thread_is_app_thread
35796
io_device_free
41967
io_device_tree_RB_INSERT_COLOR
41967
io_device_tree_RB_REMOVE
41967
spdk_io_device_unregister
41970
io_device_tree_RB_INSERT
41973
spdk_io_device_register
41973
spdk_thread_get_ctx
47386
spdk_thread_next_poller_expiration
47729
spdk_thread_get_id
79438
io_channel_tree_RB_REMOVE_COLOR
91033
sspin_fini_internal
92256
spdk_spin_destroy
92259
io_channel_tree_RB_INSERT
105895
io_channel_tree_RB_INSERT_COLOR
105895
io_channel_tree_RB_REMOVE
105895
put_io_channel
105953
spdk_spin_init
127997
sspin_init_internal
127997
spdk_poller_register_named
279080
convert_us_to_ticks
279236
poller_register
279236
thread_insert_poller
279319
spdk_put_io_channel
333262
spdk_get_io_channel
333271
spdk_poller_unregister
649535
_call_completion
680530
spdk_for_each_channel
680530
spdk_io_channel_iter_get_io_device
695720
_call_channel
756070
spdk_for_each_channel_continue
756070
spdk_io_channel_iter_get_channel
808778
io_device_get
1055780
io_device_tree_RB_FIND
1055780
spdk_io_channel_iter_get_ctx
1370439
spdk_thread_has_active_pollers
1916454
_interrupt_wrapper
2950973
thread_exit
3652298
spdk_spin_unlock
3704216
spdk_spin_lock
3704222
io_channel_tree_RB_FIND
4119321
thread_get_io_channel
4119321
io_device_cmp
4500357
spdk_thread_send_msg
9396699
thread_send_msg_notification
9397944
spdk_interrupt_mode_is_enabled
10012632
spdk_spin_held
10313328
io_channel_cmp
11000896
spdk_io_channel_get_io_device
16553915
timed_pollers_tree_RB_REMOVE_COLOR
16760416
spdk_io_channel_from_ctx
21185513
thread_execute_timed_poller
21496374
timed_pollers_tree_RB_REMOVE
21500884
poller_insert_timer
21500944
timed_pollers_tree_RB_INSERT
21500944
timed_pollers_tree_RB_INSERT_COLOR
21500944
timed_pollers_tree_RB_NEXT
21506010
spdk_set_thread
62899250
spdk_thread_is_idle
72625354
thread_has_unpaused_pollers
72625360
timed_poller_compare
123760214
spdk_io_channel_get_thread
399950326
spdk_get_thread
474406053
spdk_thread_get_last_tsc
8051297195
spdk_thread_is_exited
8067366232
spdk_thread_poll
8238567220
thread_poll
8238567220
thread_update_stats
8238567220
msg_queue_run_batch
8238567731
_get_thread
8723426388
thread_execute_poller
10813332014
spdk_thread_get_from_ctx
16097919207
Generated by:
LCOV version 1.14