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 15:18:35
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4162
10270
40.5 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
541
_call_channel
734633
_call_completion
645829
_finish_unregister
34321
_free_thread
7299
_get_thread
8669411824
_interrupt_wrapper
294654200
_on_thread
752
_thread_exit
246
_thread_lib_init
2626
_thread_remove_pollers
1240
_thread_trace
2934
busy_poller_interrupt_init
1093
busy_poller_set_interrupt_mode
1093
convert_us_to_ticks
152332
interrupt_timerfd_process
96806
io_channel_cmp
11716408
io_channel_tree_RB_FIND
4379983
io_channel_tree_RB_INSERT
95449
io_channel_tree_RB_INSERT_COLOR
95449
io_channel_tree_RB_MINMAX
14702
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
95441
io_channel_tree_RB_REMOVE_COLOR
81033
io_device_cmp
4006903
io_device_free
43502
io_device_get
992059
io_device_tree_RB_FIND
992059
io_device_tree_RB_INSERT
43514
io_device_tree_RB_INSERT_COLOR
43506
io_device_tree_RB_MINMAX
2638
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
43506
io_device_tree_RB_REMOVE_COLOR
36495
msg_queue_run_batch
7970493829
period_poller_interrupt_init
241
period_poller_set_interrupt_mode
249
poller_insert_timer
26140096
poller_interrupt_fini
1334
poller_register
152332
poller_remove_timer
245
poller_set_interrupt_mode
8
put_io_channel
95512
register_flag_thread
2934
spdk_for_each_channel
645830
spdk_for_each_channel_continue
734633
spdk_for_each_thread
541
spdk_get_io_channel
302706
spdk_get_thread
696816495
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
135429831
spdk_interrupt_register
1364
spdk_interrupt_register_ext
1563
spdk_interrupt_register_for_events
1562
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3422
spdk_io_channel_from_ctx
15628732
spdk_io_channel_get_io_device
12757837
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
308202192
spdk_io_channel_iter_get_channel
741578
spdk_io_channel_iter_get_ctx
1400517
spdk_io_channel_iter_get_io_device
808811
spdk_io_device_get_name
0
spdk_io_device_register
43514
spdk_io_device_unregister
43510
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
2522
spdk_poller_register_named
152089
spdk_poller_resume
205
spdk_poller_unregister
392230
spdk_put_io_channel
302686
spdk_set_thread
592958954
spdk_spin_destroy
87812
spdk_spin_held
1879093
spdk_spin_init
128035
spdk_spin_lock
2107452
spdk_spin_unlock
2107443
spdk_thread_bind
20
spdk_thread_create
7433
spdk_thread_destroy
7306
spdk_thread_exit
7446
spdk_thread_get_app_thread
21902
spdk_thread_get_by_id
663
spdk_thread_get_count
394
spdk_thread_get_cpumask
28475
spdk_thread_get_ctx
36525
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
15450629162
spdk_thread_get_id
79560
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
7739362545
spdk_thread_get_name
1208
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
8214
spdk_thread_get_trace_id
3
spdk_thread_has_active_pollers
3326485
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
35433
spdk_thread_is_bound
126
spdk_thread_is_exited
7758840535
spdk_thread_is_idle
58588633
spdk_thread_is_running
3068
spdk_thread_lib_fini
2622
spdk_thread_lib_init
366
spdk_thread_lib_init_ext
2260
spdk_thread_next_poller_expiration
23240
spdk_thread_poll
7969117596
spdk_thread_send_critical_msg
1279
spdk_thread_send_msg
10038408
spdk_thread_set_cpumask
11612
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
87808
sspin_init_internal
128035
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
7384175910
thread_execute_timed_poller
26132494
thread_exit
3325658
thread_get_io_channel
4379983
thread_has_unpaused_pollers
58575959
thread_insert_poller
152457
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
1181701
thread_poll
7969473746
thread_send_msg_notification
10039680
thread_trace
2210
thread_update_stats
7969243951
timed_poller_compare
193947037
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
26140096
timed_pollers_tree_RB_INSERT_COLOR
26140096
timed_pollers_tree_RB_MINMAX
16328
timed_pollers_tree_RB_NEXT
26148517
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
26140012
timed_pollers_tree_RB_REMOVE_COLOR
23254723
wrong_thread
0
Generated by:
LCOV version 1.14