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-16 16:53:24
Functions:
145
168
86.3 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4009
10466
38.3 %
Function Name
Hit count
__posix_abort
0
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_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
spdk_interrupt_set_event_types
0
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_device_get_name
0
spdk_thread_get_first_io_channel
0
spdk_thread_get_interrupt_fd
0
spdk_thread_get_next_io_channel
0
spdk_thread_get_next_paused_poller
0
spdk_thread_register_post_poller_handler
0
thread_run_pp_handlers
0
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
wrong_thread
0
spdk_interrupt_register_fd_group
2
__pending_unregister
3
spdk_thread_get_trace_id
6
spdk_thread_has_pollers
6
poller_set_interrupt_mode
8
spdk_poller_get_name
14
spdk_poller_get_period_ticks
14
spdk_poller_get_stats
14
spdk_poller_get_id
17
spdk_thread_bind
19
sspin_stacks_print
19
io_device_tree_RB_NEXT
27
spdk_poller_get_state_str
35
spdk_interrupt_mode_enable
42
spdk_thread_get_next_active_poller
48
sspin_stack_print
57
spdk_thread_get_next_timed_poller
78
spdk_thread_is_bound
117
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
thread_interrupt_create
127
thread_interrupt_destroy
127
spdk_thread_set_interrupt_mode
143
spdk_poller_resume
165
spdk_poller_pause
168
spdk_poller_register
187
period_poller_interrupt_init
240
poller_remove_timer
244
period_poller_set_interrupt_mode
248
_thread_exit
251
spdk_thread_get_interrupt_fd_group
278
spdk_thread_lib_init
298
spdk_thread_get_count
384
_back_to_orig_thread
584
spdk_for_each_thread
584
spdk_thread_get_by_id
664
_on_thread
791
spdk_thread_get_name
1232
spdk_thread_send_critical_msg
1372
busy_poller_interrupt_init
1583
busy_poller_set_interrupt_mode
1583
_thread_remove_pollers
1611
poller_interrupt_fini
1823
spdk_poller_register_interrupt
1841
spdk_interrupt_register
1857
spdk_interrupt_register_for_events
2055
spdk_interrupt_register_ext
2056
alloc_interrupt
2058
thread_trace
2329
spdk_thread_lib_init_ext
2368
spdk_thread_lib_fini
2660
_thread_lib_init
2666
io_device_tree_RB_MINMAX
2672
_thread_trace
3044
register_flag_thread
3044
spdk_thread_is_running
3518
spdk_interrupt_unregister
4084
_free_thread
7323
spdk_thread_destroy
7331
spdk_thread_create
7434
spdk_thread_exit
7436
spdk_thread_get_stats
8465
spdk_thread_set_cpumask
11626
io_channel_tree_RB_MINMAX
14731
timed_pollers_tree_RB_MINMAX
16720
spdk_thread_get_app_thread
20880
spdk_thread_next_poller_expiration
22525
spdk_thread_get_cpumask
28611
_finish_unregister
34677
spdk_thread_get_ctx
36924
io_device_tree_RB_REMOVE_COLOR
37227
spdk_thread_is_app_thread
37242
io_device_free
44124
io_device_tree_RB_INSERT_COLOR
44127
io_device_tree_RB_REMOVE
44127
spdk_io_device_unregister
44130
io_device_tree_RB_INSERT
44133
spdk_io_device_register
44133
io_channel_tree_RB_REMOVE_COLOR
83142
sspin_fini_internal
90645
spdk_spin_destroy
90648
spdk_thread_get_id
91225
interrupt_timerfd_process
94693
io_channel_tree_RB_REMOVE
97212
io_channel_tree_RB_INSERT
97218
io_channel_tree_RB_INSERT_COLOR
97218
put_io_channel
97285
spdk_spin_init
132943
sspin_init_internal
132943
interrupt_fd_group_wrapper
156622
spdk_poller_register_named
164103
convert_us_to_ticks
164290
poller_register
164290
thread_insert_poller
164395
spdk_put_io_channel
310548
spdk_get_io_channel
310564
spdk_poller_unregister
335728
thread_exit
530721
spdk_io_channel_iter_get_io_device
667421
_call_completion
684337
spdk_for_each_channel
684337
spdk_io_channel_iter_get_channel
709692
_call_channel
781765
spdk_for_each_channel_continue
781765
thread_interrupt_msg_process
1011497
io_device_get
1039040
io_device_tree_RB_FIND
1039040
spdk_io_channel_iter_get_ctx
1399800
spdk_thread_has_active_pollers
1833776
spdk_spin_unlock
2429367
spdk_spin_lock
2429375
io_channel_tree_RB_FIND
4165595
thread_get_io_channel
4165595
io_device_cmp
4520048
spdk_spin_held
7561530
io_channel_cmp
11220381
spdk_io_channel_get_io_device
16704186
spdk_thread_send_msg
19349523
thread_send_msg_notification
19350895
timed_pollers_tree_RB_REMOVE_COLOR
21880531
spdk_io_channel_from_ctx
24358335
thread_execute_timed_poller
25846420
timed_pollers_tree_RB_REMOVE
25855247
poller_insert_timer
25855308
timed_pollers_tree_RB_INSERT
25855308
timed_pollers_tree_RB_INSERT_COLOR
25855308
timed_pollers_tree_RB_NEXT
25865338
thread_has_unpaused_pollers
57795546
spdk_thread_is_idle
57798337
timed_poller_compare
163554354
_interrupt_wrapper
241318142
spdk_io_channel_get_thread
414217912
spdk_set_thread
486287246
spdk_interrupt_mode_is_enabled
502411296
spdk_get_thread
835574370
thread_execute_poller
8843123039
spdk_thread_is_exited
9889771115
spdk_thread_get_last_tsc
9951218505
thread_update_stats
10099598869
spdk_thread_poll
10099793969
thread_poll
10099816938
msg_queue_run_batch
10100999920
_get_thread
10955449433
spdk_thread_get_from_ctx
19735697539
Generated by:
LCOV version 1.15