LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1089
1309
83.2 %
Date:
2024-07-15 17:02:08
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
775
1132
68.5 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
477
_call_channel
484438
_call_completion
419211
_finish_unregister
34378
_free_thread
7087
_get_thread
10063366604
_interrupt_wrapper
3904772
_on_thread
613
_thread_exit
14
_thread_lib_init
2720
_thread_remove_pollers
111
_thread_trace
3086
busy_poller_interrupt_init
108
busy_poller_set_interrupt_mode
108
convert_us_to_ticks
248089
interrupt_timerfd_process
6658
io_channel_cmp
7366553
io_channel_tree_RB_FIND
2751557
io_channel_tree_RB_INSERT
100220
io_channel_tree_RB_INSERT_COLOR
100220
io_channel_tree_RB_MINMAX
14254
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
100217
io_channel_tree_RB_REMOVE_COLOR
84363
io_device_cmp
3073598
io_device_free
43347
io_device_get
763084
io_device_tree_RB_FIND
763084
io_device_tree_RB_INSERT
43356
io_device_tree_RB_INSERT_COLOR
43350
io_device_tree_RB_MINMAX
2729
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
43350
io_device_tree_RB_REMOVE_COLOR
36680
msg_queue_run_batch
9733433505
period_poller_interrupt_init
12
period_poller_set_interrupt_mode
18
poller_insert_timer
17949989
poller_interrupt_fini
120
poller_register
248089
poller_remove_timer
15
poller_set_interrupt_mode
6
put_io_channel
100283
register_flag_thread
3086
spdk_for_each_channel
419211
spdk_for_each_channel_continue
484438
spdk_for_each_thread
477
spdk_get_io_channel
300511
spdk_get_thread
322473776
spdk_interrupt_mode_enable
10
spdk_interrupt_mode_is_enabled
85836752
spdk_interrupt_register
135
spdk_interrupt_register_for_events
135
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
283
spdk_io_channel_from_ctx
21915616
spdk_io_channel_get_io_device
17222966
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
236693763
spdk_io_channel_iter_get_channel
585001
spdk_io_channel_iter_get_ctx
912304
spdk_io_channel_iter_get_io_device
576461
spdk_io_device_get_name
0
spdk_io_device_register
43356
spdk_io_device_unregister
43353
spdk_poller_get_id
6
spdk_poller_get_name
6
spdk_poller_get_period_ticks
6
spdk_poller_get_state_str
6
spdk_poller_get_stats
6
spdk_poller_pause
143
spdk_poller_register
156
spdk_poller_register_interrupt
722
spdk_poller_register_named
247933
spdk_poller_resume
113
spdk_poller_unregister
640892
spdk_put_io_channel
300499
spdk_set_thread
8867998
spdk_spin_destroy
89621
spdk_spin_held
3345154
spdk_spin_init
126018
spdk_spin_lock
2109679
spdk_spin_unlock
2109673
spdk_thread_bind
19
spdk_thread_create
7192
spdk_thread_destroy
7092
spdk_thread_exit
7194
spdk_thread_get_app_thread
28446
spdk_thread_get_by_id
487
spdk_thread_get_count
263
spdk_thread_get_cpumask
26805
spdk_thread_get_ctx
36625
spdk_thread_get_first_active_poller
120
spdk_thread_get_first_io_channel
0
spdk_thread_get_first_paused_poller
120
spdk_thread_get_first_timed_poller
120
spdk_thread_get_from_ctx
19039517035
spdk_thread_get_id
68288
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
46
spdk_thread_get_last_tsc
9538021514
spdk_thread_get_name
1040
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
72
spdk_thread_get_stats
8137
spdk_thread_has_active_pollers
1705974
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
35401
spdk_thread_is_bound
73
spdk_thread_is_exited
9541723733
spdk_thread_is_idle
85265885
spdk_thread_is_running
3256
spdk_thread_lib_fini
2717
spdk_thread_lib_init
251
spdk_thread_lib_init_ext
2469
spdk_thread_next_poller_expiration
21509
spdk_thread_poll
9733433112
spdk_thread_send_critical_msg
1299
spdk_thread_send_msg
6702787
spdk_thread_set_cpumask
11756
spdk_thread_set_interrupt_mode
26
sspin_fini_internal
89618
sspin_init_internal
126018
sspin_stack_print
54
sspin_stacks_print
18
thread_execute_poller
9944965715
thread_execute_timed_poller
17945198
thread_exit
3026823
thread_get_io_channel
2751557
thread_has_unpaused_pollers
85265891
thread_insert_poller
248175
thread_interrupt_create
14
thread_interrupt_destroy
14
thread_interrupt_msg_process
521
thread_poll
9733433112
thread_send_msg_notification
6704086
thread_trace
2436
thread_update_stats
9733433112
timed_poller_compare
114826032
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
17949989
timed_pollers_tree_RB_INSERT_COLOR
17949989
timed_pollers_tree_RB_MINMAX
14522
timed_pollers_tree_RB_NEXT
17955192
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
17949929
timed_pollers_tree_RB_REMOVE_COLOR
14136760
wrong_thread
0
Generated by:
LCOV version 1.14