LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1084
1303
83.2 %
Date:
2024-07-12 18:13:41
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
773
1126
68.7 %
Function Name
Hit count
__pending_unregister
6
__posix_abort
0
_back_to_orig_thread
434
_call_channel
744694
_call_completion
688137
_finish_unregister
38960
_free_thread
8669
_get_thread
7955101342
_interrupt_wrapper
4769062
_on_thread
582
_thread_exit
20
_thread_lib_init
3426
_thread_remove_pollers
173
_thread_trace
3288
busy_poller_interrupt_init
189
busy_poller_set_interrupt_mode
189
convert_us_to_ticks
284855
interrupt_timerfd_process
11333
io_channel_cmp
12283969
io_channel_tree_RB_FIND
4429667
io_channel_tree_RB_INSERT
93095
io_channel_tree_RB_INSERT_COLOR
93095
io_channel_tree_RB_MINMAX
17494
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
93095
io_channel_tree_RB_REMOVE_COLOR
73265
io_device_cmp
4257577
io_device_free
48927
io_device_get
998720
io_device_tree_RB_FIND
998720
io_device_tree_RB_INSERT
48939
io_device_tree_RB_INSERT_COLOR
48927
io_device_tree_RB_MINMAX
3444
io_device_tree_RB_NEXT
54
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
48927
io_device_tree_RB_REMOVE_COLOR
39030
msg_queue_run_batch
7544792619
period_poller_interrupt_init
18
period_poller_set_interrupt_mode
28
poller_insert_timer
21305706
poller_interrupt_fini
207
poller_register
284855
poller_remove_timer
23
poller_set_interrupt_mode
10
put_io_channel
93151
register_flag_thread
3288
spdk_for_each_channel
688137
spdk_for_each_channel_continue
744694
spdk_for_each_thread
434
spdk_get_io_channel
261632
spdk_get_thread
403436261
spdk_interrupt_mode_enable
16
spdk_interrupt_mode_is_enabled
6508364
spdk_interrupt_register
228
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
378
spdk_io_channel_from_ctx
26677364
spdk_io_channel_get_io_device
22259353
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
343213171
spdk_io_channel_iter_get_channel
803250
spdk_io_channel_iter_get_ctx
1338829
spdk_io_channel_iter_get_io_device
778634
spdk_io_device_get_name
0
spdk_io_device_register
48939
spdk_io_device_unregister
48933
spdk_poller_get_id
10
spdk_poller_get_name
10
spdk_poller_get_period_ticks
10
spdk_poller_get_state_str
10
spdk_poller_get_stats
10
spdk_poller_pause
254
spdk_poller_register
310
spdk_poller_register_interrupt
829
spdk_poller_register_named
284545
spdk_poller_resume
194
spdk_poller_unregister
611758
spdk_put_io_channel
261614
spdk_set_thread
67071971
spdk_spin_destroy
92314
spdk_spin_held
4382462
spdk_spin_init
128716
spdk_spin_lock
2783227
spdk_spin_unlock
2783219
spdk_thread_bind
22
spdk_thread_create
8879
spdk_thread_destroy
8681
spdk_thread_exit
8881
spdk_thread_get_app_thread
30334
spdk_thread_get_by_id
545
spdk_thread_get_count
323
spdk_thread_get_cpumask
25222
spdk_thread_get_ctx
31107
spdk_thread_get_first_active_poller
132
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
132
spdk_thread_get_first_timed_poller
132
spdk_thread_get_from_ctx
14721118875
spdk_thread_get_id
66424
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
70
spdk_thread_get_last_tsc
7371215279
spdk_thread_get_name
530
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
84
spdk_thread_get_stats
9199
spdk_thread_has_active_pollers
2177072
spdk_thread_has_pollers
12
spdk_thread_is_app_thread
36445
spdk_thread_is_bound
111
spdk_thread_is_exited
7373150352
spdk_thread_is_idle
53030178
spdk_thread_is_running
3733
spdk_thread_lib_fini
3420
spdk_thread_lib_init
475
spdk_thread_lib_init_ext
2951
spdk_thread_next_poller_expiration
47787
spdk_thread_poll
7544790985
spdk_thread_send_critical_msg
1204
spdk_thread_send_msg
5880330
spdk_thread_set_cpumask
7862
spdk_thread_set_interrupt_mode
40
sspin_fini_internal
92308
sspin_init_internal
128716
sspin_stack_print
102
sspin_stacks_print
34
thread_execute_poller
9233814120
thread_execute_timed_poller
21301686
thread_exit
656129
thread_get_io_channel
4429667
thread_has_unpaused_pollers
53030190
thread_insert_poller
284995
thread_interrupt_create
20
thread_interrupt_destroy
20
thread_interrupt_msg_process
757
thread_poll
7544790985
thread_send_msg_notification
5881534
thread_trace
2889
thread_update_stats
7544790985
timed_poller_compare
129140349
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
21305706
timed_pollers_tree_RB_INSERT_COLOR
21305706
timed_pollers_tree_RB_MINMAX
17866
timed_pollers_tree_RB_NEXT
21310112
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
21305586
timed_pollers_tree_RB_REMOVE_COLOR
16861497
wrong_thread
0
Generated by:
LCOV version 1.14