LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1085
1305
83.1 %
Date:
2024-07-10 22:01:07
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
773
1128
68.5 %
Function Name
Hit count
__pending_unregister
6
__posix_abort
0
_back_to_orig_thread
512
_call_channel
703104
_call_completion
643242
_finish_unregister
44163
_free_thread
8322
_get_thread
12330177272
_interrupt_wrapper
3990717
_on_thread
660
_thread_exit
17
_thread_lib_init
3255
_thread_remove_pollers
141
_thread_trace
3145
busy_poller_interrupt_init
139
busy_poller_set_interrupt_mode
139
convert_us_to_ticks
261786
interrupt_timerfd_process
8322
io_channel_cmp
10598971
io_channel_tree_RB_FIND
3899350
io_channel_tree_RB_INSERT
118529
io_channel_tree_RB_INSERT_COLOR
118529
io_channel_tree_RB_MINMAX
16805
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
118523
io_channel_tree_RB_REMOVE_COLOR
95572
io_device_cmp
4340712
io_device_free
54623
io_device_get
1045593
io_device_tree_RB_FIND
1045593
io_device_tree_RB_INSERT
54641
io_device_tree_RB_INSERT_COLOR
54629
io_device_tree_RB_MINMAX
3273
io_device_tree_RB_NEXT
54
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
54629
io_device_tree_RB_REMOVE_COLOR
44846
msg_queue_run_batch
11869960230
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
23669325
poller_interrupt_fini
154
poller_register
261786
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
118590
register_flag_thread
3145
spdk_for_each_channel
643242
spdk_for_each_channel_continue
703104
spdk_for_each_thread
512
spdk_get_io_channel
347698
spdk_get_thread
452694449
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
247689634
spdk_interrupt_register
172
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
322
spdk_io_channel_from_ctx
36315951
spdk_io_channel_get_io_device
28129584
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
385261751
spdk_io_channel_iter_get_channel
721896
spdk_io_channel_iter_get_ctx
1266338
spdk_io_channel_iter_get_io_device
640030
spdk_io_device_get_name
0
spdk_io_device_register
54641
spdk_io_device_unregister
54635
spdk_poller_get_id
8
spdk_poller_get_name
8
spdk_poller_get_period_ticks
8
spdk_poller_get_state_str
8
spdk_poller_get_stats
8
spdk_poller_pause
257
spdk_poller_register
310
spdk_poller_register_interrupt
796
spdk_poller_register_named
261476
spdk_poller_resume
197
spdk_poller_unregister
588549
spdk_put_io_channel
347674
spdk_set_thread
72109083
spdk_spin_destroy
103658
spdk_spin_held
5431544
spdk_spin_init
144389
spdk_spin_lock
2467198
spdk_spin_unlock
2467190
spdk_thread_bind
22
spdk_thread_create
8532
spdk_thread_destroy
8333
spdk_thread_exit
8529
spdk_thread_get_app_thread
37622
spdk_thread_get_by_id
553
spdk_thread_get_count
318
spdk_thread_get_cpumask
28788
spdk_thread_get_ctx
38732
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
23308398984
spdk_thread_get_id
77873
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
11664297758
spdk_thread_get_name
786
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
8717
spdk_thread_has_active_pollers
1793089
spdk_thread_has_pollers
12
spdk_thread_is_app_thread
40336
spdk_thread_is_bound
104
spdk_thread_is_exited
11670925516
spdk_thread_is_idle
85843313
spdk_thread_is_running
3894
spdk_thread_lib_fini
3249
spdk_thread_lib_init
473
spdk_thread_lib_init_ext
2782
spdk_thread_next_poller_expiration
22095
spdk_thread_poll
11869959725
spdk_thread_send_critical_msg
1436
spdk_thread_send_msg
6485293
spdk_thread_set_cpumask
12016
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
103652
sspin_init_internal
144389
sspin_stack_print
102
sspin_stacks_print
34
thread_execute_poller
13467024468
thread_execute_timed_poller
23663793
thread_exit
883638
thread_get_io_channel
3899350
thread_has_unpaused_pollers
85843325
thread_insert_poller
261929
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
628
thread_poll
11869959725
thread_send_msg_notification
6486729
thread_trace
2719
thread_update_stats
11869959725
timed_poller_compare
137469361
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
23669325
timed_pollers_tree_RB_INSERT_COLOR
23669325
timed_pollers_tree_RB_MINMAX
17133
timed_pollers_tree_RB_NEXT
23675163
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
23669205
timed_pollers_tree_RB_REMOVE_COLOR
18357545
wrong_thread
0
Generated by:
LCOV version 1.14