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-16 00:47:24
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
774
1128
68.6 %
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
5
poller_set_interrupt_mode
8
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_thread_has_pollers
10
spdk_interrupt_mode_enable
13
period_poller_interrupt_init
15
_thread_exit
17
thread_interrupt_create
17
thread_interrupt_destroy
17
poller_remove_timer
19
spdk_thread_bind
21
period_poller_set_interrupt_mode
23
sspin_stacks_print
28
spdk_thread_set_interrupt_mode
33
io_device_tree_RB_NEXT
45
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_next_timed_poller
78
sspin_stack_print
84
spdk_thread_is_bound
90
spdk_thread_get_next_active_poller
96
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
busy_poller_interrupt_init
139
busy_poller_set_interrupt_mode
139
_thread_remove_pollers
141
poller_interrupt_fini
154
spdk_poller_resume
169
spdk_interrupt_register
172
spdk_poller_pause
219
spdk_poller_register
258
spdk_interrupt_unregister
322
spdk_thread_get_count
333
spdk_thread_lib_init
409
_back_to_orig_thread
503
spdk_for_each_thread
503
spdk_thread_get_by_id
520
thread_interrupt_msg_process
631
_on_thread
647
spdk_thread_get_name
703
spdk_poller_register_interrupt
867
spdk_thread_send_critical_msg
1389
thread_trace
2593
spdk_thread_lib_init_ext
2645
_thread_trace
2968
register_flag_thread
2968
spdk_thread_lib_fini
3049
_thread_lib_init
3054
io_device_tree_RB_MINMAX
3069
spdk_thread_is_running
3607
spdk_thread_set_cpumask
7422
_free_thread
7893
spdk_thread_destroy
7902
spdk_thread_create
8068
spdk_thread_exit
8068
spdk_thread_get_stats
8390
interrupt_timerfd_process
8710
io_channel_tree_RB_MINMAX
15920
timed_pollers_tree_RB_MINMAX
16242
spdk_thread_next_poller_expiration
22253
spdk_thread_get_cpumask
23598
spdk_thread_get_ctx
28955
spdk_thread_get_app_thread
36511
spdk_thread_is_app_thread
38827
_finish_unregister
42312
io_device_tree_RB_REMOVE_COLOR
43341
io_device_free
52145
io_device_tree_RB_INSERT_COLOR
52150
io_device_tree_RB_REMOVE
52150
spdk_io_device_unregister
52155
io_device_tree_RB_INSERT
52160
spdk_io_device_register
52160
spdk_thread_get_id
72309
io_channel_tree_RB_REMOVE_COLOR
85669
sspin_fini_internal
100611
spdk_spin_destroy
100616
io_channel_tree_RB_REMOVE
107338
io_channel_tree_RB_INSERT
107343
io_channel_tree_RB_INSERT_COLOR
107343
put_io_channel
107427
spdk_spin_init
139517
sspin_init_internal
139517
spdk_poller_register_named
276861
convert_us_to_ticks
277119
poller_register
277119
thread_insert_poller
277243
spdk_put_io_channel
302048
spdk_get_io_channel
302068
thread_exit
548332
_call_completion
640227
spdk_for_each_channel
640227
spdk_poller_unregister
641543
_call_channel
691535
spdk_for_each_channel_continue
691535
spdk_io_channel_iter_get_io_device
692316
spdk_io_channel_iter_get_channel
739764
io_device_get
994465
io_device_tree_RB_FIND
994465
spdk_io_channel_iter_get_ctx
1243300
spdk_thread_has_active_pollers
2047097
spdk_spin_unlock
2209463
spdk_spin_lock
2209469
io_channel_tree_RB_FIND
3859261
thread_get_io_channel
3859261
_interrupt_wrapper
3869546
io_device_cmp
4245374
spdk_thread_send_msg
5525946
thread_send_msg_notification
5527335
spdk_spin_held
6148826
io_channel_cmp
10897210
timed_pollers_tree_RB_REMOVE_COLOR
16959577
thread_execute_timed_poller
21828330
timed_pollers_tree_RB_REMOVE
21832953
poller_insert_timer
21833053
timed_pollers_tree_RB_INSERT
21833053
timed_pollers_tree_RB_INSERT_COLOR
21833053
timed_pollers_tree_RB_NEXT
21838117
spdk_io_channel_get_io_device
27489637
spdk_io_channel_from_ctx
35932525
spdk_set_thread
66074735
spdk_thread_is_idle
88856624
thread_has_unpaused_pollers
88856634
timed_poller_compare
120597616
spdk_interrupt_mode_is_enabled
305577424
spdk_io_channel_get_thread
349968588
spdk_get_thread
421568519
spdk_thread_is_exited
10533621438
spdk_thread_get_last_tsc
10535301563
spdk_thread_poll
10721303510
thread_poll
10721303510
thread_update_stats
10721303510
msg_queue_run_batch
10721305018
_get_thread
11149385767
thread_execute_poller
11797628563
spdk_thread_get_from_ctx
21031746767
Generated by:
LCOV version 1.14