LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1172
1453
80.7 %
Date:
2024-12-14 01:37:43
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3745
10254
36.5 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
453
_call_channel
715475
_call_completion
671684
_finish_unregister
31886
_free_thread
7754
_get_thread
8171937649
_interrupt_wrapper
7645
_on_thread
655
_thread_exit
12
_thread_lib_init
2992
_thread_remove_pollers
127
_thread_trace
2966
busy_poller_interrupt_init
136
busy_poller_set_interrupt_mode
136
convert_us_to_ticks
285909
interrupt_timerfd_process
7284
io_channel_cmp
10978258
io_channel_tree_RB_FIND
3980609
io_channel_tree_RB_INSERT
86084
io_channel_tree_RB_INSERT_COLOR
86084
io_channel_tree_RB_MINMAX
15586
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
86084
io_channel_tree_RB_REMOVE_COLOR
71753
io_device_cmp
4198073
io_device_free
40665
io_device_get
979860
io_device_tree_RB_FIND
979860
io_device_tree_RB_INSERT
40671
io_device_tree_RB_INSERT_COLOR
40665
io_device_tree_RB_MINMAX
3001
io_device_tree_RB_NEXT
27
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
40665
io_device_tree_RB_REMOVE_COLOR
33668
msg_queue_run_batch
7699888038
period_poller_interrupt_init
12
period_poller_set_interrupt_mode
20
poller_insert_timer
22435335
poller_interrupt_fini
148
poller_register
285909
poller_remove_timer
16
poller_set_interrupt_mode
8
put_io_channel
86139
register_flag_thread
2966
spdk_for_each_channel
671684
spdk_for_each_channel_continue
715475
spdk_for_each_thread
453
spdk_get_io_channel
267499
spdk_get_thread
463859548
spdk_interrupt_mode_enable
12
spdk_interrupt_mode_is_enabled
8352788
spdk_interrupt_register
160
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
443
spdk_io_channel_from_ctx
28074089
spdk_io_channel_get_io_device
21680256
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
361056790
spdk_io_channel_iter_get_channel
783269
spdk_io_channel_iter_get_ctx
1296738
spdk_io_channel_iter_get_io_device
683694
spdk_io_device_get_name
0
spdk_io_device_register
40671
spdk_io_device_unregister
40668
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
127
spdk_poller_register
157
spdk_poller_register_interrupt
787
spdk_poller_register_named
285752
spdk_poller_resume
97
spdk_poller_unregister
804828
spdk_put_io_channel
267489
spdk_set_thread
56664090
spdk_spin_destroy
83693
spdk_spin_held
7643011
spdk_spin_init
117144
spdk_spin_lock
2639572
spdk_spin_unlock
2639562
spdk_thread_bind
19
spdk_thread_create
7859
spdk_thread_destroy
7760
spdk_thread_exit
7865
spdk_thread_get_app_thread
23790
spdk_thread_get_by_id
467
spdk_thread_get_count
298
spdk_thread_get_cpumask
24358
spdk_thread_get_ctx
30392
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
15068472135
spdk_thread_get_id
23243
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
48
spdk_thread_get_last_tsc
7588591632
spdk_thread_get_name
505
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
8424
spdk_thread_has_active_pollers
1993154
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
33770
spdk_thread_is_bound
71
spdk_thread_is_exited
7547917829
spdk_thread_is_idle
61151792
spdk_thread_is_running
3376
spdk_thread_lib_fini
2989
spdk_thread_lib_init
250
spdk_thread_lib_init_ext
2742
spdk_thread_next_poller_expiration
42393
spdk_thread_poll
7699629697
spdk_thread_send_critical_msg
1107
spdk_thread_send_msg
7727739
spdk_thread_set_cpumask
7982
spdk_thread_set_interrupt_mode
28
sspin_fini_internal
83690
sspin_init_internal
117144
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
9762479448
thread_execute_timed_poller
22429058
thread_exit
3141219
thread_get_io_channel
3980609
thread_has_unpaused_pollers
61152840
thread_insert_poller
285979
thread_interrupt_create
12
thread_interrupt_destroy
12
thread_interrupt_msg_process
498
thread_poll
7699630174
thread_send_msg_notification
7728845
thread_trace
2710
thread_update_stats
7699359341
timed_poller_compare
140584808
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
22435335
timed_pollers_tree_RB_INSERT_COLOR
22435336
timed_pollers_tree_RB_MINMAX
15879
timed_pollers_tree_RB_NEXT
22442068
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
22435275
timed_pollers_tree_RB_REMOVE_COLOR
18066820
wrong_thread
0
Generated by:
LCOV version 1.15