LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1204
1483
81.2 %
Date:
2024-11-19 21:39:11
Functions:
142
163
87.1 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
4132
10270
40.2 %
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
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
__pending_unregister
4
spdk_thread_get_trace_id
6
poller_set_interrupt_mode
8
spdk_thread_has_pollers
8
spdk_poller_get_name
16
spdk_poller_get_period_ticks
16
spdk_poller_get_stats
16
spdk_poller_get_id
20
spdk_thread_bind
20
sspin_stacks_print
25
io_device_tree_RB_NEXT
36
spdk_interrupt_mode_enable
41
spdk_poller_get_state_str
44
sspin_stack_print
75
spdk_thread_get_next_timed_poller
78
spdk_thread_get_next_active_poller
96
thread_interrupt_create
122
thread_interrupt_destroy
122
spdk_thread_get_first_active_poller
126
spdk_thread_get_first_paused_poller
126
spdk_thread_get_first_timed_poller
126
spdk_thread_set_interrupt_mode
138
spdk_thread_is_bound
148
spdk_poller_resume
209
spdk_poller_pause
213
period_poller_interrupt_init
241
spdk_poller_register
243
poller_remove_timer
245
_thread_exit
248
period_poller_set_interrupt_mode
249
spdk_thread_get_interrupt_fd_group
268
spdk_thread_lib_init
356
spdk_thread_get_count
421
_back_to_orig_thread
607
spdk_for_each_thread
607
spdk_thread_get_by_id
688
_on_thread
818
busy_poller_interrupt_init
1082
busy_poller_set_interrupt_mode
1082
_thread_remove_pollers
1267
poller_interrupt_fini
1323
spdk_interrupt_register
1353
spdk_thread_get_name
1389
spdk_thread_send_critical_msg
1465
spdk_interrupt_register_for_events
1551
spdk_interrupt_register_ext
1552
thread_trace
2456
spdk_thread_lib_init_ext
2507
spdk_poller_register_interrupt
2843
spdk_thread_lib_fini
2859
_thread_lib_init
2863
io_device_tree_RB_MINMAX
2875
spdk_thread_is_running
3209
_thread_trace
3233
register_flag_thread
3233
spdk_interrupt_unregister
3536
_free_thread
7961
spdk_thread_destroy
7968
spdk_thread_create
8095
spdk_thread_exit
8110
spdk_thread_get_stats
9086
spdk_thread_set_cpumask
15656
io_channel_tree_RB_MINMAX
16033
timed_pollers_tree_RB_MINMAX
17692
spdk_thread_get_app_thread
22987
spdk_thread_next_poller_expiration
23323
spdk_thread_get_cpumask
33759
_finish_unregister
37488
spdk_thread_is_app_thread
39413
io_device_tree_RB_REMOVE_COLOR
40148
spdk_thread_get_ctx
45968
io_device_free
47483
io_device_tree_RB_INSERT_COLOR
47487
io_device_tree_RB_REMOVE
47487
spdk_io_device_unregister
47491
io_device_tree_RB_INSERT
47495
spdk_io_device_register
47495
interrupt_timerfd_process
96576
spdk_thread_get_id
96917
io_channel_tree_RB_REMOVE_COLOR
98030
sspin_fini_internal
99472
spdk_spin_destroy
99476
io_channel_tree_RB_REMOVE
113063
io_channel_tree_RB_INSERT
113071
io_channel_tree_RB_INSERT_COLOR
113071
put_io_channel
113149
spdk_spin_init
143519
sspin_init_internal
143519
spdk_poller_register_named
178618
poller_register
178860
convert_us_to_ticks
178861
thread_insert_poller
178990
spdk_put_io_channel
374960
spdk_get_io_channel
374978
spdk_poller_unregister
388729
thread_interrupt_msg_process
755445
_call_completion
800986
spdk_for_each_channel
800986
spdk_io_channel_iter_get_io_device
806201
spdk_io_channel_iter_get_channel
819430
_call_channel
892075
spdk_for_each_channel_continue
892075
io_device_get
1223467
io_device_tree_RB_FIND
1223467
spdk_io_channel_iter_get_ctx
1635192
spdk_spin_unlock
2802614
spdk_spin_lock
2802624
spdk_thread_has_active_pollers
3824237
thread_exit
3875657
io_channel_tree_RB_FIND
4890623
thread_get_io_channel
4890623
io_device_cmp
5060139
spdk_spin_held
6453229
io_channel_cmp
12852008
spdk_io_channel_get_io_device
18191244
spdk_thread_send_msg
18341961
thread_send_msg_notification
18343424
timed_pollers_tree_RB_REMOVE_COLOR
24528803
spdk_io_channel_from_ctx
25915051
thread_execute_timed_poller
28850121
timed_pollers_tree_RB_REMOVE
28858683
poller_insert_timer
28858766
timed_pollers_tree_RB_INSERT
28858766
timed_pollers_tree_RB_INSERT_COLOR
28858766
timed_pollers_tree_RB_NEXT
28868552
thread_has_unpaused_pollers
144821273
spdk_thread_is_idle
144823564
timed_poller_compare
186743992
_interrupt_wrapper
241609798
spdk_interrupt_mode_is_enabled
328616560
spdk_io_channel_get_thread
452945605
spdk_set_thread
486024775
spdk_get_thread
880620394
spdk_thread_is_exited
9196270942
spdk_thread_get_last_tsc
9256030135
spdk_thread_poll
9396676239
thread_update_stats
9396684355
thread_poll
9397084345
msg_queue_run_batch
9398292618
thread_execute_poller
10014376953
_get_thread
10289687622
spdk_thread_get_from_ctx
18322060567
Generated by:
LCOV version 1.15