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-12 02:17:04
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
773
1128
68.5 %
Function Name
Hit count
__pending_unregister
6
__posix_abort
0
_back_to_orig_thread
508
_call_channel
696235
_call_completion
632846
_finish_unregister
44143
_free_thread
8310
_get_thread
12191154345
_interrupt_wrapper
4227306
_on_thread
656
_thread_exit
17
_thread_lib_init
3251
_thread_remove_pollers
141
_thread_trace
3141
busy_poller_interrupt_init
139
busy_poller_set_interrupt_mode
139
convert_us_to_ticks
244707
interrupt_timerfd_process
9141
io_channel_cmp
10231410
io_channel_tree_RB_FIND
3761594
io_channel_tree_RB_INSERT
118167
io_channel_tree_RB_INSERT_COLOR
118167
io_channel_tree_RB_MINMAX
16781
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
118161
io_channel_tree_RB_REMOVE_COLOR
94925
io_device_cmp
4305034
io_device_free
54587
io_device_get
1033711
io_device_tree_RB_FIND
1033711
io_device_tree_RB_INSERT
54605
io_device_tree_RB_INSERT_COLOR
54593
io_device_tree_RB_MINMAX
3269
io_device_tree_RB_NEXT
54
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
54593
io_device_tree_RB_REMOVE_COLOR
44818
msg_queue_run_batch
11724194002
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
22960318
poller_interrupt_fini
154
poller_register
244707
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
118229
register_flag_thread
3141
spdk_for_each_channel
632846
spdk_for_each_channel_continue
696235
spdk_for_each_thread
508
spdk_get_io_channel
346248
spdk_get_thread
459383411
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
260050760
spdk_interrupt_register
172
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
322
spdk_io_channel_from_ctx
33009185
spdk_io_channel_get_io_device
26567375
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
376479651
spdk_io_channel_iter_get_channel
706437
spdk_io_channel_iter_get_ctx
1254627
spdk_io_channel_iter_get_io_device
641196
spdk_io_device_get_name
0
spdk_io_device_register
54605
spdk_io_device_unregister
54599
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
257
spdk_poller_register
310
spdk_poller_register_interrupt
796
spdk_poller_register_named
244397
spdk_poller_resume
197
spdk_poller_unregister
610783
spdk_put_io_channel
346224
spdk_set_thread
68747187
spdk_spin_destroy
103667
spdk_spin_held
6121522
spdk_spin_init
144325
spdk_spin_lock
3735909
spdk_spin_unlock
3735901
spdk_thread_bind
22
spdk_thread_create
8520
spdk_thread_destroy
8321
spdk_thread_exit
8517
spdk_thread_get_app_thread
37270
spdk_thread_get_by_id
567
spdk_thread_get_count
318
spdk_thread_get_cpumask
28683
spdk_thread_get_ctx
38552
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
23022698173
spdk_thread_get_id
78403
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
11531120639
spdk_thread_get_name
786
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
8729
spdk_thread_has_active_pollers
1799269
spdk_thread_has_pollers
12
spdk_thread_is_app_thread
40258
spdk_thread_is_bound
110
spdk_thread_is_exited
11526619010
spdk_thread_is_idle
80755971
spdk_thread_is_running
3837
spdk_thread_lib_fini
3245
spdk_thread_lib_init
473
spdk_thread_lib_init_ext
2778
spdk_thread_next_poller_expiration
22764
spdk_thread_poll
11724193495
spdk_thread_send_critical_msg
1432
spdk_thread_send_msg
6551935
spdk_thread_set_cpumask
11936
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
103661
sspin_init_internal
144325
sspin_stack_print
102
sspin_stacks_print
34
thread_execute_poller
13421257821
thread_execute_timed_poller
22954800
thread_exit
703708
thread_get_io_channel
3761594
thread_has_unpaused_pollers
80755983
thread_insert_poller
244850
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
630
thread_poll
11724193495
thread_send_msg_notification
6553367
thread_trace
2715
thread_update_stats
11724193495
timed_poller_compare
129726708
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
22960318
timed_pollers_tree_RB_INSERT_COLOR
22960318
timed_pollers_tree_RB_MINMAX
17109
timed_pollers_tree_RB_NEXT
22966189
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
22960198
timed_pollers_tree_RB_REMOVE_COLOR
17514246
wrong_thread
0
Generated by:
LCOV version 1.14