LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1204
1483
81.2 %
Date:
2024-11-20 13:11:30
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4179
10270
40.7 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
562
_call_channel
690937
_call_completion
602181
_finish_unregister
34764
_free_thread
7417
_get_thread
9195939621
_interrupt_wrapper
288650043
_on_thread
772
_thread_exit
247
_thread_lib_init
2706
_thread_remove_pollers
1186
_thread_trace
3001
busy_poller_interrupt_init
1003
busy_poller_set_interrupt_mode
1003
convert_us_to_ticks
150428
interrupt_timerfd_process
93756
io_channel_cmp
11381034
io_channel_tree_RB_FIND
4272008
io_channel_tree_RB_INSERT
96303
io_channel_tree_RB_INSERT_COLOR
96303
io_channel_tree_RB_MINMAX
14946
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
96295
io_channel_tree_RB_REMOVE_COLOR
81778
io_device_cmp
3870707
io_device_free
44245
io_device_get
952747
io_device_tree_RB_FIND
952747
io_device_tree_RB_INSERT
44257
io_device_tree_RB_INSERT_COLOR
44249
io_device_tree_RB_MINMAX
2718
io_device_tree_RB_NEXT
36
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
44249
io_device_tree_RB_REMOVE_COLOR
37136
msg_queue_run_batch
8407327105
period_poller_interrupt_init
241
period_poller_set_interrupt_mode
249
poller_insert_timer
25522355
poller_interrupt_fini
1244
poller_register
150423
poller_remove_timer
245
poller_set_interrupt_mode
8
put_io_channel
96357
register_flag_thread
3001
spdk_for_each_channel
602182
spdk_for_each_channel_continue
690937
spdk_for_each_thread
562
spdk_get_io_channel
306300
spdk_get_thread
782515038
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
152454207
spdk_interrupt_register
1274
spdk_interrupt_register_ext
1473
spdk_interrupt_register_for_events
1472
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3331
spdk_io_channel_from_ctx
20653126
spdk_io_channel_get_io_device
15130076
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
359274297
spdk_io_channel_iter_get_channel
692558
spdk_io_channel_iter_get_ctx
1312044
spdk_io_channel_iter_get_io_device
800822
spdk_io_device_get_name
0
spdk_io_device_register
44257
spdk_io_device_unregister
44253
spdk_poller_get_id
20
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_state_str
44
spdk_poller_get_stats
16
spdk_poller_pause
209
spdk_poller_register
243
spdk_poller_register_interrupt
2550
spdk_poller_register_named
150183
spdk_poller_resume
205
spdk_poller_unregister
354437
spdk_put_io_channel
306284
spdk_set_thread
580510596
spdk_spin_destroy
89980
spdk_spin_held
1839651
spdk_spin_init
131458
spdk_spin_lock
1879820
spdk_spin_unlock
1879810
spdk_thread_bind
20
spdk_thread_create
7551
spdk_thread_destroy
7425
spdk_thread_exit
7567
spdk_thread_get_app_thread
22234
spdk_thread_get_by_id
641
spdk_thread_get_count
408
spdk_thread_get_cpumask
28771
spdk_thread_get_ctx
37341
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
16234899637
spdk_thread_get_id
80260
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
8172095759
spdk_thread_get_name
1219
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
8472
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3325035
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36507
spdk_thread_is_bound
126
spdk_thread_is_exited
8161495065
spdk_thread_is_idle
58635835
spdk_thread_is_running
3213
spdk_thread_lib_fini
2702
spdk_thread_lib_init
368
spdk_thread_lib_init_ext
2338
spdk_thread_next_poller_expiration
24864
spdk_thread_poll
8406304467
spdk_thread_send_critical_msg
1327
spdk_thread_send_msg
13619005
spdk_thread_set_cpumask
11900
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
89976
sspin_init_internal
131458
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
7881651362
thread_execute_timed_poller
25514606
thread_exit
3310605
thread_get_io_channel
4272008
thread_has_unpaused_pollers
58632530
thread_insert_poller
150551
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
962100
thread_poll
8406568474
thread_send_msg_notification
13620326
thread_trace
2288
thread_update_stats
8406351433
timed_poller_compare
192895760
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
25522358
timed_pollers_tree_RB_INSERT_COLOR
25522355
timed_pollers_tree_RB_MINMAX
16518
timed_pollers_tree_RB_NEXT
25530911
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
25522276
timed_pollers_tree_RB_REMOVE_COLOR
22307524
wrong_thread
0
Generated by:
LCOV version 1.14