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 18:34:01 Functions: 142 163 87.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 4169 10270 40.6 %

Function Name Sort by function name Hit count Sort by hit count
__pending_unregister 4
__posix_abort 0
_back_to_orig_thread 566
_call_channel 675524
_call_completion 586923
_finish_unregister 35032
_free_thread 7459
_get_thread 9069606751
_interrupt_wrapper 287615671
_on_thread 777
_thread_exit 248
_thread_lib_init 2710
_thread_remove_pollers 1225
_thread_trace 3020
busy_poller_interrupt_init 1053
busy_poller_set_interrupt_mode 1053
convert_us_to_ticks 166121
interrupt_timerfd_process 97921
io_channel_cmp 11112384
io_channel_tree_RB_FIND 4186804
io_channel_tree_RB_INSERT 97264
io_channel_tree_RB_INSERT_COLOR 97264
io_channel_tree_RB_MINMAX 15030
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 97256
io_channel_tree_RB_REMOVE_COLOR 82623
io_device_cmp 3817687
io_device_free 44529
io_device_get 940757
io_device_tree_RB_FIND 940757
io_device_tree_RB_INSERT 44541
io_device_tree_RB_INSERT_COLOR 44533
io_device_tree_RB_MINMAX 2722
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 44533
io_device_tree_RB_REMOVE_COLOR 37415
msg_queue_run_batch 8343011112
period_poller_interrupt_init 239
period_poller_set_interrupt_mode 247
poller_insert_timer 26997961
poller_interrupt_fini 1292
poller_register 166118
poller_remove_timer 243
poller_set_interrupt_mode 8
put_io_channel 97332
register_flag_thread 3020
spdk_for_each_channel 586923
spdk_for_each_channel_continue 675524
spdk_for_each_thread 566
spdk_get_io_channel 309286
spdk_get_thread 723096731
spdk_interrupt_mode_enable 41
spdk_interrupt_mode_is_enabled 139750990
spdk_interrupt_register 1322
spdk_interrupt_register_ext 1521
spdk_interrupt_register_for_events 1520
spdk_interrupt_set_event_types 0
spdk_interrupt_unregister 3367
spdk_io_channel_from_ctx 21191694
spdk_io_channel_get_io_device 16099023
spdk_io_channel_get_io_device_name 0
spdk_io_channel_get_ref_count 0
spdk_io_channel_get_thread 337974431
spdk_io_channel_iter_get_channel 692839
spdk_io_channel_iter_get_ctx 1282395
spdk_io_channel_iter_get_io_device 791670
spdk_io_device_get_name 0
spdk_io_device_register 44541
spdk_io_device_unregister 44537
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 2566
spdk_poller_register_named 165876
spdk_poller_resume 205
spdk_poller_unregister 360752
spdk_put_io_channel 309264
spdk_set_thread 578682903
spdk_spin_destroy 90580
spdk_spin_held 3321829
spdk_spin_init 132136
spdk_spin_lock 1864702
spdk_spin_unlock 1864693
spdk_thread_bind 20
spdk_thread_create 7593
spdk_thread_destroy 7468
spdk_thread_exit 7607
spdk_thread_get_app_thread 22342
spdk_thread_get_by_id 581
spdk_thread_get_count 408
spdk_thread_get_cpumask 28320
spdk_thread_get_ctx 36343
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 16114241278
spdk_thread_get_id 80081
spdk_thread_get_interrupt_fd 0
spdk_thread_get_interrupt_fd_group 268
spdk_thread_get_last_tsc 8074868008
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 8339
spdk_thread_get_trace_id 6
spdk_thread_has_active_pollers 3933852
spdk_thread_has_pollers 8
spdk_thread_is_app_thread 36656
spdk_thread_is_bound 121
spdk_thread_is_exited 8095288472
spdk_thread_is_idle 58307459
spdk_thread_is_running 3241
spdk_thread_lib_fini 2706
spdk_thread_lib_init 368
spdk_thread_lib_init_ext 2342
spdk_thread_next_poller_expiration 23740
spdk_thread_poll 8341116303
spdk_thread_send_critical_msg 1331
spdk_thread_send_msg 12239908
spdk_thread_set_cpumask 11368
spdk_thread_set_interrupt_mode 138
sspin_fini_internal 90576
sspin_init_internal 132136
sspin_stack_print 75
sspin_stacks_print 25
thread_execute_poller 7612085481
thread_execute_timed_poller 26989956
thread_exit 3017622
thread_get_io_channel 4186804
thread_has_unpaused_pollers 58301640
thread_insert_poller 166246
thread_interrupt_create 122
thread_interrupt_destroy 122
thread_interrupt_msg_process 1082164
thread_poll 8342139300
thread_send_msg_notification 12241238
thread_trace 2292
thread_update_stats 8342192508
timed_poller_compare 195247981
timed_pollers_tree_RB_FIND 0
timed_pollers_tree_RB_INSERT 26997961
timed_pollers_tree_RB_INSERT_COLOR 26997961
timed_pollers_tree_RB_MINMAX 16641
timed_pollers_tree_RB_NEXT 27006780
timed_pollers_tree_RB_NFIND 0
timed_pollers_tree_RB_PREV 0
timed_pollers_tree_RB_REINSERT 0
timed_pollers_tree_RB_REMOVE 26997879
timed_pollers_tree_RB_REMOVE_COLOR 23854179
wrong_thread 0

Generated by: LCOV version 1.14