LCOV - code coverage report
Current view:
top level
-
spdk/lib/thread
- thread.c
(
source
/ functions)
Hit
Total
Coverage
Test:
Combined
Lines:
1089
1309
83.2 %
Date:
2024-08-12 15:39:37
Functions:
140
161
87.0 %
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
774
1132
68.4 %
Function Name
Hit count
__pending_unregister
5
__posix_abort
0
_back_to_orig_thread
529
_call_channel
673921
_call_completion
633948
_finish_unregister
32837
_free_thread
6569
_get_thread
9118161906
_interrupt_wrapper
8843
_on_thread
715
_thread_exit
12
_thread_lib_init
2453
_thread_remove_pollers
123
_thread_trace
2680
busy_poller_interrupt_init
123
busy_poller_set_interrupt_mode
123
convert_us_to_ticks
142274
interrupt_timerfd_process
8531
io_channel_cmp
11036432
io_channel_tree_RB_FIND
3847972
io_channel_tree_RB_INSERT
84178
io_channel_tree_RB_INSERT_COLOR
84178
io_channel_tree_RB_MINMAX
13282
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
84168
io_channel_tree_RB_REMOVE_COLOR
67755
io_device_cmp
4029479
io_device_free
41293
io_device_get
927439
io_device_tree_RB_FIND
927439
io_device_tree_RB_INSERT
41308
io_device_tree_RB_INSERT_COLOR
41298
io_device_tree_RB_MINMAX
2468
io_device_tree_RB_NEXT
45
io_device_tree_RB_NFIND
0
io_device_tree_RB_PREV
0
io_device_tree_RB_REINSERT
0
io_device_tree_RB_REMOVE
41298
io_device_tree_RB_REMOVE_COLOR
33410
msg_queue_run_batch
8627520481
period_poller_interrupt_init
12
period_poller_set_interrupt_mode
20
poller_insert_timer
22180661
poller_interrupt_fini
135
poller_register
142274
poller_remove_timer
16
poller_set_interrupt_mode
8
put_io_channel
84227
register_flag_thread
2680
spdk_for_each_channel
633948
spdk_for_each_channel_continue
673921
spdk_for_each_thread
529
spdk_get_io_channel
252173
spdk_get_thread
477255537
spdk_interrupt_mode_enable
12
spdk_interrupt_mode_is_enabled
310243219
spdk_interrupt_register
147
spdk_interrupt_register_for_events
147
spdk_interrupt_set_event_types
0
spdk_interrupt_unregister
188
spdk_io_channel_from_ctx
23736617
spdk_io_channel_get_io_device
17928439
spdk_io_channel_get_io_device_name
0
spdk_io_channel_get_ref_count
0
spdk_io_channel_get_thread
352354574
spdk_io_channel_iter_get_channel
598885
spdk_io_channel_iter_get_ctx
1217131
spdk_io_channel_iter_get_io_device
685580
spdk_io_device_get_name
0
spdk_io_device_register
41308
spdk_io_device_unregister
41303
spdk_poller_get_id
8
spdk_poller_get_name
8
spdk_poller_get_period_ticks
8
spdk_poller_get_state_str
8
spdk_poller_get_stats
8
spdk_poller_pause
228
spdk_poller_register
258
spdk_poller_register_interrupt
1927
spdk_poller_register_named
142016
spdk_poller_resume
223
spdk_poller_unregister
240360
spdk_put_io_channel
252148
spdk_set_thread
1693349
spdk_spin_destroy
79594
spdk_spin_held
6850115
spdk_spin_init
113745
spdk_spin_lock
2070015
spdk_spin_unlock
2070009
spdk_thread_bind
21
spdk_thread_create
6749
spdk_thread_destroy
6578
spdk_thread_exit
6749
spdk_thread_get_app_thread
22462
spdk_thread_get_by_id
572
spdk_thread_get_count
323
spdk_thread_get_cpumask
21665
spdk_thread_get_ctx
27743
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
16912035625
spdk_thread_get_id
72597
spdk_thread_get_interrupt_fd
0
spdk_thread_get_interrupt_fd_group
48
spdk_thread_get_last_tsc
8516903388
spdk_thread_get_name
926
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
7501
spdk_thread_has_active_pollers
1792297
spdk_thread_has_pollers
10
spdk_thread_is_app_thread
31585
spdk_thread_is_bound
104
spdk_thread_is_exited
8473828040
spdk_thread_is_idle
50546105
spdk_thread_is_running
2893
spdk_thread_lib_fini
2448
spdk_thread_lib_init
405
spdk_thread_lib_init_ext
2048
spdk_thread_next_poller_expiration
17407
spdk_thread_poll
8627519966
spdk_thread_send_critical_msg
1137
spdk_thread_send_msg
12462644
spdk_thread_set_cpumask
8122
spdk_thread_set_interrupt_mode
28
sspin_fini_internal
79589
sspin_init_internal
113745
sspin_stack_print
84
sspin_stacks_print
28
thread_execute_poller
8499173445
thread_execute_timed_poller
22176291
thread_exit
643934
thread_get_io_channel
3847972
thread_has_unpaused_pollers
50546115
thread_insert_poller
142397
thread_interrupt_create
12
thread_interrupt_destroy
12
thread_interrupt_msg_process
515
thread_poll
8627519966
thread_send_msg_notification
12463781
thread_trace
1996
thread_update_stats
8627519966
timed_poller_compare
134308883
timed_pollers_tree_RB_FIND
0
timed_pollers_tree_RB_INSERT
22180661
timed_pollers_tree_RB_INSERT_COLOR
22180661
timed_pollers_tree_RB_MINMAX
13585
timed_pollers_tree_RB_NEXT
22185424
timed_pollers_tree_RB_NFIND
0
timed_pollers_tree_RB_PREV
0
timed_pollers_tree_RB_REINSERT
0
timed_pollers_tree_RB_REMOVE
22180561
timed_pollers_tree_RB_REMOVE_COLOR
18360171
wrong_thread
0
Generated by:
LCOV version 1.14