LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1172
1453
80.7 %
Date:
2024-12-13 11:44:12
Functions:
139
160
86.9 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3780
10254
36.9 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
491
_call_channel
777198
_call_completion
699126
_finish_unregister
34198
_free_thread
8656
_get_thread
9481392986
_interrupt_wrapper
3747103
_on_thread
693
_thread_exit
17
_thread_lib_init
3295
_thread_remove_pollers
142
_thread_trace
3275
busy_poller_interrupt_init
155
busy_poller_set_interrupt_mode
155
convert_us_to_ticks
294962
interrupt_timerfd_process
8155
io_channel_cmp
11688659
io_channel_tree_RB_FIND
4278320
io_channel_tree_RB_INSERT
108698
io_channel_tree_RB_INSERT_COLOR
108698
io_channel_tree_RB_MINMAX
17389
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
108698
io_channel_tree_RB_REMOVE_COLOR
93237
io_device_cmp
4570518
io_device_free
43870
io_device_get
1083499
io_device_tree_RB_FIND
1083499
io_device_tree_RB_INSERT
43876
io_device_tree_RB_INSERT_COLOR
43870
io_device_tree_RB_MINMAX
3304
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
43870
io_device_tree_RB_REMOVE_COLOR
36297
msg_queue_run_batch
8910897757
period_poller_interrupt_init
15
period_poller_set_interrupt_mode
23
poller_insert_timer
23054893
poller_interrupt_fini
170
poller_register
294962
poller_remove_timer
19
poller_set_interrupt_mode
8
put_io_channel
108754
register_flag_thread
3275
spdk_for_each_channel
699126
spdk_for_each_channel_continue
777198
spdk_for_each_thread
491
spdk_get_io_channel
340492
spdk_get_thread
559589836
spdk_interrupt_mode_enable
13
spdk_interrupt_mode_is_enabled
10987036
spdk_interrupt_register
188
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
569
spdk_io_channel_from_ctx
27419156
spdk_io_channel_get_io_device
21759165
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
442565450
spdk_io_channel_iter_get_channel
838658
spdk_io_channel_iter_get_ctx
1410020
spdk_io_channel_iter_get_io_device
699021
spdk_io_device_get_name
0
spdk_io_device_register
43876
spdk_io_device_unregister
43873
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
140
spdk_poller_register
157
spdk_poller_register_interrupt
809
spdk_poller_register_named
294805
spdk_poller_resume
110
spdk_poller_unregister
729153
spdk_put_io_channel
340483
spdk_set_thread
70589784
spdk_spin_destroy
94228
spdk_spin_held
9917371
spdk_spin_init
131284
spdk_spin_lock
3789144
spdk_spin_unlock
3789136
spdk_thread_bind
19
spdk_thread_create
8761
spdk_thread_destroy
8662
spdk_thread_exit
8768
spdk_thread_get_app_thread
25269
spdk_thread_get_by_id
463
spdk_thread_get_count
306
spdk_thread_get_cpumask
34145
spdk_thread_get_ctx
48164
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
17411083560
spdk_thread_get_id
78885
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
58
spdk_thread_get_last_tsc
8746596120
spdk_thread_get_name
543
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
9246
spdk_thread_has_active_pollers
2050130
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
37304
spdk_thread_is_bound
68
spdk_thread_is_exited
8725626344
spdk_thread_is_idle
72226167
spdk_thread_is_running
3856
spdk_thread_lib_fini
3292
spdk_thread_lib_init
256
spdk_thread_lib_init_ext
3039
spdk_thread_next_poller_expiration
47692
spdk_thread_poll
8910623117
spdk_thread_send_critical_msg
1280
spdk_thread_send_msg
10337441
spdk_thread_set_cpumask
15990
spdk_thread_set_interrupt_mode
33
sspin_fini_internal
94225
sspin_init_internal
131284
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
11765569210
thread_execute_timed_poller
23047065
thread_exit
3012438
thread_get_io_channel
4278320
thread_has_unpaused_pollers
72224799
thread_insert_poller
295044
thread_interrupt_create
17
thread_interrupt_destroy
17
thread_interrupt_msg_process
639
thread_poll
8910627880
thread_send_msg_notification
10338721
thread_trace
3005
thread_update_stats
8910334120
timed_poller_compare
143055792
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
23054893
timed_pollers_tree_RB_INSERT_COLOR
23054892
timed_pollers_tree_RB_MINMAX
17701
timed_pollers_tree_RB_NEXT
23063209
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
23054833
timed_pollers_tree_RB_REMOVE_COLOR
18279512
wrong_thread
0
Generated by:
LCOV version 1.15