LCOV - code coverage report
Current view: top level - spdk/lib/thread - thread.c (source / functions) Hit Total Coverage
Test: Combined Lines: 1234 1547 79.8 %
Date: 2024-12-14 07:28:29 Functions: 145 168 86.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4166 10466 39.8 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 612
_call_channel 890842
_call_completion 794568
_finish_unregister 38717
_free_thread 8099
_get_thread 10623472133
_interrupt_wrapper 239983084
_on_thread 823
_thread_exit 246
_thread_lib_init 2902
_thread_remove_pollers 1316
_thread_trace 3264
alloc_interrupt 1633
busy_poller_interrupt_init 1163
busy_poller_set_interrupt_mode 1163
convert_us_to_ticks 178438
interrupt_fd_group_wrapper 160919
interrupt_timerfd_process 96265
io_channel_cmp 12993150
io_channel_tree_RB_FIND 4929180
io_channel_tree_RB_INSERT 114814
io_channel_tree_RB_INSERT_COLOR 114814
io_channel_tree_RB_MINMAX 16307
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 114806
io_channel_tree_RB_REMOVE_COLOR 98756
io_device_cmp 5033737
io_device_free 48872
io_device_get 1222483
io_device_tree_RB_FIND 1222483
io_device_tree_RB_INSERT 48884
io_device_tree_RB_INSERT_COLOR 48876
io_device_tree_RB_MINMAX 2910
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 48876
io_device_tree_RB_REMOVE_COLOR 40640
msg_queue_run_batch 9681503224
period_poller_interrupt_init 241
period_poller_set_interrupt_mode 249
poller_insert_timer 29151721
poller_interrupt_fini 1404
poller_register 178436
poller_remove_timer 245
poller_set_interrupt_mode 8
put_io_channel 114886
register_flag_thread 3264
spdk_for_each_channel 794570
spdk_for_each_channel_continue 890842
spdk_for_each_thread 612
spdk_get_io_channel 379020
spdk_get_thread 927956352
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 409626147
spdk_interrupt_register 1432
spdk_interrupt_register_ext 1631
spdk_interrupt_register_fd_group 2
spdk_interrupt_register_for_events 1630
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3599
spdk_io_channel_from_ctx 24649493
spdk_io_channel_get_io_device 17150348
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 465360112
spdk_io_channel_iter_get_channel 822070
spdk_io_channel_iter_get_ctx 1633508
spdk_io_channel_iter_get_io_device 809610
spdk_io_device_get_name 0
spdk_io_device_register 48884
spdk_io_device_unregister 48880
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 213
spdk_poller_register 243
spdk_poller_register_interrupt 2004
spdk_poller_register_named 178193
spdk_poller_resume 209
spdk_poller_unregister 391158
spdk_put_io_channel 378988
spdk_set_thread 483442383
spdk_spin_destroy 100782
spdk_spin_held 8230054
spdk_spin_init 145438
spdk_spin_lock 2885346
spdk_spin_unlock 2885336
spdk_thread_bind 20
spdk_thread_create 8237
spdk_thread_destroy 8108
spdk_thread_exit 8249
spdk_thread_get_app_thread 22689
spdk_thread_get_by_id 712
spdk_thread_get_count 421
spdk_thread_get_cpumask 34177
spdk_thread_get_ctx 46190
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 18869296049
spdk_thread_get_id 97529
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 9558210276
spdk_thread_get_name 1389
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 9265
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3799519
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 39832
spdk_thread_is_bound 145
spdk_thread_is_exited 9470131285
spdk_thread_is_idle 151962020
spdk_thread_is_running 3232
spdk_thread_lib_fini 2894
spdk_thread_lib_init 376
spdk_thread_lib_init_ext 2526
spdk_thread_next_poller_expiration 25562
spdk_thread_poll 9680922389
spdk_thread_register_post_poller_handler 0
spdk_thread_send_critical_msg 1475
spdk_thread_send_msg 19292355
spdk_thread_set_cpumask 15656
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 100778
sspin_init_internal 145438
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 9031386257
thread_execute_timed_poller 29143039
thread_exit 3820923
thread_get_io_channel 4929180
thread_has_unpaused_pollers 151959779
thread_insert_poller 178566
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 708175
thread_poll 9681096455
thread_run_pp_handlers 0
thread_send_msg_notification 19293830
thread_trace 2475
thread_update_stats 9680612680
timed_poller_compare 191302425
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 29151721
timed_pollers_tree_RB_INSERT_COLOR 29151721
timed_pollers_tree_RB_MINMAX 18009
timed_pollers_tree_RB_NEXT 29161583
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 29151643
timed_pollers_tree_RB_REMOVE_COLOR 24856455
wrong_thread 0

Generated by: LCOV version 1.15