LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1194
1468
81.3 %
Date:
2024-12-09 06:51:10
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3976
10270
38.7 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
563
_call_channel
648426
_call_completion
556318
_finish_unregister
33248
_free_thread
7078
_get_thread
8627987069
_interrupt_wrapper
283968125
_on_thread
770
_thread_exit
245
_thread_lib_init
2581
_thread_remove_pollers
1248
_thread_trace
2907
busy_poller_interrupt_init
1068
busy_poller_set_interrupt_mode
1068
convert_us_to_ticks
156638
interrupt_timerfd_process
96536
io_channel_cmp
9792780
io_channel_tree_RB_FIND
3723146
io_channel_tree_RB_INSERT
94014
io_channel_tree_RB_INSERT_COLOR
94014
io_channel_tree_RB_MINMAX
14241
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
94008
io_channel_tree_RB_REMOVE_COLOR
80233
io_device_cmp
3607190
io_device_free
42427
io_device_get
898118
io_device_tree_RB_FIND
898118
io_device_tree_RB_INSERT
42436
io_device_tree_RB_INSERT_COLOR
42430
io_device_tree_RB_MINMAX
2590
io_device_tree_RB_NEXT
27
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
42430
io_device_tree_RB_REMOVE_COLOR
35690
msg_queue_run_batch
7962797144
period_poller_interrupt_init
239
period_poller_set_interrupt_mode
247
poller_insert_timer
20413459
poller_interrupt_fini
1307
poller_register
156638
poller_remove_timer
243
poller_set_interrupt_mode
8
put_io_channel
94076
register_flag_thread
2907
spdk_for_each_channel
556318
spdk_for_each_channel_continue
648426
spdk_for_each_thread
563
spdk_get_io_channel
299357
spdk_get_thread
654213232
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
150618672
spdk_interrupt_register
1337
spdk_interrupt_register_ext
1536
spdk_interrupt_register_for_events
1535
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3407
spdk_io_channel_from_ctx
15263368
spdk_io_channel_get_io_device
10518100
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
281553234
spdk_io_channel_iter_get_channel
662672
spdk_io_channel_iter_get_ctx
1227559
spdk_io_channel_iter_get_io_device
696399
spdk_io_device_get_name
0
spdk_io_device_register
42436
spdk_io_device_unregister
42434
spdk_poller_get_id
17
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_state_str
35
spdk_poller_get_stats
14
spdk_poller_pause
168
spdk_poller_register
187
spdk_poller_register_interrupt
2506
spdk_poller_register_named
156451
spdk_poller_resume
165
spdk_poller_unregister
369299
spdk_put_io_channel
299343
spdk_set_thread
571713315
spdk_spin_destroy
87163
spdk_spin_held
1536289
spdk_spin_init
128219
spdk_spin_lock
1768936
spdk_spin_unlock
1768928
spdk_thread_bind
19
spdk_thread_create
7186
spdk_thread_destroy
7085
spdk_thread_exit
7192
spdk_thread_get_app_thread
20635
spdk_thread_get_by_id
611
spdk_thread_get_count
377
spdk_thread_get_cpumask
28050
spdk_thread_get_ctx
36396
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
15436661337
spdk_thread_get_id
81280
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
7730885093
spdk_thread_get_name
1215
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
8174
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
1824436
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
35712
spdk_thread_is_bound
113
spdk_thread_is_exited
7743625147
spdk_thread_is_idle
59262751
spdk_thread_is_running
3153
spdk_thread_lib_fini
2578
spdk_thread_lib_init
292
spdk_thread_lib_init_ext
2289
spdk_thread_next_poller_expiration
24087
spdk_thread_poll
7961407426
spdk_thread_send_critical_msg
1312
spdk_thread_send_msg
11646931
spdk_thread_set_cpumask
11614
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
87160
sspin_init_internal
128219
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
7012673007
thread_execute_timed_poller
20405306
thread_exit
3244072
thread_get_io_channel
3723146
thread_has_unpaused_pollers
59260625
thread_insert_poller
156743
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
1231891
thread_poll
7961410225
thread_send_msg_notification
11648242
thread_trace
2250
thread_update_stats
7961246306
timed_poller_compare
140998858
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
20413459
timed_pollers_tree_RB_INSERT_COLOR
20413459
timed_pollers_tree_RB_MINMAX
15865
timed_pollers_tree_RB_NEXT
20422447
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
20413398
timed_pollers_tree_RB_REMOVE_COLOR
17449710
wrong_thread
0
Generated by:
LCOV version 1.15