LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1224
1532
79.9 %
Date:
2024-12-11 10:12:50
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3979
10466
38.0 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
563
_call_channel
621460
_call_completion
526013
_finish_unregister
33302
_free_thread
7087
_get_thread
8464389143
_interrupt_wrapper
240008064
_on_thread
770
_thread_exit
248
_thread_lib_init
2587
_thread_remove_pollers
1470
_thread_trace
2907
alloc_interrupt
1840
busy_poller_interrupt_init
1371
busy_poller_set_interrupt_mode
1371
convert_us_to_ticks
164647
interrupt_fd_group_wrapper
161509
interrupt_timerfd_process
94084
io_channel_cmp
9708224
io_channel_tree_RB_FIND
3684475
io_channel_tree_RB_INSERT
93870
io_channel_tree_RB_INSERT_COLOR
93870
io_channel_tree_RB_MINMAX
14259
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
93864
io_channel_tree_RB_REMOVE_COLOR
80098
io_device_cmp
3577687
io_device_free
42487
io_device_get
867489
io_device_tree_RB_FIND
867489
io_device_tree_RB_INSERT
42496
io_device_tree_RB_INSERT_COLOR
42490
io_device_tree_RB_MINMAX
2593
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
42490
io_device_tree_RB_REMOVE_COLOR
35697
msg_queue_run_batch
7804473401
period_poller_interrupt_init
240
period_poller_set_interrupt_mode
248
poller_insert_timer
19867172
poller_interrupt_fini
1611
poller_register
164646
poller_remove_timer
244
poller_set_interrupt_mode
8
put_io_channel
93929
register_flag_thread
2907
spdk_for_each_channel
526013
spdk_for_each_channel_continue
621460
spdk_for_each_thread
563
spdk_get_io_channel
298973
spdk_get_thread
646816724
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
157815081
spdk_interrupt_register
1639
spdk_interrupt_register_ext
1838
spdk_interrupt_register_fd_group
2
spdk_interrupt_register_for_events
1837
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3678
spdk_io_channel_from_ctx
14989210
spdk_io_channel_get_io_device
9837088
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
280482187
spdk_io_channel_iter_get_channel
642184
spdk_io_channel_iter_get_ctx
1167023
spdk_io_channel_iter_get_io_device
706337
spdk_io_device_get_name
0
spdk_io_device_register
42496
spdk_io_device_unregister
42494
spdk_poller_get_id
17
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_state_str
35
spdk_poller_get_stats
14
spdk_poller_pause
168
spdk_poller_register
187
spdk_poller_register_interrupt
1742
spdk_poller_register_named
164460
spdk_poller_resume
165
spdk_poller_unregister
340236
spdk_put_io_channel
298958
spdk_set_thread
483332357
spdk_spin_destroy
87201
spdk_spin_held
1822305
spdk_spin_init
128258
spdk_spin_lock
1859189
spdk_spin_unlock
1859181
spdk_thread_bind
19
spdk_thread_create
7198
spdk_thread_destroy
7095
spdk_thread_exit
7201
spdk_thread_get_app_thread
19951
spdk_thread_get_by_id
659
spdk_thread_get_count
377
spdk_thread_get_cpumask
28277
spdk_thread_get_ctx
36788
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
15129245293
spdk_thread_get_id
79272
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
7612828445
spdk_thread_get_name
1215
spdk_thread_get_next_active_poller
48
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
8206
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
1805559
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
35716
spdk_thread_is_bound
121
spdk_thread_is_exited
7586470978
spdk_thread_is_idle
56609657
spdk_thread_is_running
3151
spdk_thread_lib_fini
2581
spdk_thread_lib_init
298
spdk_thread_lib_init_ext
2289
spdk_thread_next_poller_expiration
23281
spdk_thread_poll
7803425153
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1312
spdk_thread_send_msg
13529311
spdk_thread_set_cpumask
11794
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
87198
sspin_init_internal
128258
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
5535337351
thread_execute_timed_poller
19859031
thread_exit
3485501
thread_get_io_channel
3684475
thread_has_unpaused_pollers
56606680
thread_insert_poller
164752
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
840074
thread_poll
7803438585
thread_run_pp_handlers
0
thread_send_msg_notification
13530622
thread_trace
2250
thread_update_stats
7803216279
timed_poller_compare
136420037
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
19867172
timed_pollers_tree_RB_INSERT_COLOR
19867172
timed_pollers_tree_RB_MINMAX
16110
timed_pollers_tree_RB_NEXT
19876385
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
19867111
timed_pollers_tree_RB_REMOVE_COLOR
16960244
wrong_thread
0
Generated by:
LCOV version 1.15