LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1089
1309
83.2 %
Date:
2024-07-15 17:02:08
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
775
1132
68.5 %
Function Name
Hit count
__posix_abort
0
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_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
spdk_interrupt_set_event_types
0
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_device_get_name
0
spdk_thread_get_first_io_channel
0
spdk_thread_get_interrupt_fd
0
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
wrong_thread
0
__pending_unregister
3
poller_set_interrupt_mode
6
spdk_poller_get_id
6
spdk_poller_get_name
6
spdk_poller_get_period_ticks
6
spdk_poller_get_state_str
6
spdk_poller_get_stats
6
spdk_thread_has_pollers
6
spdk_interrupt_mode_enable
10
period_poller_interrupt_init
12
_thread_exit
14
thread_interrupt_create
14
thread_interrupt_destroy
14
poller_remove_timer
15
period_poller_set_interrupt_mode
18
sspin_stacks_print
18
spdk_thread_bind
19
spdk_thread_set_interrupt_mode
26
io_device_tree_RB_NEXT
27
spdk_thread_get_interrupt_fd_group
46
sspin_stack_print
54
spdk_thread_get_next_timed_poller
72
spdk_thread_is_bound
73
spdk_thread_get_next_active_poller
96
busy_poller_interrupt_init
108
busy_poller_set_interrupt_mode
108
_thread_remove_pollers
111
spdk_poller_resume
113
poller_interrupt_fini
120
spdk_thread_get_first_active_poller
120
spdk_thread_get_first_paused_poller
120
spdk_thread_get_first_timed_poller
120
spdk_interrupt_register
135
spdk_interrupt_register_for_events
135
spdk_poller_pause
143
spdk_poller_register
156
spdk_thread_lib_init
251
spdk_thread_get_count
263
spdk_interrupt_unregister
283
_back_to_orig_thread
477
spdk_for_each_thread
477
spdk_thread_get_by_id
487
thread_interrupt_msg_process
521
_on_thread
613
spdk_poller_register_interrupt
722
spdk_thread_get_name
1040
spdk_thread_send_critical_msg
1299
thread_trace
2436
spdk_thread_lib_init_ext
2469
spdk_thread_lib_fini
2717
_thread_lib_init
2720
io_device_tree_RB_MINMAX
2729
_thread_trace
3086
register_flag_thread
3086
spdk_thread_is_running
3256
interrupt_timerfd_process
6658
_free_thread
7087
spdk_thread_destroy
7092
spdk_thread_create
7192
spdk_thread_exit
7194
spdk_thread_get_stats
8137
spdk_thread_set_cpumask
11756
io_channel_tree_RB_MINMAX
14254
timed_pollers_tree_RB_MINMAX
14522
spdk_thread_next_poller_expiration
21509
spdk_thread_get_cpumask
26805
spdk_thread_get_app_thread
28446
_finish_unregister
34378
spdk_thread_is_app_thread
35401
spdk_thread_get_ctx
36625
io_device_tree_RB_REMOVE_COLOR
36680
io_device_free
43347
io_device_tree_RB_INSERT_COLOR
43350
io_device_tree_RB_REMOVE
43350
spdk_io_device_unregister
43353
io_device_tree_RB_INSERT
43356
spdk_io_device_register
43356
spdk_thread_get_id
68288
io_channel_tree_RB_REMOVE_COLOR
84363
sspin_fini_internal
89618
spdk_spin_destroy
89621
io_channel_tree_RB_REMOVE
100217
io_channel_tree_RB_INSERT
100220
io_channel_tree_RB_INSERT_COLOR
100220
put_io_channel
100283
spdk_spin_init
126018
sspin_init_internal
126018
spdk_poller_register_named
247933
convert_us_to_ticks
248089
poller_register
248089
thread_insert_poller
248175
spdk_put_io_channel
300499
spdk_get_io_channel
300511
_call_completion
419211
spdk_for_each_channel
419211
_call_channel
484438
spdk_for_each_channel_continue
484438
spdk_io_channel_iter_get_io_device
576461
spdk_io_channel_iter_get_channel
585001
spdk_poller_unregister
640892
io_device_get
763084
io_device_tree_RB_FIND
763084
spdk_io_channel_iter_get_ctx
912304
spdk_thread_has_active_pollers
1705974
spdk_spin_unlock
2109673
spdk_spin_lock
2109679
io_channel_tree_RB_FIND
2751557
thread_get_io_channel
2751557
thread_exit
3026823
io_device_cmp
3073598
spdk_spin_held
3345154
_interrupt_wrapper
3904772
spdk_thread_send_msg
6702787
thread_send_msg_notification
6704086
io_channel_cmp
7366553
spdk_set_thread
8867998
timed_pollers_tree_RB_REMOVE_COLOR
14136760
spdk_io_channel_get_io_device
17222966
thread_execute_timed_poller
17945198
timed_pollers_tree_RB_REMOVE
17949929
poller_insert_timer
17949989
timed_pollers_tree_RB_INSERT
17949989
timed_pollers_tree_RB_INSERT_COLOR
17949989
timed_pollers_tree_RB_NEXT
17955192
spdk_io_channel_from_ctx
21915616
spdk_thread_is_idle
85265885
thread_has_unpaused_pollers
85265891
spdk_interrupt_mode_is_enabled
85836752
timed_poller_compare
114826032
spdk_io_channel_get_thread
236693763
spdk_get_thread
322473776
spdk_thread_get_last_tsc
9538021514
spdk_thread_is_exited
9541723733
spdk_thread_poll
9733433112
thread_poll
9733433112
thread_update_stats
9733433112
msg_queue_run_batch
9733433505
thread_execute_poller
9944965715
_get_thread
10063366604
spdk_thread_get_from_ctx
19039517035
Generated by:
LCOV version 1.14