LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
929
1309
71.0 %
Date:
2024-11-17 17:31:13
Functions:
115
151
76.2 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
772
1156
66.8 %
Function Name
Hit count
__pending_unregister
1
__posix_abort
0
_back_to_orig_thread
2
_call_channel
58170
_call_completion
57512
_finish_unregister
2223
_free_thread
397
_get_thread
418856307
_interrupt_wrapper
0
_on_thread
6
_thread_exit
0
_thread_lib_init
131
_thread_remove_pollers
0
_thread_trace
101
busy_poller_interrupt_init
0
busy_poller_set_interrupt_mode
0
convert_us_to_ticks
4192
io_channel_cmp
1520087
io_channel_tree_RB_FIND
588873
io_channel_tree_RB_INSERT
4109
io_channel_tree_RB_INSERT_COLOR
4109
io_channel_tree_RB_MINMAX
820
io_channel_tree_RB_NEXT
0
io_channel_tree_RB_REMOVE
4107
io_channel_tree_RB_REMOVE_COLOR
2668
io_device_cmp
249450
io_device_free
2549
io_device_get
71828
io_device_tree_RB_FIND
71828
io_device_tree_RB_INSERT
2552
io_device_tree_RB_INSERT_COLOR
2550
io_device_tree_RB_MINMAX
134
io_device_tree_RB_NEXT
9
io_device_tree_RB_REMOVE
2550
io_device_tree_RB_REMOVE_COLOR
1591
msg_queue_run_batch
366223364
period_poller_interrupt_init
0
period_poller_set_interrupt_mode
0
poller_insert_timer
7302307
poller_interrupt_fini
0
poller_register
4192
poller_remove_timer
0
poller_set_interrupt_mode
0
put_io_channel
4107
register_flag_thread
101
spdk_for_each_channel
57514
spdk_for_each_channel_continue
58170
spdk_for_each_thread
2
spdk_get_io_channel
11760
spdk_get_thread
57701758
spdk_interrupt_mode_enable
0
spdk_interrupt_mode_is_enabled
207006
spdk_interrupt_register
0
spdk_interrupt_register_ext
0
spdk_interrupt_register_for_events
0
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
8
spdk_io_channel_from_ctx
2250242
spdk_io_channel_get_io_device
2192179
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
52179784
spdk_io_channel_iter_get_channel
57636
spdk_io_channel_iter_get_ctx
115106
spdk_io_channel_iter_get_io_device
113119
spdk_io_device_get_name
0
spdk_io_device_register
2552
spdk_io_device_unregister
2551
spdk_poller_get_id
3
spdk_poller_get_name
2
spdk_poller_get_period_ticks
2
spdk_poller_get_state_str
9
spdk_poller_get_stats
2
spdk_poller_pause
41
spdk_poller_register
56
spdk_poller_register_interrupt
47
spdk_poller_register_named
4136
spdk_poller_resume
40
spdk_poller_unregister
6596
spdk_put_io_channel
11756
spdk_set_thread
312103
spdk_spin_destroy
3612
spdk_spin_held
32042
spdk_spin_init
4170
spdk_spin_lock
145621
spdk_spin_unlock
145619
spdk_thread_bind
1
spdk_thread_create
423
spdk_thread_destroy
398
spdk_thread_exit
433
spdk_thread_get_app_thread
2032
spdk_thread_get_by_id
9
spdk_thread_get_count
29
spdk_thread_get_cpumask
684
spdk_thread_get_ctx
485
spdk_thread_get_first_active_poller
0
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
0
spdk_thread_get_first_timed_poller
0
spdk_thread_get_from_ctx
643906435
spdk_thread_get_id
25
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
0
spdk_thread_get_last_tsc
322477728
spdk_thread_get_name
4
spdk_thread_get_next_active_poller
0
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
spdk_thread_get_next_timed_poller
0
spdk_thread_get_stats
258
spdk_thread_get_trace_id
0
spdk_thread_has_active_pollers
2233497
spdk_thread_has_pollers
2
spdk_thread_is_app_thread
909
spdk_thread_is_bound
8
spdk_thread_is_exited
337635514
spdk_thread_is_idle
4916908
spdk_thread_is_running
72
spdk_thread_lib_fini
130
spdk_thread_lib_init
75
spdk_thread_lib_init_ext
56
spdk_thread_next_poller_expiration
0
spdk_thread_poll
365331940
spdk_thread_send_critical_msg
22
spdk_thread_send_msg
195653
spdk_thread_set_cpumask
2
spdk_thread_set_interrupt_mode
0
sspin_fini_internal
3611
sspin_init_internal
4170
sspin_stack_print
18
sspin_stacks_print
6
thread_execute_poller
336376678
thread_execute_timed_poller
7302216
thread_exit
1019300
thread_get_io_channel
588873
thread_has_unpaused_pollers
4915842
thread_insert_poller
4212
thread_interrupt_create
0
thread_interrupt_destroy
0
thread_poll
365958213
thread_send_msg_notification
195675
thread_trace
45
thread_update_stats
365668277
timed_poller_compare
76530305
timed_pollers_tree_RB_INSERT
7302308
timed_pollers_tree_RB_INSERT_COLOR
7302308
timed_pollers_tree_RB_MINMAX
826
timed_pollers_tree_RB_NEXT
7302383
timed_pollers_tree_RB_REMOVE
7302286
timed_pollers_tree_RB_REMOVE_COLOR
7266821
wrong_thread
0
Generated by:
LCOV version 1.14