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 12:57:56
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4196
10270
40.9 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
564
_call_channel
695716
_call_completion
610220
_finish_unregister
34818
_free_thread
7423
_get_thread
8658903902
_interrupt_wrapper
275694730
_on_thread
775
_thread_exit
247
_thread_lib_init
2708
_thread_remove_pollers
2783
_thread_trace
3003
busy_poller_interrupt_init
2922
busy_poller_set_interrupt_mode
2922
convert_us_to_ticks
159536
interrupt_timerfd_process
97711
io_channel_cmp
11569295
io_channel_tree_RB_FIND
4346742
io_channel_tree_RB_INSERT
96350
io_channel_tree_RB_INSERT_COLOR
96350
io_channel_tree_RB_MINMAX
14955
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
96342
io_channel_tree_RB_REMOVE_COLOR
81831
io_device_cmp
3925814
io_device_free
44307
io_device_get
961421
io_device_tree_RB_FIND
961421
io_device_tree_RB_INSERT
44319
io_device_tree_RB_INSERT_COLOR
44311
io_device_tree_RB_MINMAX
2720
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
44311
io_device_tree_RB_REMOVE_COLOR
37195
msg_queue_run_batch
7940355513
period_poller_interrupt_init
241
period_poller_set_interrupt_mode
249
poller_insert_timer
25925364
poller_interrupt_fini
3163
poller_register
159535
poller_remove_timer
245
poller_set_interrupt_mode
8
put_io_channel
96414
register_flag_thread
3003
spdk_for_each_channel
610224
spdk_for_each_channel_continue
695716
spdk_for_each_thread
564
spdk_get_io_channel
306870
spdk_get_thread
715241822
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
157356766
spdk_interrupt_register
3193
spdk_interrupt_register_ext
3392
spdk_interrupt_register_for_events
3391
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
5214
spdk_io_channel_from_ctx
18095379
spdk_io_channel_get_io_device
13290462
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
330842788
spdk_io_channel_iter_get_channel
707025
spdk_io_channel_iter_get_ctx
1326018
spdk_io_channel_iter_get_io_device
838047
spdk_io_device_get_name
0
spdk_io_device_register
44319
spdk_io_device_unregister
44315
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
2552
spdk_poller_register_named
159295
spdk_poller_resume
205
spdk_poller_unregister
357970
spdk_put_io_channel
306847
spdk_set_thread
554702666
spdk_spin_destroy
90065
spdk_spin_held
1828740
spdk_spin_init
131583
spdk_spin_lock
1887347
spdk_spin_unlock
1887337
spdk_thread_bind
20
spdk_thread_create
7557
spdk_thread_destroy
7431
spdk_thread_exit
7573
spdk_thread_get_app_thread
22785
spdk_thread_get_by_id
680
spdk_thread_get_count
408
spdk_thread_get_cpumask
28791
spdk_thread_get_ctx
37321
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
15242158408
spdk_thread_get_id
78023
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
7650160253
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
8440
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3287253
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36558
spdk_thread_is_bound
135
spdk_thread_is_exited
7673519802
spdk_thread_is_idle
57259434
spdk_thread_is_running
3215
spdk_thread_lib_fini
2704
spdk_thread_lib_init
368
spdk_thread_lib_init_ext
2340
spdk_thread_next_poller_expiration
23190
spdk_thread_poll
7938895162
spdk_thread_send_critical_msg
1329
spdk_thread_send_msg
12207944
spdk_thread_set_cpumask
11872
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
90061
sspin_init_internal
131583
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
6970728542
thread_execute_timed_poller
25917212
thread_exit
3264288
thread_get_io_channel
4346742
thread_has_unpaused_pollers
57256530
thread_insert_poller
159660
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
1014694
thread_poll
7939829892
thread_send_msg_notification
12209268
thread_trace
2290
thread_update_stats
7939346689
timed_poller_compare
198657186
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
25925364
timed_pollers_tree_RB_INSERT_COLOR
25925364
timed_pollers_tree_RB_MINMAX
18122
timed_pollers_tree_RB_NEXT
25935914
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
25925282
timed_pollers_tree_RB_REMOVE_COLOR
22919185
wrong_thread
0
Generated by:
LCOV version 1.14