LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1174
1453
80.8 %
Date:
2024-12-15 11:28:26
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3751
10254
36.6 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
472
_call_channel
723931
_call_completion
653464
_finish_unregister
33319
_free_thread
8277
_get_thread
9003628394
_interrupt_wrapper
4565390
_on_thread
674
_thread_exit
17
_thread_lib_init
3170
_thread_remove_pollers
145
_thread_trace
3147
busy_poller_interrupt_init
154
busy_poller_set_interrupt_mode
154
convert_us_to_ticks
279319
interrupt_timerfd_process
8385
io_channel_cmp
10850970
io_channel_tree_RB_FIND
3942789
io_channel_tree_RB_INSERT
96069
io_channel_tree_RB_INSERT_COLOR
96069
io_channel_tree_RB_MINMAX
16631
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
96069
io_channel_tree_RB_REMOVE_COLOR
81098
io_device_cmp
4171001
io_device_free
42649
io_device_get
986526
io_device_tree_RB_FIND
986526
io_device_tree_RB_INSERT
42655
io_device_tree_RB_INSERT_COLOR
42649
io_device_tree_RB_MINMAX
3179
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
42649
io_device_tree_RB_REMOVE_COLOR
35312
msg_queue_run_batch
8506591040
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
23192297
poller_interrupt_fini
169
poller_register
279320
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
96118
register_flag_thread
3147
spdk_for_each_channel
653464
spdk_for_each_channel_continue
723931
spdk_for_each_thread
472
spdk_get_io_channel
290401
spdk_get_thread
488539651
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
8621677
spdk_interrupt_register
187
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
589
spdk_io_channel_from_ctx
26884498
spdk_io_channel_get_io_device
20837889
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
378229996
spdk_io_channel_iter_get_channel
780268
spdk_io_channel_iter_get_ctx
1303422
spdk_io_channel_iter_get_io_device
686966
spdk_io_device_get_name
0
spdk_io_device_register
42655
spdk_io_device_unregister
42652
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
140
spdk_poller_register
157
spdk_poller_register_interrupt
801
spdk_poller_register_named
279163
spdk_poller_resume
110
spdk_poller_unregister
680069
spdk_put_io_channel
290391
spdk_set_thread
68122521
spdk_spin_destroy
89377
spdk_spin_held
7426699
spdk_spin_init
125100
spdk_spin_lock
2609735
spdk_spin_unlock
2609727
spdk_thread_bind
19
spdk_thread_create
8382
spdk_thread_destroy
8283
spdk_thread_exit
8389
spdk_thread_get_app_thread
24486
spdk_thread_get_by_id
501
spdk_thread_get_count
303
spdk_thread_get_cpumask
29305
spdk_thread_get_ctx
39271
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
16612625669
spdk_thread_get_id
73476
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
8353776663
spdk_thread_get_name
524
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
8924
spdk_thread_has_active_pollers
2022047
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
35892
spdk_thread_is_bound
79
spdk_thread_is_exited
8324535293
spdk_thread_is_idle
66865674
spdk_thread_is_running
3668
spdk_thread_lib_fini
3167
spdk_thread_lib_init
256
spdk_thread_lib_init_ext
2914
spdk_thread_next_poller_expiration
48417
spdk_thread_poll
8506335958
spdk_thread_send_critical_msg
1217
spdk_thread_send_msg
8005912
spdk_thread_set_cpumask
11910
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
89374
sspin_init_internal
125100
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
11013442979
thread_execute_timed_poller
23184988
thread_exit
3354249
thread_get_io_channel
3942789
thread_has_unpaused_pollers
66864562
thread_insert_poller
279403
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
634
thread_poll
8506358825
thread_send_msg_notification
8007129
thread_trace
2881
thread_update_stats
8506077892
timed_poller_compare
141764741
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
23192298
timed_pollers_tree_RB_INSERT_COLOR
23192298
timed_pollers_tree_RB_MINMAX
16944
timed_pollers_tree_RB_NEXT
23200087
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
23192237
timed_pollers_tree_RB_REMOVE_COLOR
18478590
wrong_thread
0
Generated by:
LCOV version 1.15