LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1205
1505
80.1 %
Date:
2024-12-09 15:34:27
Functions:
142
165
86.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4152
10364
40.1 %
Function Name
Hit count
__pending_unregister
4
__posix_abort
0
_back_to_orig_thread
563
_call_channel
656744
_call_completion
568525
_finish_unregister
35765
_free_thread
7493
_get_thread
9243987535
_interrupt_wrapper
243730007
_on_thread
774
_thread_exit
248
_thread_lib_init
2718
_thread_remove_pollers
1364
_thread_trace
3009
busy_poller_interrupt_init
1211
busy_poller_set_interrupt_mode
1211
convert_us_to_ticks
159433
interrupt_timerfd_process
93974
io_channel_cmp
11368444
io_channel_tree_RB_FIND
4213206
io_channel_tree_RB_INSERT
97935
io_channel_tree_RB_INSERT_COLOR
97935
io_channel_tree_RB_MINMAX
15096
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
97927
io_channel_tree_RB_REMOVE_COLOR
82523
io_device_cmp
3735858
io_device_free
45278
io_device_get
923722
io_device_tree_RB_FIND
923722
io_device_tree_RB_INSERT
45290
io_device_tree_RB_INSERT_COLOR
45282
io_device_tree_RB_MINMAX
2726
io_device_tree_RB_NEXT
36
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
45282
io_device_tree_RB_REMOVE_COLOR
37321
msg_queue_run_batch
8509279749
period_poller_interrupt_init
238
period_poller_set_interrupt_mode
246
poller_insert_timer
26765667
poller_interrupt_fini
1449
poller_register
159429
poller_remove_timer
242
poller_set_interrupt_mode
8
put_io_channel
97993
register_flag_thread
3009
spdk_for_each_channel
568527
spdk_for_each_channel_continue
656744
spdk_for_each_thread
563
spdk_get_io_channel
309895
spdk_get_thread
729400779
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
164173835
spdk_interrupt_register
1479
spdk_interrupt_register_ext
1678
spdk_interrupt_register_for_events
1677
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3536
spdk_io_channel_from_ctx
18213473
spdk_io_channel_get_io_device
13490622
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
350942258
spdk_io_channel_iter_get_channel
667756
spdk_io_channel_iter_get_ctx
1243434
spdk_io_channel_iter_get_io_device
815578
spdk_io_device_get_name
0
spdk_io_device_register
45290
spdk_io_device_unregister
45286
spdk_poller_get_id
20
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_state_str
44
spdk_poller_get_stats
16
spdk_poller_pause
209
spdk_poller_register
243
spdk_poller_register_interrupt
1774
spdk_poller_register_named
159189
spdk_poller_resume
205
spdk_poller_unregister
322203
spdk_put_io_channel
309874
spdk_set_thread
490748759
spdk_spin_destroy
91031
spdk_spin_held
1878831
spdk_spin_init
132657
spdk_spin_lock
2124478
spdk_spin_unlock
2124467
spdk_thread_bind
20
spdk_thread_create
7631
spdk_thread_destroy
7501
spdk_thread_exit
7642
spdk_thread_get_app_thread
23116
spdk_thread_get_by_id
653
spdk_thread_get_count
408
spdk_thread_get_cpumask
29248
spdk_thread_get_ctx
37735
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
16427784784
spdk_thread_get_id
79006
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
268
spdk_thread_get_last_tsc
8266536783
spdk_thread_get_name
1219
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
8598
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
3772839
spdk_thread_has_pollers
8
spdk_thread_is_app_thread
36626
spdk_thread_is_bound
125
spdk_thread_is_exited
8252103135
spdk_thread_is_idle
62691457
spdk_thread_is_running
3214
spdk_thread_lib_fini
2710
spdk_thread_lib_init
372
spdk_thread_lib_init_ext
2346
spdk_thread_next_poller_expiration
25202
spdk_thread_poll
8508968329
spdk_thread_register_post_poller_handler
0
spdk_thread_send_critical_msg
1334
spdk_thread_send_msg
13685100
spdk_thread_set_cpumask
12016
spdk_thread_set_interrupt_mode
138
sspin_fini_internal
91027
sspin_init_internal
132657
sspin_stack_print
75
sspin_stacks_print
25
thread_execute_poller
6100510434
thread_execute_timed_poller
26757551
thread_exit
3419700
thread_get_io_channel
4213206
thread_has_unpaused_pollers
62689881
thread_insert_poller
159557
thread_interrupt_create
122
thread_interrupt_destroy
122
thread_interrupt_msg_process
776046
thread_poll
8509131036
thread_run_pp_handlers
0
thread_send_msg_notification
13686433
thread_trace
2296
thread_update_stats
8508713410
timed_poller_compare
209875160
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
26765667
timed_pollers_tree_RB_INSERT_COLOR
26765667
timed_pollers_tree_RB_MINMAX
16845
timed_pollers_tree_RB_NEXT
26774745
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
26765588
timed_pollers_tree_RB_REMOVE_COLOR
23761070
wrong_thread
0
Generated by:
LCOV version 1.14