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:53:33
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3970
10466
37.9 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
584
_call_channel
791428
_call_completion
695085
_finish_unregister
34677
_free_thread
7323
_get_thread
10930559091
_interrupt_wrapper
243683175
_on_thread
791
_thread_exit
253
_thread_lib_init
2666
_thread_remove_pollers
1489
_thread_trace
3044
alloc_interrupt
1814
busy_poller_interrupt_init
1332
busy_poller_set_interrupt_mode
1332
convert_us_to_ticks
167263
interrupt_fd_group_wrapper
158495
interrupt_timerfd_process
94841
io_channel_cmp
10813656
io_channel_tree_RB_FIND
4059808
io_channel_tree_RB_INSERT
97000
io_channel_tree_RB_INSERT_COLOR
97000
io_channel_tree_RB_MINMAX
14732
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
96994
io_channel_tree_RB_REMOVE_COLOR
82913
io_device_cmp
4536804
io_device_free
44124
io_device_get
1049368
io_device_tree_RB_FIND
1049368
io_device_tree_RB_INSERT
44133
io_device_tree_RB_INSERT_COLOR
44127
io_device_tree_RB_MINMAX
2672
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
44127
io_device_tree_RB_REMOVE_COLOR
37227
msg_queue_run_batch
10088521337
period_poller_interrupt_init
247
period_poller_set_interrupt_mode
255
poller_insert_timer
25173025
poller_interrupt_fini
1579
poller_register
167263
poller_remove_timer
251
poller_set_interrupt_mode
8
put_io_channel
97065
register_flag_thread
3044
spdk_for_each_channel
695085
spdk_for_each_channel_continue
791428
spdk_for_each_thread
584
spdk_get_io_channel
310144
spdk_get_thread
822913574
spdk_interrupt_mode_enable
42
spdk_interrupt_mode_is_enabled
514526754
spdk_interrupt_register
1613
spdk_interrupt_register_ext
1812
spdk_interrupt_register_fd_group
2
spdk_interrupt_register_for_events
1811
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3846
spdk_io_channel_from_ctx
23749614
spdk_io_channel_get_io_device
16074826
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
407439165
spdk_io_channel_iter_get_channel
722249
spdk_io_channel_iter_get_ctx
1419640
spdk_io_channel_iter_get_io_device
664022
spdk_io_device_get_name
0
spdk_io_device_register
44133
spdk_io_device_unregister
44130
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
1841
spdk_poller_register_named
167076
spdk_poller_resume
165
spdk_poller_unregister
349833
spdk_put_io_channel
310130
spdk_set_thread
490783671
spdk_spin_destroy
90613
spdk_spin_held
7532165
spdk_spin_init
132908
spdk_spin_lock
2422059
spdk_spin_unlock
2422051
spdk_thread_bind
19
spdk_thread_create
7434
spdk_thread_destroy
7331
spdk_thread_exit
7437
spdk_thread_get_app_thread
21068
spdk_thread_get_by_id
702
spdk_thread_get_count
384
spdk_thread_get_cpumask
28934
spdk_thread_get_ctx
37505
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
19715435241
spdk_thread_get_id
91090
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
278
spdk_thread_get_last_tsc
9934104058
spdk_thread_get_name
1232
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
8518
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
1810185
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
37242
spdk_thread_is_bound
120
spdk_thread_is_exited
9882697910
spdk_thread_is_idle
58491151
spdk_thread_is_running
3509
spdk_thread_lib_fini
2660
spdk_thread_lib_init
298
spdk_thread_lib_init_ext
2368
spdk_thread_next_poller_expiration
23633
spdk_thread_poll
10087435821
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1372
spdk_thread_send_msg
19465187
spdk_thread_set_cpumask
11918
spdk_thread_set_interrupt_mode
143
sspin_fini_internal
90610
sspin_init_internal
132908
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
8804243470
thread_execute_timed_poller
25164130
thread_exit
492461
thread_get_io_channel
4059808
thread_has_unpaused_pollers
58489446
thread_insert_poller
167368
thread_interrupt_create
127
thread_interrupt_destroy
127
thread_interrupt_msg_process
894183
thread_poll
10087457544
thread_run_pp_handlers
0
thread_send_msg_notification
19466559
thread_trace
2329
thread_update_stats
10087218508
timed_poller_compare
156330266
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
25173025
timed_pollers_tree_RB_INSERT_COLOR
25173025
timed_pollers_tree_RB_MINMAX
16611
timed_pollers_tree_RB_NEXT
25182927
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
25172965
timed_pollers_tree_RB_REMOVE_COLOR
21201798
wrong_thread
0
Generated by:
LCOV version 1.15