LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1195
1490
80.2 %
Date:
2024-12-09 17:50:04
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3959
10364
38.2 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
563
_call_channel
599681
_call_completion
507270
_finish_unregister
33293
_free_thread
7078
_get_thread
8615276286
_interrupt_wrapper
218375176
_on_thread
770
_thread_exit
248
_thread_lib_init
2584
_thread_remove_pollers
1703
_thread_trace
2907
busy_poller_interrupt_init
1606
busy_poller_set_interrupt_mode
1606
convert_us_to_ticks
157857
interrupt_timerfd_process
94686
io_channel_cmp
9461964
io_channel_tree_RB_FIND
3575189
io_channel_tree_RB_INSERT
94229
io_channel_tree_RB_INSERT_COLOR
94229
io_channel_tree_RB_MINMAX
14241
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
94223
io_channel_tree_RB_REMOVE_COLOR
80482
io_device_cmp
3462794
io_device_free
42472
io_device_get
849627
io_device_tree_RB_FIND
849627
io_device_tree_RB_INSERT
42481
io_device_tree_RB_INSERT_COLOR
42475
io_device_tree_RB_MINMAX
2590
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
42475
io_device_tree_RB_REMOVE_COLOR
35686
msg_queue_run_batch
7961855345
period_poller_interrupt_init
243
period_poller_set_interrupt_mode
251
poller_insert_timer
20417441
poller_interrupt_fini
1849
poller_register
157858
poller_remove_timer
247
poller_set_interrupt_mode
8
put_io_channel
94299
register_flag_thread
2907
spdk_for_each_channel
507270
spdk_for_each_channel_continue
599681
spdk_for_each_thread
563
spdk_get_io_channel
299870
spdk_get_thread
640436507
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
162880680
spdk_interrupt_register
1879
spdk_interrupt_register_ext
2078
spdk_interrupt_register_for_events
2077
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3907
spdk_io_channel_from_ctx
16569301
spdk_io_channel_get_io_device
11322036
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
289494353
spdk_io_channel_iter_get_channel
613460
spdk_io_channel_iter_get_ctx
1126588
spdk_io_channel_iter_get_io_device
696215
spdk_io_device_get_name
0
spdk_io_device_register
42481
spdk_io_device_unregister
42478
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
157670
spdk_poller_resume
165
spdk_poller_unregister
319291
spdk_put_io_channel
299855
spdk_set_thread
439584083
spdk_spin_destroy
87252
spdk_spin_held
1771923
spdk_spin_init
128309
spdk_spin_lock
1864202
spdk_spin_unlock
1864194
spdk_thread_bind
19
spdk_thread_create
7189
spdk_thread_destroy
7085
spdk_thread_exit
7192
spdk_thread_get_app_thread
20494
spdk_thread_get_by_id
682
spdk_thread_get_count
377
spdk_thread_get_cpumask
28389
spdk_thread_get_ctx
36953
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
15466852473
spdk_thread_get_id
79727
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
7787696164
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
8227
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
1815988
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
35713
spdk_thread_is_bound
119
spdk_thread_is_exited
7754461997
spdk_thread_is_idle
58581776
spdk_thread_is_running
3121
spdk_thread_lib_fini
2578
spdk_thread_lib_init
295
spdk_thread_lib_init_ext
2289
spdk_thread_next_poller_expiration
22086
spdk_thread_poll
7960866199
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1312
spdk_thread_send_msg
13395911
spdk_thread_set_cpumask
11882
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
87249
sspin_init_internal
128309
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
5640197108
thread_execute_timed_poller
20409436
thread_exit
3423989
thread_get_io_channel
3575189
thread_has_unpaused_pollers
58580209
thread_insert_poller
157962
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
763341
thread_poll
7960885790
thread_run_pp_handlers
0
thread_send_msg_notification
13397222
thread_trace
2250
thread_update_stats
7960629858
timed_poller_compare
142899360
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
20417441
timed_pollers_tree_RB_INSERT_COLOR
20417441
timed_pollers_tree_RB_MINMAX
16327
timed_pollers_tree_RB_NEXT
20426720
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
20417379
timed_pollers_tree_RB_REMOVE_COLOR
17561316
wrong_thread
0
Generated by:
LCOV version 1.14