LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1234
1547
79.8 %
Date:
2024-12-13 10:52:34
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4196
10466
40.1 %
Function Name
Hit count
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
612
_call_channel
859831
_call_completion
763614
_finish_unregister
38717
_free_thread
8099
_get_thread
10487990591
_interrupt_wrapper
241312981
_on_thread
823
_thread_exit
244
_thread_lib_init
2902
_thread_remove_pollers
1669
_thread_trace
3264
alloc_interrupt
2060
busy_poller_interrupt_init
1591
busy_poller_set_interrupt_mode
1591
convert_us_to_ticks
176258
interrupt_fd_group_wrapper
161537
interrupt_timerfd_process
98489
io_channel_cmp
12717441
io_channel_tree_RB_FIND
4809474
io_channel_tree_RB_INSERT
115139
io_channel_tree_RB_INSERT_COLOR
115139
io_channel_tree_RB_MINMAX
16307
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
115131
io_channel_tree_RB_REMOVE_COLOR
99085
io_device_cmp
4920665
io_device_free
48872
io_device_get
1192328
io_device_tree_RB_FIND
1192328
io_device_tree_RB_INSERT
48884
io_device_tree_RB_INSERT_COLOR
48876
io_device_tree_RB_MINMAX
2910
io_device_tree_RB_NEXT
36
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
48876
io_device_tree_RB_REMOVE_COLOR
40640
msg_queue_run_batch
9592283476
period_poller_interrupt_init
240
period_poller_set_interrupt_mode
248
poller_insert_timer
27759606
poller_interrupt_fini
1831
poller_register
176259
poller_remove_timer
244
poller_set_interrupt_mode
8
put_io_channel
115225
register_flag_thread
3264
spdk_for_each_channel
763613
spdk_for_each_channel_continue
859831
spdk_for_each_thread
612
spdk_get_io_channel
379820
spdk_get_thread
880399392
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
385535118
spdk_interrupt_register
1859
spdk_interrupt_register_ext
2058
spdk_interrupt_register_fd_group
2
spdk_interrupt_register_for_events
2057
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
4011
spdk_io_channel_from_ctx
24946198
spdk_io_channel_get_io_device
17529582
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
458829207
spdk_io_channel_iter_get_channel
790066
spdk_io_channel_iter_get_ctx
1573025
spdk_io_channel_iter_get_io_device
806490
spdk_io_device_get_name
0
spdk_io_device_register
48884
spdk_io_device_unregister
48881
spdk_poller_get_id
20
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_state_str
44
spdk_poller_get_stats
16
spdk_poller_pause
213
spdk_poller_register
243
spdk_poller_register_interrupt
2004
spdk_poller_register_named
176016
spdk_poller_resume
209
spdk_poller_unregister
363107
spdk_put_io_channel
379798
spdk_set_thread
486238171
spdk_spin_destroy
100835
spdk_spin_held
8205167
spdk_spin_init
145491
spdk_spin_lock
2817080
spdk_spin_unlock
2817070
spdk_thread_bind
20
spdk_thread_create
8237
spdk_thread_destroy
8107
spdk_thread_exit
8248
spdk_thread_get_app_thread
23023
spdk_thread_get_by_id
711
spdk_thread_get_count
421
spdk_thread_get_cpumask
34230
spdk_thread_get_ctx
46226
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
18706366047
spdk_thread_get_id
97684
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
9435223809
spdk_thread_get_name
1389
spdk_thread_get_next_active_poller
48
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
9231
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3900796
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
39832
spdk_thread_is_bound
132
spdk_thread_is_exited
9388907612
spdk_thread_is_idle
152472856
spdk_thread_is_running
3236
spdk_thread_lib_fini
2894
spdk_thread_lib_init
376
spdk_thread_lib_init_ext
2526
spdk_thread_next_poller_expiration
23640
spdk_thread_poll
9591366829
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1475
spdk_thread_send_msg
19240446
spdk_thread_set_cpumask
15688
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
100831
sspin_init_internal
145491
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
8881159680
thread_execute_timed_poller
27750975
thread_exit
3496351
thread_get_io_channel
4809474
thread_has_unpaused_pollers
152470304
thread_insert_poller
176388
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
776699
thread_poll
9591508255
thread_run_pp_handlers
0
thread_send_msg_notification
19241919
thread_trace
2475
thread_update_stats
9591408077
timed_poller_compare
176128041
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
27759606
timed_pollers_tree_RB_INSERT_COLOR
27759606
timed_pollers_tree_RB_MINMAX
18364
timed_pollers_tree_RB_NEXT
27769738
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
27759525
timed_pollers_tree_RB_REMOVE_COLOR
23402188
wrong_thread
0
Generated by:
LCOV version 1.15