LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1202
1483
81.1 %
Date:
2024-11-20 16:36:33
Functions:
141
163
86.5 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4166
10270
40.6 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
517
_call_channel
688699
_call_completion
599702
_finish_unregister
33809
_free_thread
7038
_get_thread
8005189120
_interrupt_wrapper
270508133
_on_thread
631
_thread_exit
242
_thread_lib_init
2599
_thread_remove_pollers
1410
_thread_trace
2862
busy_poller_interrupt_init
1274
busy_poller_set_interrupt_mode
1274
convert_us_to_ticks
153561
interrupt_timerfd_process
84960
io_channel_cmp
10953691
io_channel_tree_RB_FIND
4185071
io_channel_tree_RB_INSERT
94836
io_channel_tree_RB_INSERT_COLOR
94836
io_channel_tree_RB_MINMAX
14187
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
94828
io_channel_tree_RB_REMOVE_COLOR
80638
io_device_cmp
3786393
io_device_free
42982
io_device_get
944259
io_device_tree_RB_FIND
944259
io_device_tree_RB_INSERT
42994
io_device_tree_RB_INSERT_COLOR
42986
io_device_tree_RB_MINMAX
2611
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
42986
io_device_tree_RB_REMOVE_COLOR
36026
msg_queue_run_batch
7328575413
period_poller_interrupt_init
229
period_poller_set_interrupt_mode
237
poller_insert_timer
23171394
poller_interrupt_fini
1503
poller_register
153560
poller_remove_timer
233
poller_set_interrupt_mode
8
put_io_channel
94901
register_flag_thread
2862
spdk_for_each_channel
599703
spdk_for_each_channel_continue
688699
spdk_for_each_thread
517
spdk_get_io_channel
301554
spdk_get_thread
674439255
spdk_interrupt_mode_enable
40
spdk_interrupt_mode_is_enabled
140618166
spdk_interrupt_register
1531
spdk_interrupt_register_ext
1729
spdk_interrupt_register_for_events
1729
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3603
spdk_io_channel_from_ctx
17675978
spdk_io_channel_get_io_device
13312695
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
311020928
spdk_io_channel_iter_get_channel
699261
spdk_io_channel_iter_get_ctx
1308448
spdk_io_channel_iter_get_io_device
810474
spdk_io_device_get_name
0
spdk_io_device_register
42994
spdk_io_device_unregister
42990
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
2436
spdk_poller_register_named
153317
spdk_poller_resume
205
spdk_poller_unregister
353803
spdk_put_io_channel
301533
spdk_set_thread
544201344
spdk_spin_destroy
88662
spdk_spin_held
1824007
spdk_spin_init
128616
spdk_spin_lock
1898229
spdk_spin_unlock
1898218
spdk_thread_bind
20
spdk_thread_create
7172
spdk_thread_destroy
7047
spdk_thread_exit
7188
spdk_thread_get_app_thread
22359
spdk_thread_get_by_id
392
spdk_thread_get_count
393
spdk_thread_get_cpumask
27349
spdk_thread_get_ctx
36256
spdk_thread_get_first_active_poller
24
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
24
spdk_thread_get_first_timed_poller
24
spdk_thread_get_from_ctx
14114450764
spdk_thread_get_id
77108
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
264
spdk_thread_get_last_tsc
7076105004
spdk_thread_get_name
854
spdk_thread_get_next_active_poller
0
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
spdk_thread_get_next_timed_poller
24
spdk_thread_get_stats
6718
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3782271
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
35008
spdk_thread_is_bound
72
spdk_thread_is_exited
7096019205
spdk_thread_is_idle
55192462
spdk_thread_is_running
3041
spdk_thread_lib_fini
2595
spdk_thread_lib_init
367
spdk_thread_lib_init_ext
2232
spdk_thread_next_poller_expiration
23431
spdk_thread_poll
7326895210
spdk_thread_send_critical_msg
1267
spdk_thread_send_msg
11149769
spdk_thread_set_cpumask
11804
spdk_thread_set_interrupt_mode
136
sspin_fini_internal
88658
sspin_init_internal
128616
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
6511985745
thread_execute_timed_poller
23163738
thread_exit
3380703
thread_get_io_channel
4185071
thread_has_unpaused_pollers
55190029
thread_insert_poller
153686
thread_interrupt_create
120
thread_interrupt_destroy
120
thread_interrupt_msg_process
952661
thread_poll
7327576898
thread_send_msg_notification
11151031
thread_trace
2182
thread_update_stats
7327148498
timed_poller_compare
179446401
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
23171394
timed_pollers_tree_RB_INSERT_COLOR
23171394
timed_pollers_tree_RB_MINMAX
15880
timed_pollers_tree_RB_NEXT
23179969
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
23171313
timed_pollers_tree_RB_REMOVE_COLOR
20333980
wrong_thread
0
Generated by:
LCOV version 1.15