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-20 19:16:37 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4163 10270 40.5 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 562
_call_channel 756628
_call_completion 665050
_finish_unregister 34800
_free_thread 7417
_get_thread 8419815423
_interrupt_wrapper 274545055
_on_thread 773
_thread_exit 244
_thread_lib_init 2706
_thread_remove_pollers 1247
_thread_trace 3001
busy_poller_interrupt_init 1103
busy_poller_set_interrupt_mode 1103
convert_us_to_ticks 164484
interrupt_timerfd_process 93313
io_channel_cmp 11925968
io_channel_tree_RB_FIND 4524958
io_channel_tree_RB_INSERT 96605
io_channel_tree_RB_INSERT_COLOR 96605
io_channel_tree_RB_MINMAX 14944
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 96597
io_channel_tree_RB_REMOVE_COLOR 82082
io_device_cmp 4148029
io_device_free 44281
io_device_get 1016617
io_device_tree_RB_FIND 1016617
io_device_tree_RB_INSERT 44293
io_device_tree_RB_INSERT_COLOR 44285
io_device_tree_RB_MINMAX 2718
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 44285
io_device_tree_RB_REMOVE_COLOR 37171
msg_queue_run_batch 7715374203
period_poller_interrupt_init 239
period_poller_set_interrupt_mode 247
poller_insert_timer 24255926
poller_interrupt_fini 1342
poller_register 164479
poller_remove_timer 243
poller_set_interrupt_mode 8
put_io_channel 96664
register_flag_thread 3001
spdk_for_each_channel 665050
spdk_for_each_channel_continue 756628
spdk_for_each_thread 562
spdk_get_io_channel 307266
spdk_get_thread 698898845
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 153589823
spdk_interrupt_register 1372
spdk_interrupt_register_ext 1571
spdk_interrupt_register_for_events 1570
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3417
spdk_io_channel_from_ctx 17421833
spdk_io_channel_get_io_device 13014591
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 329112846
spdk_io_channel_iter_get_channel 770437
spdk_io_channel_iter_get_ctx 1437419
spdk_io_channel_iter_get_io_device 841236
spdk_io_device_get_name 0
spdk_io_device_register 44293
spdk_io_device_unregister 44289
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 2550
spdk_poller_register_named 164239
spdk_poller_resume 205
spdk_poller_unregister 407365
spdk_put_io_channel 307246
spdk_set_thread 552293206
spdk_spin_destroy 90091
spdk_spin_held 1842379
spdk_spin_init 131568
spdk_spin_lock 2325002
spdk_spin_unlock 2324992
spdk_thread_bind 20
spdk_thread_create 7551
spdk_thread_destroy 7424
spdk_thread_exit 7566
spdk_thread_get_app_thread 22690
spdk_thread_get_by_id 690
spdk_thread_get_count 408
spdk_thread_get_cpumask 28759
spdk_thread_get_ctx 37224
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 14844470970
spdk_thread_get_id 78650
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 7437810807
spdk_thread_get_name 1219
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 8419
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3076607
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36522
spdk_thread_is_bound 128
spdk_thread_is_exited 7470756137
spdk_thread_is_idle 63081402
spdk_thread_is_running 3208
spdk_thread_lib_fini 2702
spdk_thread_lib_init 368
spdk_thread_lib_init_ext 2338
spdk_thread_next_poller_expiration 23817
spdk_thread_poll 7714173397
spdk_thread_send_critical_msg 1327
spdk_thread_send_msg 12204529
spdk_thread_set_cpumask 11836
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 90087
sspin_init_internal 131568
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 6745873862
thread_execute_timed_poller 24247958
thread_exit 4006926
thread_get_io_channel 4524958
thread_has_unpaused_pollers 63084274
thread_insert_poller 164608
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 958488
thread_poll 7714115404
thread_send_msg_notification 12205855
thread_trace 2288
thread_update_stats 7713848735
timed_poller_compare 185426044
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 24255926
timed_pollers_tree_RB_INSERT_COLOR 24255926
timed_pollers_tree_RB_MINMAX 16576
timed_pollers_tree_RB_NEXT 24264746
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 24255845
timed_pollers_tree_RB_REMOVE_COLOR 21395042
wrong_thread 0

Generated by: LCOV version 1.14