LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1224
1532
79.9 %
Date:
2024-12-13 06:03:58
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4023
10466
38.4 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
562
_call_channel
811390
_call_completion
715138
_finish_unregister
33855
_free_thread
7131
_get_thread
10074951598
_interrupt_wrapper
215713252
_on_thread
767
_thread_exit
246
_thread_lib_init
2608
_thread_remove_pollers
1329
_thread_trace
2964
alloc_interrupt
1654
busy_poller_interrupt_init
1190
busy_poller_set_interrupt_mode
1190
convert_us_to_ticks
165711
interrupt_fd_group_wrapper
158675
interrupt_timerfd_process
93521
io_channel_cmp
11239888
io_channel_tree_RB_FIND
4152352
io_channel_tree_RB_INSERT
95326
io_channel_tree_RB_INSERT_COLOR
95326
io_channel_tree_RB_MINMAX
14349
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
95320
io_channel_tree_RB_REMOVE_COLOR
81666
io_device_cmp
4565158
io_device_free
43106
io_device_get
1062711
io_device_tree_RB_FIND
1062711
io_device_tree_RB_INSERT
43115
io_device_tree_RB_INSERT_COLOR
43109
io_device_tree_RB_MINMAX
2614
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
43109
io_device_tree_RB_REMOVE_COLOR
36287
msg_queue_run_batch
9262563786
period_poller_interrupt_init
235
period_poller_set_interrupt_mode
243
poller_insert_timer
24037049
poller_interrupt_fini
1425
poller_register
165711
poller_remove_timer
239
poller_set_interrupt_mode
8
put_io_channel
95394
register_flag_thread
2964
spdk_for_each_channel
715138
spdk_for_each_channel_continue
811390
spdk_for_each_thread
562
spdk_get_io_channel
304452
spdk_get_thread
793315909
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
118217711
spdk_interrupt_register
1453
spdk_interrupt_register_ext
1652
spdk_interrupt_register_fd_group
2
spdk_interrupt_register_for_events
1651
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3564
spdk_io_channel_from_ctx
24233312
spdk_io_channel_get_io_device
16892115
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
402339279
spdk_io_channel_iter_get_channel
746883
spdk_io_channel_iter_get_ctx
1462655
spdk_io_channel_iter_get_io_device
671449
spdk_io_device_get_name
0
spdk_io_device_register
43115
spdk_io_device_unregister
43112
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
187
spdk_poller_register_interrupt
1782
spdk_poller_register_named
165524
spdk_poller_resume
165
spdk_poller_unregister
369679
spdk_put_io_channel
304438
spdk_set_thread
434894264
spdk_spin_destroy
73947
spdk_spin_held
3184132
spdk_spin_init
115212
spdk_spin_lock
2299561
spdk_spin_unlock
2299553
spdk_thread_bind
19
spdk_thread_create
7242
spdk_thread_destroy
7140
spdk_thread_exit
7246
spdk_thread_get_app_thread
20691
spdk_thread_get_by_id
686
spdk_thread_get_count
379
spdk_thread_get_cpumask
27806
spdk_thread_get_ctx
37170
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
17998570072
spdk_thread_get_id
89095
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
9088243819
spdk_thread_get_name
1225
spdk_thread_get_next_active_poller
48
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
8297
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
1858667
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
36114
spdk_thread_is_bound
118
spdk_thread_is_exited
9026499727
spdk_thread_is_idle
55380511
spdk_thread_is_running
3442
spdk_thread_lib_fini
2602
spdk_thread_lib_init
298
spdk_thread_lib_init_ext
2310
spdk_thread_next_poller_expiration
23758
spdk_thread_poll
9261463733
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1322
spdk_thread_send_msg
19445740
spdk_thread_set_cpumask
11942
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
73944
sspin_init_internal
115212
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
7864460882
thread_execute_timed_poller
24028145
thread_exit
424080
thread_get_io_channel
4152352
thread_has_unpaused_pollers
55380676
thread_insert_poller
165816
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
920524
thread_poll
9261484933
thread_run_pp_handlers
0
thread_send_msg_notification
19447061
thread_trace
2271
thread_update_stats
9261544732
timed_poller_compare
152004936
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
24037049
timed_pollers_tree_RB_INSERT_COLOR
24037049
timed_pollers_tree_RB_MINMAX
16056
timed_pollers_tree_RB_NEXT
24046817
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
24036988
timed_pollers_tree_RB_REMOVE_COLOR
20294670
wrong_thread
0
Generated by:
LCOV version 1.14