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:03:56 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4029 10466 38.5 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 3
__posix_abort 0
_back_to_orig_thread 584
_call_channel 793827
_call_completion 697894
_finish_unregister 34637
_free_thread 7306
_get_thread 10840001279
_interrupt_wrapper 242295942
_on_thread 791
_thread_exit 249
_thread_lib_init 2661
_thread_remove_pollers 1625
_thread_trace 3022
alloc_interrupt 2017
busy_poller_interrupt_init 1553
busy_poller_set_interrupt_mode 1553
convert_us_to_ticks 161113
interrupt_fd_group_wrapper 156395
interrupt_timerfd_process 93546
io_channel_cmp 11365501
io_channel_tree_RB_FIND 4194636
io_channel_tree_RB_INSERT 96883
io_channel_tree_RB_INSERT_COLOR 96883
io_channel_tree_RB_MINMAX 14695
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 96877
io_channel_tree_RB_REMOVE_COLOR 82979
io_device_cmp 4564555
io_device_free 44068
io_device_get 1051698
io_device_tree_RB_FIND 1051698
io_device_tree_RB_INSERT 44077
io_device_tree_RB_INSERT_COLOR 44071
io_device_tree_RB_MINMAX 2667
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 44071
io_device_tree_RB_REMOVE_COLOR 37179
msg_queue_run_batch 9989634488
period_poller_interrupt_init 235
period_poller_set_interrupt_mode 243
poller_insert_timer 25222317
poller_interrupt_fini 1788
poller_register 161112
poller_remove_timer 239
poller_set_interrupt_mode 8
put_io_channel 96953
register_flag_thread 3022
spdk_for_each_channel 697894
spdk_for_each_channel_continue 793827
spdk_for_each_thread 584
spdk_get_io_channel 309721
spdk_get_thread 831437798
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 506545739
spdk_interrupt_register 1816
spdk_interrupt_register_ext 2015
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 2014
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3976
spdk_io_channel_from_ctx 23448604
spdk_io_channel_get_io_device 15968898
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 410376583
spdk_io_channel_iter_get_channel 721975
spdk_io_channel_iter_get_ctx 1428434
spdk_io_channel_iter_get_io_device 680885
spdk_io_device_get_name 0
spdk_io_device_register 44077
spdk_io_device_unregister 44074
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 1827
spdk_poller_register_named 160926
spdk_poller_resume 165
spdk_poller_unregister 344944
spdk_put_io_channel 309708
spdk_set_thread 488522973
spdk_spin_destroy 90550
spdk_spin_held 7404241
spdk_spin_init 132769
spdk_spin_lock 2400957
spdk_spin_unlock 2400949
spdk_thread_bind 19
spdk_thread_create 7417
spdk_thread_destroy 7314
spdk_thread_exit 7419
spdk_thread_get_app_thread 20671
spdk_thread_get_by_id 658
spdk_thread_get_count 384
spdk_thread_get_cpumask 28877
spdk_thread_get_ctx 37491
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 19509195356
spdk_thread_get_id 89112
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 9840893272
spdk_thread_get_name 1232
spdk_thread_get_next_active_poller 48
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 8446
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 1891679
spdk_thread_has_pollers 6
spdk_thread_is_app_thread 37126
spdk_thread_is_bound 119
spdk_thread_is_exited 9778560350
spdk_thread_is_idle 57422313
spdk_thread_is_running 3483
spdk_thread_lib_fini 2655
spdk_thread_lib_init 298
spdk_thread_lib_init_ext 2363
spdk_thread_next_poller_expiration 25398
spdk_thread_poll 9988317602
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1368
spdk_thread_send_msg 19459732
spdk_thread_set_cpumask 11930
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 90547
sspin_init_internal 132769
sspin_stack_print 57
sspin_stacks_print 19
thread_execute_poller 8512499267
thread_execute_timed_poller 25213599
thread_exit 551347
thread_get_io_channel 4194636
thread_has_unpaused_pollers 57421131
thread_insert_poller 161218
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 1138082
thread_poll 9988333994
thread_run_pp_handlers 0
thread_send_msg_notification 19461099
thread_trace 2324
thread_update_stats 9988398772
timed_poller_compare 157855539
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 25222317
timed_pollers_tree_RB_INSERT_COLOR 25222317
timed_pollers_tree_RB_MINMAX 16698
timed_pollers_tree_RB_NEXT 25232229
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 25222257
timed_pollers_tree_RB_REMOVE_COLOR 21269214
wrong_thread 0

Generated by: LCOV version 1.14