LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1205
1505
80.1 %
Date:
2024-12-09 12:05:09
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4127
10364
39.8 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
556
_call_channel
627466
_call_completion
536255
_finish_unregister
32251
_free_thread
6891
_get_thread
8724999885
_interrupt_wrapper
271328677
_on_thread
763
_thread_exit
243
_thread_lib_init
2468
_thread_remove_pollers
1273
_thread_trace
2770
busy_poller_interrupt_init
1126
busy_poller_set_interrupt_mode
1126
convert_us_to_ticks
155679
interrupt_timerfd_process
93182
io_channel_cmp
9630069
io_channel_tree_RB_FIND
3667258
io_channel_tree_RB_INSERT
92197
io_channel_tree_RB_INSERT_COLOR
92197
io_channel_tree_RB_MINMAX
13858
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
92191
io_channel_tree_RB_REMOVE_COLOR
78725
io_device_cmp
3473266
io_device_free
41007
io_device_get
871355
io_device_tree_RB_FIND
871355
io_device_tree_RB_INSERT
41016
io_device_tree_RB_INSERT_COLOR
41010
io_device_tree_RB_MINMAX
2474
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
41010
io_device_tree_RB_REMOVE_COLOR
34367
msg_queue_run_batch
7985057076
period_poller_interrupt_init
237
period_poller_set_interrupt_mode
243
poller_insert_timer
25171829
poller_interrupt_fini
1363
poller_register
155676
poller_remove_timer
240
poller_set_interrupt_mode
6
put_io_channel
92255
register_flag_thread
2770
spdk_for_each_channel
536256
spdk_for_each_channel_continue
627466
spdk_for_each_thread
556
spdk_get_io_channel
294076
spdk_get_thread
722970141
spdk_interrupt_mode_enable
38
spdk_interrupt_mode_is_enabled
155134895
spdk_interrupt_register
1390
spdk_interrupt_register_ext
1589
spdk_interrupt_register_for_events
1588
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3430
spdk_io_channel_from_ctx
19223605
spdk_io_channel_get_io_device
11983415
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
335672318
spdk_io_channel_iter_get_channel
642068
spdk_io_channel_iter_get_ctx
1183092
spdk_io_channel_iter_get_io_device
643421
spdk_io_device_get_name
0
spdk_io_device_register
41016
spdk_io_device_unregister
41013
spdk_poller_get_id
15
spdk_poller_get_name
12
spdk_poller_get_period_ticks
12
spdk_poller_get_state_str
33
spdk_poller_get_stats
12
spdk_poller_pause
168
spdk_poller_register
181
spdk_poller_register_interrupt
1673
spdk_poller_register_named
155496
spdk_poller_resume
165
spdk_poller_unregister
372770
spdk_put_io_channel
294050
spdk_set_thread
545772393
spdk_spin_destroy
85838
spdk_spin_held
1832909
spdk_spin_init
124439
spdk_spin_lock
2054066
spdk_spin_unlock
2054058
spdk_thread_bind
19
spdk_thread_create
6992
spdk_thread_destroy
6894
spdk_thread_exit
6999
spdk_thread_get_app_thread
19751
spdk_thread_get_by_id
653
spdk_thread_get_count
366
spdk_thread_get_cpumask
28045
spdk_thread_get_ctx
36703
spdk_thread_get_first_active_poller
120
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
120
spdk_thread_get_first_timed_poller
120
spdk_thread_get_from_ctx
15417361172
spdk_thread_get_id
78984
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
256
spdk_thread_get_last_tsc
7739303572
spdk_thread_get_name
1202
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
72
spdk_thread_get_stats
8165
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
2488033
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
34281
spdk_thread_is_bound
114
spdk_thread_is_exited
7740991509
spdk_thread_is_idle
57423713
spdk_thread_is_running
3066
spdk_thread_lib_fini
2462
spdk_thread_lib_init
291
spdk_thread_lib_init_ext
2177
spdk_thread_next_poller_expiration
24618
spdk_thread_poll
7983477165
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1284
spdk_thread_send_msg
20737130
spdk_thread_set_cpumask
11940
spdk_thread_set_interrupt_mode
131
sspin_fini_internal
85835
sspin_init_internal
124439
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
5637865434
thread_execute_timed_poller
25163688
thread_exit
2303057
thread_get_io_channel
3667258
thread_has_unpaused_pollers
57421834
thread_insert_poller
155783
thread_interrupt_create
119
thread_interrupt_destroy
119
thread_interrupt_msg_process
900324
thread_poll
7983865918
thread_run_pp_handlers
0
thread_send_msg_notification
20738411
thread_trace
2139
thread_update_stats
7983332807
timed_poller_compare
197136281
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
25171830
timed_pollers_tree_RB_INSERT_COLOR
25171829
timed_pollers_tree_RB_MINMAX
15500
timed_pollers_tree_RB_NEXT
25180813
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
25171769
timed_pollers_tree_RB_REMOVE_COLOR
22402789
wrong_thread
0
Generated by:
LCOV version 1.15