LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1204
1483
81.2 %
Date:
2024-12-09 03:40:50
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4147
10270
40.4 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
563
_call_channel
679165
_call_completion
585538
_finish_unregister
35688
_free_thread
7485
_get_thread
9301838628
_interrupt_wrapper
264351619
_on_thread
774
_thread_exit
246
_thread_lib_init
2716
_thread_remove_pollers
3008
_thread_trace
3007
busy_poller_interrupt_init
3452
busy_poller_set_interrupt_mode
3452
convert_us_to_ticks
163559
interrupt_timerfd_process
94724
io_channel_cmp
11470600
io_channel_tree_RB_FIND
4275769
io_channel_tree_RB_INSERT
98004
io_channel_tree_RB_INSERT_COLOR
98004
io_channel_tree_RB_MINMAX
15079
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
97996
io_channel_tree_RB_REMOVE_COLOR
82656
io_device_cmp
3848388
io_device_free
45193
io_device_get
940945
io_device_tree_RB_FIND
940945
io_device_tree_RB_INSERT
45205
io_device_tree_RB_INSERT_COLOR
45197
io_device_tree_RB_MINMAX
2724
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
45197
io_device_tree_RB_REMOVE_COLOR
37302
msg_queue_run_batch
8523959988
period_poller_interrupt_init
239
period_poller_set_interrupt_mode
247
poller_insert_timer
26111113
poller_interrupt_fini
3691
poller_register
163557
poller_remove_timer
243
poller_set_interrupt_mode
8
put_io_channel
98063
register_flag_thread
3007
spdk_for_each_channel
585542
spdk_for_each_channel_continue
679165
spdk_for_each_thread
563
spdk_get_io_channel
310190
spdk_get_thread
774197678
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
172351935
spdk_interrupt_register
3721
spdk_interrupt_register_ext
3920
spdk_interrupt_register_for_events
3919
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
5748
spdk_io_channel_from_ctx
20061168
spdk_io_channel_get_io_device
14907840
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
375480537
spdk_io_channel_iter_get_channel
692728
spdk_io_channel_iter_get_ctx
1284198
spdk_io_channel_iter_get_io_device
807813
spdk_io_device_get_name
0
spdk_io_device_register
45205
spdk_io_device_unregister
45201
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
209
spdk_poller_register
243
spdk_poller_register_interrupt
1770
spdk_poller_register_named
163315
spdk_poller_resume
205
spdk_poller_unregister
351306
spdk_put_io_channel
310165
spdk_set_thread
531927509
spdk_spin_destroy
90981
spdk_spin_held
1861082
spdk_spin_init
132569
spdk_spin_lock
1934846
spdk_spin_unlock
1934836
spdk_thread_bind
20
spdk_thread_create
7623
spdk_thread_destroy
7491
spdk_thread_exit
7632
spdk_thread_get_app_thread
22748
spdk_thread_get_by_id
709
spdk_thread_get_count
408
spdk_thread_get_cpumask
29101
spdk_thread_get_ctx
37358
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
16392859629
spdk_thread_get_id
79505
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
8250051760
spdk_thread_get_name
1219
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
8497
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3349576
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36599
spdk_thread_is_bound
126
spdk_thread_is_exited
8237725123
spdk_thread_is_idle
60673879
spdk_thread_is_running
3227
spdk_thread_lib_fini
2708
spdk_thread_lib_init
372
spdk_thread_lib_init_ext
2344
spdk_thread_next_poller_expiration
25023
spdk_thread_poll
8522902146
spdk_thread_send_critical_msg
1333
spdk_thread_send_msg
12937752
spdk_thread_set_cpumask
11836
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
90977
sspin_init_internal
132569
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
6168131808
thread_execute_timed_poller
26102742
thread_exit
3170615
thread_get_io_channel
4275769
thread_has_unpaused_pollers
60672186
thread_insert_poller
163684
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
743985
thread_poll
8523711940
thread_send_msg_notification
12939081
thread_trace
2294
thread_update_stats
8523284360
timed_poller_compare
204562718
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
26111114
timed_pollers_tree_RB_INSERT_COLOR
26111114
timed_pollers_tree_RB_MINMAX
18468
timed_pollers_tree_RB_NEXT
26121974
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
26111032
timed_pollers_tree_RB_REMOVE_COLOR
23297857
wrong_thread
0
Generated by:
LCOV version 1.15