LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1248
1546
80.7 %
Date:
2024-12-13 21:16:59
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4465
10305
43.3 %
Function Name
Hit count
__pending_unregister
6
__posix_abort
0
_back_to_orig_thread
476
_call_channel
748694
_call_completion
676052
_finish_unregister
38120
_free_thread
8695
_get_thread
8234251247
_interrupt_wrapper
4993327
_on_thread
688
_thread_exit
17
_thread_lib_init
3401
_thread_remove_pollers
140
_thread_trace
3248
busy_poller_interrupt_init
154
busy_poller_set_interrupt_mode
154
convert_us_to_ticks
291873
interrupt_timerfd_process
8965
io_channel_cmp
11252677
io_channel_tree_RB_FIND
4035024
io_channel_tree_RB_INSERT
101522
io_channel_tree_RB_INSERT_COLOR
101522
io_channel_tree_RB_MINMAX
17545
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_channel_tree_RB_REMOVE
101522
io_channel_tree_RB_REMOVE_COLOR
80753
io_device_cmp
4251296
io_device_free
47937
io_device_get
1021220
io_device_tree_RB_FIND
1021220
io_device_tree_RB_INSERT
47949
io_device_tree_RB_INSERT_COLOR
47937
io_device_tree_RB_MINMAX
3419
io_device_tree_RB_NEXT
54
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
47937
io_device_tree_RB_REMOVE_COLOR
38022
msg_queue_run_batch
7780654516
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
22056260
poller_interrupt_fini
169
poller_register
291873
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
101574
register_flag_thread
3248
spdk_for_each_channel
676052
spdk_for_each_channel_continue
748694
spdk_for_each_thread
476
spdk_get_io_channel
297207
spdk_get_thread
444869068
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
8889948
spdk_interrupt_register
187
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
627
spdk_io_channel_from_ctx
28724751
spdk_io_channel_get_io_device
22698340
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
379382317
spdk_io_channel_iter_get_channel
813151
spdk_io_channel_iter_get_ctx
1347748
spdk_io_channel_iter_get_io_device
671077
spdk_io_device_get_name
0
spdk_io_device_register
47949
spdk_io_device_unregister
47943
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_poller_pause
254
spdk_poller_register
310
spdk_poller_register_interrupt
770
spdk_poller_register_named
291563
spdk_poller_resume
194
spdk_poller_unregister
697430
spdk_put_io_channel
297189
spdk_set_thread
72106896
spdk_spin_destroy
77537
spdk_spin_held
3351444
spdk_spin_init
112855
spdk_spin_lock
2610253
spdk_spin_unlock
2610245
spdk_thread_bind
22
spdk_thread_create
8905
spdk_thread_destroy
8705
spdk_thread_exit
8902
spdk_thread_get_app_thread
28735
spdk_thread_get_by_id
559
spdk_thread_get_count
341
spdk_thread_get_cpumask
28505
spdk_thread_get_ctx
39212
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_get_from_ctx
15166056008
spdk_thread_get_id
72818
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
7589415702
spdk_thread_get_name
536
spdk_thread_get_next_active_poller
96
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
spdk_thread_get_next_timed_poller
78
spdk_thread_get_stats
9059
spdk_thread_has_active_pollers
2058815
spdk_thread_has_pollers
12
spdk_thread_is_app_thread
35851
spdk_thread_is_bound
107
spdk_thread_is_exited
7601536155
spdk_thread_is_idle
57860993
spdk_thread_is_running
3820
spdk_thread_lib_fini
3395
spdk_thread_lib_init
478
spdk_thread_lib_init_ext
2923
spdk_thread_next_poller_expiration
47673
spdk_thread_poll
7780453486
spdk_thread_send_critical_msg
1197
spdk_thread_send_msg
8247893
spdk_thread_set_cpumask
11892
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
77531
sspin_init_internal
112855
sspin_stack_print
102
sspin_stacks_print
34
thread_execute_poller
9868461367
thread_execute_timed_poller
22048675
thread_exit
524756
thread_get_io_channel
4035024
thread_has_unpaused_pollers
57860538
thread_insert_poller
292013
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
634
thread_poll
7780450935
thread_send_msg_notification
8249090
thread_trace
2860
thread_update_stats
7780464874
timed_poller_compare
138115392
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
22056260
timed_pollers_tree_RB_INSERT_COLOR
22056260
timed_pollers_tree_RB_MINMAX
17872
timed_pollers_tree_RB_NEXT
22064185
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
22056140
timed_pollers_tree_RB_REMOVE_COLOR
17832778
wrong_thread
0
Generated by:
LCOV version 1.15