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-19 23:22:46
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4196
10270
40.9 %
Function Name
Hit count
__posix_abort
0
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_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
spdk_interrupt_set_event_types
0
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_device_get_name
0
spdk_thread_get_first_io_channel
0
spdk_thread_get_interrupt_fd
0
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
wrong_thread
0
__pending_unregister
4
spdk_thread_get_trace_id
6
poller_set_interrupt_mode
8
spdk_thread_has_pollers
8
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_stats
16
spdk_poller_get_id
20
spdk_thread_bind
20
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
41
spdk_poller_get_state_str
44
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
thread_interrupt_create
122
thread_interrupt_destroy
122
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_is_bound
134
spdk_thread_set_interrupt_mode
138
spdk_poller_resume
205
spdk_poller_pause
209
period_poller_interrupt_init
241
spdk_poller_register
243
poller_remove_timer
245
_thread_exit
248
period_poller_set_interrupt_mode
249
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
356
spdk_thread_get_count
410
_back_to_orig_thread
558
spdk_for_each_thread
558
spdk_thread_get_by_id
654
_on_thread
767
busy_poller_interrupt_init
1100
busy_poller_set_interrupt_mode
1100
spdk_thread_get_name
1228
_thread_remove_pollers
1272
spdk_thread_send_critical_msg
1334
poller_interrupt_fini
1341
spdk_interrupt_register
1371
spdk_interrupt_register_for_events
1569
spdk_interrupt_register_ext
1570
thread_trace
2296
spdk_thread_lib_init_ext
2346
spdk_poller_register_interrupt
2586
spdk_thread_lib_fini
2698
_thread_lib_init
2702
io_device_tree_RB_MINMAX
2714
_thread_trace
3033
register_flag_thread
3033
spdk_thread_is_running
3479
spdk_interrupt_unregister
3503
_free_thread
7404
spdk_thread_destroy
7411
spdk_thread_create
7538
spdk_thread_exit
7551
spdk_thread_get_stats
8431
spdk_thread_set_cpumask
11904
io_channel_tree_RB_MINMAX
14917
timed_pollers_tree_RB_MINMAX
16575
spdk_thread_get_app_thread
22002
spdk_thread_next_poller_expiration
22987
spdk_thread_get_cpumask
28024
_finish_unregister
35088
spdk_thread_is_app_thread
36593
spdk_thread_get_ctx
37367
io_device_tree_RB_REMOVE_COLOR
37415
io_device_free
44507
io_device_tree_RB_INSERT_COLOR
44511
io_device_tree_RB_REMOVE
44511
spdk_io_device_unregister
44515
io_device_tree_RB_INSERT
44519
spdk_io_device_register
44519
sspin_fini_internal
76576
spdk_spin_destroy
76580
io_channel_tree_RB_REMOVE_COLOR
84169
spdk_thread_get_id
89273
interrupt_timerfd_process
95068
io_channel_tree_RB_REMOVE
98429
io_channel_tree_RB_INSERT
98437
io_channel_tree_RB_INSERT_COLOR
98437
put_io_channel
98503
spdk_spin_init
117765
sspin_init_internal
117765
spdk_poller_register_named
158051
convert_us_to_ticks
158294
poller_register
158295
thread_insert_poller
158419
spdk_put_io_channel
313581
spdk_get_io_channel
313601
spdk_poller_unregister
379113
spdk_io_channel_iter_get_io_device
794086
_call_completion
804515
spdk_for_each_channel
804515
spdk_io_channel_iter_get_channel
813602
_call_channel
895800
spdk_for_each_channel_continue
895800
thread_interrupt_msg_process
897487
thread_exit
1150376
io_device_get
1162643
io_device_tree_RB_FIND
1162643
spdk_io_channel_iter_get_ctx
1630704
spdk_spin_unlock
2499972
spdk_spin_lock
2499983
spdk_spin_held
3445959
spdk_thread_has_active_pollers
3757227
io_device_cmp
4852034
io_channel_tree_RB_FIND
4930894
thread_get_io_channel
4930894
io_channel_cmp
13207201
spdk_thread_send_msg
18525944
thread_send_msg_notification
18527276
spdk_io_channel_get_io_device
19119772
timed_pollers_tree_RB_REMOVE_COLOR
26660479
spdk_io_channel_from_ctx
26735176
thread_execute_timed_poller
30526843
timed_pollers_tree_RB_REMOVE
30535591
poller_insert_timer
30535675
timed_pollers_tree_RB_INSERT
30535675
timed_pollers_tree_RB_INSERT_COLOR
30535675
timed_pollers_tree_RB_NEXT
30545263
thread_has_unpaused_pollers
59352279
spdk_thread_is_idle
59355039
spdk_interrupt_mode_is_enabled
92994860
timed_poller_compare
219154702
_interrupt_wrapper
227788634
spdk_io_channel_get_thread
442167550
spdk_set_thread
458662331
spdk_get_thread
856963575
spdk_thread_is_exited
9155497102
spdk_thread_get_last_tsc
9222307906
thread_poll
9382012547
thread_update_stats
9382212333
spdk_thread_poll
9382289827
msg_queue_run_batch
9383992048
thread_execute_poller
9419042009
_get_thread
10253365177
spdk_thread_get_from_ctx
18241718439
Generated by:
LCOV version 1.14