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-11-20 09:48:13
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4186
10270
40.8 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
533
_call_channel
633059
_call_completion
550778
_finish_unregister
33130
_free_thread
7035
_get_thread
7719603805
_interrupt_wrapper
255727555
_on_thread
744
_thread_exit
247
_thread_lib_init
2594
_thread_remove_pollers
1485
_thread_trace
2867
busy_poller_interrupt_init
1385
busy_poller_set_interrupt_mode
1385
convert_us_to_ticks
156125
interrupt_timerfd_process
92372
io_channel_cmp
10847895
io_channel_tree_RB_FIND
4053549
io_channel_tree_RB_INSERT
82567
io_channel_tree_RB_INSERT_COLOR
82567
io_channel_tree_RB_MINMAX
14181
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
82559
io_channel_tree_RB_REMOVE_COLOR
68764
io_device_cmp
3460107
io_device_free
42172
io_device_get
839409
io_device_tree_RB_FIND
839409
io_device_tree_RB_INSERT
42184
io_device_tree_RB_INSERT_COLOR
42176
io_device_tree_RB_MINMAX
2606
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
42176
io_device_tree_RB_REMOVE_COLOR
35245
msg_queue_run_batch
7074154722
period_poller_interrupt_init
237
period_poller_set_interrupt_mode
245
poller_insert_timer
25148152
poller_interrupt_fini
1622
poller_register
156123
poller_remove_timer
241
poller_set_interrupt_mode
8
put_io_channel
82626
register_flag_thread
2867
spdk_for_each_channel
550779
spdk_for_each_channel_continue
633059
spdk_for_each_thread
533
spdk_get_io_channel
246438
spdk_get_thread
639962182
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
170770299
spdk_interrupt_register
1652
spdk_interrupt_register_ext
1851
spdk_interrupt_register_for_events
1850
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3760
spdk_io_channel_from_ctx
16464643
spdk_io_channel_get_io_device
11962267
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
287195829
spdk_io_channel_iter_get_channel
647691
spdk_io_channel_iter_get_ctx
1190912
spdk_io_channel_iter_get_io_device
804619
spdk_io_device_get_name
0
spdk_io_device_register
42184
spdk_io_device_unregister
42180
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
208
spdk_poller_register
243
spdk_poller_register_interrupt
2399
spdk_poller_register_named
155882
spdk_poller_resume
204
spdk_poller_unregister
304130
spdk_put_io_channel
246414
spdk_set_thread
514762713
spdk_spin_destroy
83718
spdk_spin_held
1835679
spdk_spin_init
123160
spdk_spin_lock
1954163
spdk_spin_unlock
1954153
spdk_thread_bind
20
spdk_thread_create
7169
spdk_thread_destroy
7044
spdk_thread_exit
7184
spdk_thread_get_app_thread
21415
spdk_thread_get_by_id
670
spdk_thread_get_count
402
spdk_thread_get_cpumask
23779
spdk_thread_get_ctx
28208
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
13596307704
spdk_thread_get_id
73895
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
6825983158
spdk_thread_get_name
1068
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
8032
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3784767
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
34700
spdk_thread_is_bound
124
spdk_thread_is_exited
6836046031
spdk_thread_is_idle
52969360
spdk_thread_is_running
2993
spdk_thread_lib_fini
2590
spdk_thread_lib_init
356
spdk_thread_lib_init_ext
2238
spdk_thread_next_poller_expiration
22620
spdk_thread_poll
7072627877
spdk_thread_send_critical_msg
1254
spdk_thread_send_msg
11147633
spdk_thread_set_cpumask
7688
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
83714
sspin_init_internal
123160
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
6149736329
thread_execute_timed_poller
25140780
thread_exit
3799744
thread_get_io_channel
4053549
thread_has_unpaused_pollers
52967602
thread_insert_poller
156249
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
1014023
thread_poll
7073331423
thread_send_msg_notification
11148887
thread_trace
2189
thread_update_stats
7072941145
timed_poller_compare
194138171
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
25148153
timed_pollers_tree_RB_INSERT_COLOR
25148153
timed_pollers_tree_RB_MINMAX
16052
timed_pollers_tree_RB_NEXT
25156570
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
25148069
timed_pollers_tree_RB_REMOVE_COLOR
22294440
wrong_thread
0
Generated by:
LCOV version 1.15