LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1188
1462
81.3 %
Date:
2024-11-03 02:15:08
Functions:
141
162
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
3965
10266
38.6 %
Function Name
Hit count
__pending_unregister
3
__posix_abort
0
_back_to_orig_thread
574
_call_channel
794794
_call_completion
705442
_finish_unregister
33495
_free_thread
7163
_get_thread
10236593708
_interrupt_wrapper
216965374
_on_thread
781
_thread_exit
248
_thread_lib_init
2615
_thread_remove_pollers
1379
_thread_trace
3002
busy_poller_interrupt_init
1276
busy_poller_set_interrupt_mode
1276
convert_us_to_ticks
170580
interrupt_timerfd_process
85140
io_channel_cmp
11295406
io_channel_tree_RB_FIND
4200919
io_channel_tree_RB_INSERT
95536
io_channel_tree_RB_INSERT_COLOR
95536
io_channel_tree_RB_MINMAX
14412
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
95530
io_channel_tree_RB_REMOVE_COLOR
82404
io_device_cmp
4492425
io_device_free
42726
io_device_get
1054276
io_device_tree_RB_FIND
1054276
io_device_tree_RB_INSERT
42735
io_device_tree_RB_INSERT_COLOR
42729
io_device_tree_RB_MINMAX
2624
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
42729
io_device_tree_RB_REMOVE_COLOR
36537
msg_queue_run_batch
9422990054
period_poller_interrupt_init
233
period_poller_set_interrupt_mode
241
poller_insert_timer
24444944
poller_interrupt_fini
1509
poller_register
170580
poller_remove_timer
237
poller_set_interrupt_mode
8
put_io_channel
95602
register_flag_thread
3002
spdk_for_each_channel
705442
spdk_for_each_channel_continue
794794
spdk_for_each_thread
574
spdk_get_io_channel
306093
spdk_get_thread
795481767
spdk_interrupt_mode_enable
41
spdk_interrupt_mode_is_enabled
415092972
spdk_interrupt_register
1543
spdk_interrupt_register_for_events
1741
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
3761
spdk_io_channel_from_ctx
23365802
spdk_io_channel_get_io_device
16199942
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
393952920
spdk_io_channel_iter_get_channel
733340
spdk_io_channel_iter_get_ctx
1437546
spdk_io_channel_iter_get_io_device
687577
spdk_io_device_get_name
0
spdk_io_device_register
42735
spdk_io_device_unregister
42732
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
2608
spdk_poller_register_named
170392
spdk_poller_resume
165
spdk_poller_unregister
356766
spdk_put_io_channel
306076
spdk_set_thread
437008572
spdk_spin_destroy
89332
spdk_spin_held
7394372
spdk_spin_init
130795
spdk_spin_lock
2337526
spdk_spin_unlock
2337518
spdk_thread_bind
19
spdk_thread_create
7271
spdk_thread_destroy
7171
spdk_thread_exit
7277
spdk_thread_get_app_thread
20277
spdk_thread_get_by_id
660
spdk_thread_get_count
378
spdk_thread_get_cpumask
28538
spdk_thread_get_ctx
37344
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
18382082460
spdk_thread_get_id
90639
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
274
spdk_thread_get_last_tsc
9284420911
spdk_thread_get_name
1232
spdk_thread_get_next_active_poller
96
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
8351
spdk_thread_get_trace_id
6
spdk_thread_has_active_pollers
1825032
spdk_thread_has_pollers
6
spdk_thread_is_app_thread
36597
spdk_thread_is_bound
116
spdk_thread_is_exited
9215322787
spdk_thread_is_idle
56722464
spdk_thread_is_running
3446
spdk_thread_lib_fini
2612
spdk_thread_lib_init
277
spdk_thread_lib_init_ext
2338
spdk_thread_next_poller_expiration
23044
spdk_thread_poll
9421769319
spdk_thread_send_critical_msg
1352
spdk_thread_send_msg
18544121
spdk_thread_set_cpumask
11970
spdk_thread_set_interrupt_mode
141
sspin_fini_internal
89329
sspin_init_internal
130795
sspin_stack_print
57
sspin_stacks_print
19
thread_execute_poller
9561531333
thread_execute_timed_poller
24436202
thread_exit
599705
thread_get_io_channel
4200919
thread_has_unpaused_pollers
56726128
thread_insert_poller
170684
thread_interrupt_create
125
thread_interrupt_destroy
125
thread_interrupt_msg_process
1049635
thread_poll
9421721789
thread_send_msg_notification
18545473
thread_trace
2299
thread_update_stats
9421616519
timed_poller_compare
149318927
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
24444944
timed_pollers_tree_RB_INSERT_COLOR
24444944
timed_pollers_tree_RB_MINMAX
16168
timed_pollers_tree_RB_NEXT
24454605
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
24444884
timed_pollers_tree_RB_REMOVE_COLOR
20453411
wrong_thread
0
Generated by:
LCOV version 1.15