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-14 02:39:22
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4020
10466
38.4 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
556
_call_channel
714715
_call_completion
664632
_finish_unregister
32176
_free_thread
6683
_get_thread
9496786844
_interrupt_wrapper
97081208
_on_thread
763
_thread_exit
137
_thread_lib_init
2468
_thread_remove_pollers
710
_thread_trace
2753
alloc_interrupt
898
busy_poller_interrupt_init
642
busy_poller_set_interrupt_mode
642
convert_us_to_ticks
143028
interrupt_fd_group_wrapper
159292
interrupt_timerfd_process
59063
io_channel_cmp
11008252
io_channel_tree_RB_FIND
3972887
io_channel_tree_RB_INSERT
83456
io_channel_tree_RB_INSERT_COLOR
83456
io_channel_tree_RB_MINMAX
13449
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
83450
io_channel_tree_RB_REMOVE_COLOR
70466
io_device_cmp
4292784
io_device_free
40874
io_device_get
980215
io_device_tree_RB_FIND
980215
io_device_tree_RB_INSERT
40883
io_device_tree_RB_INSERT_COLOR
40877
io_device_tree_RB_MINMAX
2474
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
40877
io_device_tree_RB_REMOVE_COLOR
34325
msg_queue_run_batch
8846758949
period_poller_interrupt_init
132
period_poller_set_interrupt_mode
140
poller_insert_timer
24545786
poller_interrupt_fini
774
poller_register
143028
poller_remove_timer
136
poller_set_interrupt_mode
8
put_io_channel
83524
register_flag_thread
2753
spdk_for_each_channel
664632
spdk_for_each_channel_continue
714715
spdk_for_each_thread
556
spdk_get_io_channel
274694
spdk_get_thread
632328913
spdk_interrupt_mode_enable
27
spdk_interrupt_mode_is_enabled
492494777
spdk_interrupt_register
791
spdk_interrupt_register_ext
896
spdk_interrupt_register_fd_group
2
spdk_interrupt_register_for_events
895
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
2231
spdk_io_channel_from_ctx
23729981
spdk_io_channel_get_io_device
15590235
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
376776771
spdk_io_channel_iter_get_channel
630130
spdk_io_channel_iter_get_ctx
1290478
spdk_io_channel_iter_get_io_device
671100
spdk_io_device_get_name
0
spdk_io_device_register
40883
spdk_io_device_unregister
40880
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
163
spdk_poller_register
187
spdk_poller_register_interrupt
1502
spdk_poller_register_named
142841
spdk_poller_resume
160
spdk_poller_unregister
276167
spdk_put_io_channel
274680
spdk_set_thread
196744897
spdk_spin_destroy
82709
spdk_spin_held
7037736
spdk_spin_init
121428
spdk_spin_lock
2155348
spdk_spin_unlock
2155340
spdk_thread_bind
19
spdk_thread_create
6794
spdk_thread_destroy
6691
spdk_thread_exit
6797
spdk_thread_get_app_thread
19961
spdk_thread_get_by_id
659
spdk_thread_get_count
372
spdk_thread_get_cpumask
23785
spdk_thread_get_ctx
28648
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
17320323763
spdk_thread_get_id
81974
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
160
spdk_thread_get_last_tsc
8742825424
spdk_thread_get_name
1071
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
7871
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
1829870
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
34121
spdk_thread_is_bound
114
spdk_thread_is_exited
8680482678
spdk_thread_is_idle
52141061
spdk_thread_is_running
3163
spdk_thread_lib_fini
2462
spdk_thread_lib_init
292
spdk_thread_lib_init_ext
2176
spdk_thread_next_poller_expiration
16383
spdk_thread_poll
8846051324
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1214
spdk_thread_send_msg
17649222
spdk_thread_set_cpumask
8142
spdk_thread_set_interrupt_mode
84
sspin_fini_internal
82706
sspin_init_internal
121428
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
7333992952
thread_execute_timed_poller
24538443
thread_exit
490421
thread_get_io_channel
3972887
thread_has_unpaused_pollers
52138498
thread_insert_poller
143128
thread_interrupt_create
68
thread_interrupt_destroy
68
thread_interrupt_msg_process
477203
thread_poll
8846093668
thread_run_pp_handlers
0
thread_send_msg_notification
17650436
thread_trace
2138
thread_update_stats
8846164970
timed_poller_compare
158893348
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
24545786
timed_pollers_tree_RB_INSERT_COLOR
24545786
timed_pollers_tree_RB_MINMAX
14440
timed_pollers_tree_RB_NEXT
24553743
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
24545726
timed_pollers_tree_RB_REMOVE_COLOR
20856294
wrong_thread
0
Generated by:
LCOV version 1.14