LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1085
1305
83.1 %
Date:
2024-07-15 16:55:29
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
774
1128
68.6 %
Function Name
Hit count
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
529
_call_channel
701945
_call_completion
637169
_finish_unregister
43704
_free_thread
8315
_get_thread
12428142730
_interrupt_wrapper
4195156
_on_thread
673
_thread_exit
17
_thread_lib_init
3182
_thread_remove_pollers
140
_thread_trace
3100
busy_poller_interrupt_init
138
busy_poller_set_interrupt_mode
138
convert_us_to_ticks
296190
interrupt_timerfd_process
8400
io_channel_cmp
10585355
io_channel_tree_RB_FIND
3868010
io_channel_tree_RB_INSERT
121034
io_channel_tree_RB_INSERT_COLOR
121034
io_channel_tree_RB_MINMAX
16764
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
121029
io_channel_tree_RB_REMOVE_COLOR
98397
io_device_cmp
4362122
io_device_free
53947
io_device_get
1049403
io_device_tree_RB_FIND
1049403
io_device_tree_RB_INSERT
53962
io_device_tree_RB_INSERT_COLOR
53952
io_device_tree_RB_MINMAX
3197
io_device_tree_RB_NEXT
45
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
53952
io_device_tree_RB_REMOVE_COLOR
44903
msg_queue_run_batch
11946116413
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
22700019
poller_interrupt_fini
153
poller_register
296190
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
121118
register_flag_thread
3100
spdk_for_each_channel
637169
spdk_for_each_channel_continue
701945
spdk_for_each_thread
529
spdk_get_io_channel
358262
spdk_get_thread
473792345
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
305773929
spdk_interrupt_register
171
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
321
spdk_io_channel_from_ctx
37872086
spdk_io_channel_get_io_device
28664192
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
401774085
spdk_io_channel_iter_get_channel
764469
spdk_io_channel_iter_get_ctx
1265429
spdk_io_channel_iter_get_io_device
665804
spdk_io_device_get_name
0
spdk_io_device_register
53962
spdk_io_device_unregister
53957
spdk_poller_get_id
8
spdk_poller_get_name
8
spdk_poller_get_period_ticks
8
spdk_poller_get_state_str
8
spdk_poller_get_stats
8
spdk_poller_pause
219
spdk_poller_register
258
spdk_poller_register_interrupt
875
spdk_poller_register_named
295932
spdk_poller_resume
169
spdk_poller_unregister
718854
spdk_put_io_channel
358242
spdk_set_thread
68878494
spdk_spin_destroy
106295
spdk_spin_held
6716532
spdk_spin_init
146964
spdk_spin_lock
2313730
spdk_spin_unlock
2313724
spdk_thread_bind
21
spdk_thread_create
8490
spdk_thread_destroy
8324
spdk_thread_exit
8490
spdk_thread_get_app_thread
36737
spdk_thread_get_by_id
557
spdk_thread_get_count
337
spdk_thread_get_cpumask
28744
spdk_thread_get_ctx
38305
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
23467050338
spdk_thread_get_id
77751
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
11744721550
spdk_thread_get_name
782
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
8943
spdk_thread_has_active_pollers
2101040
spdk_thread_has_pollers
10
spdk_thread_is_app_thread
40625
spdk_thread_is_bound
99
spdk_thread_is_exited
11749061227
spdk_thread_is_idle
99330848
spdk_thread_is_running
3818
spdk_thread_lib_fini
3177
spdk_thread_lib_init
409
spdk_thread_lib_init_ext
2773
spdk_thread_next_poller_expiration
21506
spdk_thread_poll
11946115907
spdk_thread_send_critical_msg
1472
spdk_thread_send_msg
7191218
spdk_thread_set_cpumask
11686
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
106290
sspin_init_internal
146964
sspin_stack_print
84
sspin_stacks_print
28
thread_execute_poller
13374832469
thread_execute_timed_poller
22694594
thread_exit
772670
thread_get_io_channel
3868010
thread_has_unpaused_pollers
99330858
thread_insert_poller
296314
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
629
thread_poll
11946115907
thread_send_msg_notification
7192690
thread_trace
2720
thread_update_stats
11946115907
timed_poller_compare
123055771
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
22700019
timed_pollers_tree_RB_INSERT_COLOR
22700019
timed_pollers_tree_RB_MINMAX
17085
timed_pollers_tree_RB_NEXT
22705827
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
22699919
timed_pollers_tree_RB_REMOVE_COLOR
17325072
wrong_thread
0
Generated by:
LCOV version 1.14