LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1086
1303
83.3 %
Date:
2024-07-11 15:05:21
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
776
1126
68.9 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
445
_call_channel
691842
_call_completion
623414
_finish_unregister
34391
_free_thread
8286
_get_thread
8455301105
_interrupt_wrapper
4911234
_on_thread
585
_thread_exit
17
_thread_lib_init
3192
_thread_remove_pollers
143
_thread_trace
3130
busy_poller_interrupt_init
155
busy_poller_set_interrupt_mode
155
convert_us_to_ticks
227554
interrupt_timerfd_process
8816
io_channel_cmp
10393526
io_channel_tree_RB_FIND
3801588
io_channel_tree_RB_INSERT
96819
io_channel_tree_RB_INSERT_COLOR
96819
io_channel_tree_RB_MINMAX
16676
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
96819
io_channel_tree_RB_REMOVE_COLOR
80133
io_device_cmp
4004325
io_device_free
43712
io_device_get
956202
io_device_tree_RB_FIND
956202
io_device_tree_RB_INSERT
43720
io_device_tree_RB_INSERT_COLOR
43712
io_device_tree_RB_MINMAX
3204
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
43712
io_device_tree_RB_REMOVE_COLOR
35501
msg_queue_run_batch
7988596426
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
21413889
poller_interrupt_fini
170
poller_register
227554
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
96875
register_flag_thread
3130
spdk_for_each_channel
623414
spdk_for_each_channel_continue
691842
spdk_for_each_thread
445
spdk_get_io_channel
289060
spdk_get_thread
457838009
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
8424258
spdk_interrupt_register
188
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
337
spdk_io_channel_from_ctx
27442942
spdk_io_channel_get_io_device
22019682
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
384676285
spdk_io_channel_iter_get_channel
696908
spdk_io_channel_iter_get_ctx
1239707
spdk_io_channel_iter_get_io_device
617557
spdk_io_device_get_name
0
spdk_io_device_register
43720
spdk_io_device_unregister
43716
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
178
spdk_poller_register
207
spdk_poller_register_interrupt
735
spdk_poller_register_named
227347
spdk_poller_resume
138
spdk_poller_unregister
563307
spdk_put_io_channel
289048
spdk_set_thread
70130778
spdk_spin_destroy
89070
spdk_spin_held
11658442
spdk_spin_init
124020
spdk_spin_lock
3607805
spdk_spin_unlock
3607799
spdk_thread_bind
20
spdk_thread_create
8426
spdk_thread_destroy
8294
spdk_thread_exit
8430
spdk_thread_get_app_thread
25185
spdk_thread_get_by_id
521
spdk_thread_get_count
290
spdk_thread_get_cpumask
29046
spdk_thread_get_ctx
38970
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
15588673777
spdk_thread_get_id
71943
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
7796482561
spdk_thread_get_name
528
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
8867
spdk_thread_has_active_pollers
1811446
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
35156
spdk_thread_is_bound
85
spdk_thread_is_exited
7810101221
spdk_thread_is_idle
52088411
spdk_thread_is_running
3753
spdk_thread_lib_fini
3188
spdk_thread_lib_init
330
spdk_thread_lib_init_ext
2862
spdk_thread_next_poller_expiration
47576
spdk_thread_poll
7988595916
spdk_thread_send_critical_msg
1202
spdk_thread_send_msg
7912748
spdk_thread_set_cpumask
11896
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
89066
sspin_init_internal
124020
sspin_stack_print
69
sspin_stacks_print
23
thread_execute_poller
10074497765
thread_execute_timed_poller
21409412
thread_exit
565149
thread_get_io_channel
3801588
thread_has_unpaused_pollers
52088419
thread_insert_poller
227656
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
633
thread_poll
7988595916
thread_send_msg_notification
7913950
thread_trace
2819
thread_update_stats
7988595916
timed_poller_compare
127986802
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
21413889
timed_pollers_tree_RB_INSERT_COLOR
21413889
timed_pollers_tree_RB_MINMAX
41950
timed_pollers_tree_RB_NEXT
21418751
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
21413809
timed_pollers_tree_RB_REMOVE_COLOR
16856286
wrong_thread
0
Generated by:
LCOV version 1.14