LCOV - code coverage report
Current view: top level - glib - gmain.c (source / functions) Coverage Total Hit
Test: unnamed Lines: 89.1 % 2062 1838
Test Date: 2026-11-10 05:12:13 Functions: 96.4 % 168 162
Branches: - 0 0

Function Name Sort by function name Hit count Sort by function hit count
_g_main_create_unix_signal_watch 32
block_source 918770
dispatch_unix_signals 22
dispatch_unix_signals_unlocked 54
find_source_list_for_priority 1576067
free_context 3
free_context_stack 1118
g_child_source_remove_internal 18826
g_child_watch_add 42
g_child_watch_add_full 43
g_child_watch_check 6107
g_child_watch_dispatch 934
g_child_watch_finalize 935
g_child_watch_prepare 6147
g_child_watch_source_new 936
g_clear_handle_id 0
g_clock_win32_init 1223
g_get_current_time 17
g_get_monotonic_time 9253704
g_get_monotonic_time_ns 17097995
g_get_real_time 3483
g_get_worker_context 1396
g_idle_add 605
g_idle_add_full 679
g_idle_add_once 742
g_idle_check 33689
g_idle_dispatch 569650
g_idle_prepare 535963
g_idle_remove_by_data 2
g_idle_source_new 718468
g_main_context_acquire 125801
g_main_context_acquire_unlocked 1206978
g_main_context_add_poll 0
g_main_context_add_poll_unlocked 332442
g_main_context_check 18
g_main_context_check_unlocked 1039755
g_main_context_default 884800
g_main_context_dispatch 9
g_main_context_dispatch_unlocked 1039708
g_main_context_find_source_by_funcs_user_data 6
g_main_context_find_source_by_id 200469
g_main_context_find_source_by_user_data 6
g_main_context_get_poll_func 0
g_main_context_get_thread_default 429609
g_main_context_invoke 274
g_main_context_invoke_full 291
g_main_context_is_owner 310
g_main_context_iterate_unlocked 1072418
g_main_context_iteration 691565
g_main_context_new 30492
g_main_context_new_with_flags 30496
g_main_context_new_with_next_id 2
g_main_context_pending 25
g_main_context_poll_unlocked 1040093
g_main_context_pop_thread_default 125301
g_main_context_prepare 26
g_main_context_prepare_unlocked 1040120
g_main_context_push_thread_default 125409
g_main_context_query 34
g_main_context_query_unlocked 1040333
g_main_context_ref 544717
g_main_context_ref_thread_default 425904
g_main_context_release 125658
g_main_context_release_unlocked 1173988
g_main_context_remove_poll 0
g_main_context_remove_poll_unlocked 301765
g_main_context_set_poll_func 0
g_main_context_unref 2341847
g_main_context_wait 0
g_main_context_wait_internal 1
g_main_context_wakeup 1239
g_main_current_source 241425
g_main_depth 2
g_main_dispatch 848664
g_main_dispatch_free 1217
g_main_loop_get_context 8
g_main_loop_is_running 144
g_main_loop_new 6313
g_main_loop_quit 8708
g_main_loop_ref 4
g_main_loop_run 8726
g_main_loop_unref 14810
g_source_add_child_source 18914
g_source_add_poll 2555
g_source_add_unix_fd 14449
g_source_attach 769988
g_source_attach_unlocked 788914
g_source_callback_get 852389
g_source_callback_ref 852384
g_source_callback_unref 1796140
g_source_clear_ready_time 89
g_source_destroy 450563
g_source_destroy_internal 806717
g_source_dup_context 2
g_source_get_can_recurse 4
g_source_get_context 114133
g_source_get_current_time 4
g_source_get_id 200108
g_source_get_name 5885353
g_source_get_priority 16
g_source_get_ready_time 10588
g_source_get_ready_time_ns 532
g_source_get_time 239461
g_source_get_time_ns 240084
g_source_is_destroyed 2371
g_source_iter_clear 2109465
g_source_iter_init 2109417
g_source_iter_next 5667741
g_source_modify_unix_fd 18
g_source_new 988922
g_source_query_unix_fd 276774
g_source_ref 5795892
g_source_remove 235
g_source_remove_by_funcs_user_data 4
g_source_remove_by_user_data 4
g_source_remove_child_source 2
g_source_remove_poll 1
g_source_remove_unix_fd 34
g_source_set_callback 944563
g_source_set_callback_indirect 963480
g_source_set_can_recurse 2
g_source_set_dispose_function 214539
g_source_set_funcs 4
g_source_set_name 80286
g_source_set_name_by_id 12
g_source_set_name_full 1376571
g_source_set_priority 1158304
g_source_set_priority_unlocked 1195825
g_source_set_ready_time 312857
g_source_set_ready_time_ns 31944
g_source_set_static_name 1296279
g_source_unref 1186328
g_source_unref_internal 6782442
g_source_update_ready_time_internal 344876
g_timeout_add 312
g_timeout_add_full 704
g_timeout_add_once 28
g_timeout_add_seconds 79
g_timeout_add_seconds_full 79
g_timeout_add_seconds_once 33
g_timeout_dispatch 1532
g_timeout_set_expiration 31727
g_timeout_source_new 6462
g_timeout_source_new_ns 2
g_timeout_source_new_seconds 24031
g_unix_signal_handler 22
g_unix_signal_watch_check 40
g_unix_signal_watch_dispatch 32
g_unix_signal_watch_finalize 32
g_unix_signal_watch_prepare 53
get_dispatch 1090093
glib_worker_main 268
idle_add_full 1421
idle_source_new 719889
poll_rec_list_free 29762
ref_unix_signal_handler_unlocked 32
round_timeout_to_msec 244147
siginfo_t_to_wait_status 585
signum_to_string 32
source_add_to_context 788924
source_dup_main_context 5955233
source_remove_from_context 787144
timeout_add_full 844
timeout_source_new 31339
unblock_source 917477
unref_unix_signal_handler_unlocked 32
wake_source 32

Generated by: LCOV version 2.0-1