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 12:18:53
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4191
10270
40.8 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
558
_call_channel
680421
_call_completion
595718
_finish_unregister
34578
_free_thread
7357
_get_thread
9117535357
_interrupt_wrapper
270494453
_on_thread
769
_thread_exit
246
_thread_lib_init
2680
_thread_remove_pollers
1218
_thread_trace
2975
busy_poller_interrupt_init
1038
busy_poller_set_interrupt_mode
1038
convert_us_to_ticks
162969
interrupt_timerfd_process
98311
io_channel_cmp
11257642
io_channel_tree_RB_FIND
4226276
io_channel_tree_RB_INSERT
96130
io_channel_tree_RB_INSERT_COLOR
96130
io_channel_tree_RB_MINMAX
14827
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
96122
io_channel_tree_RB_REMOVE_COLOR
81703
io_device_cmp
3819947
io_device_free
43927
io_device_get
945483
io_device_tree_RB_FIND
945483
io_device_tree_RB_INSERT
43939
io_device_tree_RB_INSERT_COLOR
43931
io_device_tree_RB_MINMAX
2692
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
43931
io_device_tree_RB_REMOVE_COLOR
36865
msg_queue_run_batch
8409247561
period_poller_interrupt_init
241
period_poller_set_interrupt_mode
249
poller_insert_timer
26911745
poller_interrupt_fini
1279
poller_register
162970
poller_remove_timer
245
poller_set_interrupt_mode
8
put_io_channel
96188
register_flag_thread
2975
spdk_for_each_channel
595719
spdk_for_each_channel_continue
680421
spdk_for_each_thread
558
spdk_get_io_channel
305816
spdk_get_thread
704372712
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
142380428
spdk_interrupt_register
1309
spdk_interrupt_register_ext
1508
spdk_interrupt_register_for_events
1507
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3348
spdk_io_channel_from_ctx
18568205
spdk_io_channel_get_io_device
13597835
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
338781507
spdk_io_channel_iter_get_channel
694385
spdk_io_channel_iter_get_ctx
1294553
spdk_io_channel_iter_get_io_device
815047
spdk_io_device_get_name
0
spdk_io_device_register
43939
spdk_io_device_unregister
43935
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
209
spdk_poller_register
243
spdk_poller_register_interrupt
2546
spdk_poller_register_named
162727
spdk_poller_resume
205
spdk_poller_unregister
352637
spdk_put_io_channel
305797
spdk_set_thread
544435524
spdk_spin_destroy
89807
spdk_spin_held
1805089
spdk_spin_init
130763
spdk_spin_lock
2018078
spdk_spin_unlock
2018068
spdk_thread_bind
20
spdk_thread_create
7491
spdk_thread_destroy
7366
spdk_thread_exit
7503
spdk_thread_get_app_thread
22343
spdk_thread_get_by_id
678
spdk_thread_get_count
408
spdk_thread_get_cpumask
28503
spdk_thread_get_ctx
36834
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
16265402033
spdk_thread_get_id
78793
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
8148804293
spdk_thread_get_name
1219
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
8384
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3620923
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36187
spdk_thread_is_bound
130
spdk_thread_is_exited
8175366291
spdk_thread_is_idle
60608702
spdk_thread_is_running
3174
spdk_thread_lib_fini
2676
spdk_thread_lib_init
356
spdk_thread_lib_init_ext
2324
spdk_thread_next_poller_expiration
23724
spdk_thread_poll
8408668940
spdk_thread_send_critical_msg
1323
spdk_thread_send_msg
12263941
spdk_thread_set_cpumask
11688
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
89803
sspin_init_internal
130763
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
7704248959
thread_execute_timed_poller
26903733
thread_exit
3555832
thread_get_io_channel
4226276
thread_has_unpaused_pollers
60605277
thread_insert_poller
163094
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
1078514
thread_poll
8408564806
thread_send_msg_notification
12265262
thread_trace
2274
thread_update_stats
8408517501
timed_poller_compare
207406178
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
26911745
timed_pollers_tree_RB_INSERT_COLOR
26911745
timed_pollers_tree_RB_MINMAX
16433
timed_pollers_tree_RB_NEXT
26920609
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
26911666
timed_pollers_tree_RB_REMOVE_COLOR
23805370
wrong_thread
0
Generated by:
LCOV version 1.14