LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1184
1458
81.2 %
Date:
2024-12-15 23:25:31
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3945
10256
38.5 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
547
_call_channel
811996
_call_completion
717410
_finish_unregister
32695
_free_thread
6954
_get_thread
10191966882
_interrupt_wrapper
247124705
_on_thread
752
_thread_exit
248
_thread_lib_init
2552
_thread_remove_pollers
1883
_thread_trace
2940
busy_poller_interrupt_init
1885
busy_poller_set_interrupt_mode
1885
convert_us_to_ticks
168513
interrupt_timerfd_process
85407
io_channel_cmp
11481383
io_channel_tree_RB_FIND
4259414
io_channel_tree_RB_INSERT
93716
io_channel_tree_RB_INSERT_COLOR
93716
io_channel_tree_RB_MINMAX
13994
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
93710
io_channel_tree_RB_REMOVE_COLOR
81047
io_device_cmp
4586183
io_device_free
41719
io_device_get
1059874
io_device_tree_RB_FIND
1059874
io_device_tree_RB_INSERT
41728
io_device_tree_RB_INSERT_COLOR
41722
io_device_tree_RB_MINMAX
2561
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
41722
io_device_tree_RB_REMOVE_COLOR
35607
msg_queue_run_batch
9371962802
period_poller_interrupt_init
236
period_poller_set_interrupt_mode
244
poller_insert_timer
24045191
poller_interrupt_fini
2121
poller_register
168512
poller_remove_timer
240
poller_set_interrupt_mode
8
put_io_channel
93765
register_flag_thread
2940
spdk_for_each_channel
717410
spdk_for_each_channel_continue
811996
spdk_for_each_thread
547
spdk_get_io_channel
300730
spdk_get_thread
806062805
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
351634112
spdk_interrupt_register
2155
spdk_interrupt_register_for_events
2353
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
4362
spdk_io_channel_from_ctx
22684895
spdk_io_channel_get_io_device
16962036
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
388862819
spdk_io_channel_iter_get_channel
747351
spdk_io_channel_iter_get_ctx
1462810
spdk_io_channel_iter_get_io_device
687997
spdk_io_device_get_name
0
spdk_io_device_register
41728
spdk_io_device_unregister
41725
spdk_poller_get_id
17
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_state_str
35
spdk_poller_get_stats
14
spdk_poller_pause
168
spdk_poller_register
184
spdk_poller_register_interrupt
2552
spdk_poller_register_named
168329
spdk_poller_resume
165
spdk_poller_unregister
358189
spdk_put_io_channel
300715
spdk_set_thread
497558170
spdk_spin_destroy
87503
spdk_spin_held
7534730
spdk_spin_init
127950
spdk_spin_lock
2431076
spdk_spin_unlock
2431068
spdk_thread_bind
19
spdk_thread_create
7062
spdk_thread_destroy
6959
spdk_thread_exit
7066
spdk_thread_get_app_thread
20101
spdk_thread_get_by_id
658
spdk_thread_get_count
366
spdk_thread_get_cpumask
27645
spdk_thread_get_ctx
36304
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
18374025036
spdk_thread_get_id
90951
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
274
spdk_thread_get_last_tsc
9269153940
spdk_thread_get_name
1123
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
8200
spdk_thread_has_active_pollers
1873026
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
35565
spdk_thread_is_bound
107
spdk_thread_is_exited
9196726291
spdk_thread_is_idle
52285196
spdk_thread_is_running
3345
spdk_thread_lib_fini
2549
spdk_thread_lib_init
273
spdk_thread_lib_init_ext
2279
spdk_thread_next_poller_expiration
18983
spdk_thread_poll
9370524764
spdk_thread_send_critical_msg
1305
spdk_thread_send_msg
14445148
spdk_thread_set_cpumask
11682
spdk_thread_set_interrupt_mode
141
sspin_fini_internal
87500
sspin_init_internal
127950
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
9570507519
thread_execute_timed_poller
24036373
thread_exit
615493
thread_get_io_channel
4259414
thread_has_unpaused_pollers
52282980
thread_insert_poller
168618
thread_interrupt_create
125
thread_interrupt_destroy
125
thread_interrupt_msg_process
1165818
thread_poll
9370576597
thread_send_msg_notification
14446453
thread_trace
2243
thread_update_stats
9370414857
timed_poller_compare
146309336
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
24045191
timed_pollers_tree_RB_INSERT_COLOR
24045191
timed_pollers_tree_RB_MINMAX
16254
timed_pollers_tree_RB_NEXT
24055412
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
24045131
timed_pollers_tree_RB_REMOVE_COLOR
20091358
wrong_thread
0
Generated by:
LCOV version 1.15