LCOV - code coverage report
Current view: top level - glib - gmain.c (source / functions) Coverage Total Hit
Test: unnamed Lines: 89.7 % 1749 1568
Test Date: 2025-11-04 05:15:38 Functions: 95.6 % 160 153
Branches: - 0 0

Function Name Sort by function name Hit count Sort by function hit count
g_clear_handle_id 0
g_main_context_add_poll 0
g_main_context_get_poll_func 0
g_main_context_remove_poll 0
g_main_context_set_poll_func 0
g_main_context_wait 0
g_source_remove_poll 0
g_idle_remove_by_data 1
g_main_context_new_with_next_id 1
g_main_context_wait_internal 1
g_main_depth 1
g_source_dup_context 1
g_source_remove_child_source 1
g_source_set_can_recurse 1
g_main_loop_ref 2
g_source_get_can_recurse 2
g_source_get_current_time 2
g_source_remove_by_funcs_user_data 2
g_source_remove_by_user_data 2
g_source_set_funcs 2
free_context 3
g_main_context_find_source_by_funcs_user_data 3
g_main_context_find_source_by_user_data 3
g_main_loop_get_context 5
g_source_set_name_by_id 6
g_main_context_dispatch 7
g_source_get_priority 8
g_get_current_time 9
g_timeout_add_once 14
g_main_context_check 15
g_main_context_pending 15
round_timeout_to_msec 17
g_main_context_prepare 18
g_source_modify_unix_fd 18
dispatch_unix_signals 22
g_unix_signal_handler 22
g_main_context_query 23
g_timeout_add_seconds_once 31
_g_main_create_unix_signal_watch 32
g_unix_signal_watch_dispatch 32
g_unix_signal_watch_finalize 32
ref_unix_signal_handler_unlocked 32
signum_to_string 32
unref_unix_signal_handler_unlocked 32
wake_source 32
g_child_watch_add 33
g_child_watch_add_full 34
g_source_remove_unix_fd 40
dispatch_unix_signals_unlocked 54
g_unix_signal_watch_check 54
g_unix_signal_watch_prepare 58
g_timeout_add_seconds 73
g_timeout_add_seconds_full 73
g_main_loop_is_running 74
g_source_remove 206
g_main_context_invoke 214
g_main_context_invoke_full 229
glib_worker_main 233
g_main_context_is_owner 242
g_timeout_add 243
g_timeout_add_full 244
g_idle_add 315
g_idle_add_full 355
timeout_add_full 362
g_child_watch_dispatch 575
g_child_watch_finalize 575
g_child_watch_source_new 575
siginfo_t_to_wait_status 575
g_timeout_dispatch 934
g_get_worker_context 1042
free_context_stack 1083
g_main_dispatch_free 1156
g_source_add_poll 1423
g_source_is_destroyed 1633
g_idle_add_once 2046
g_get_real_time 2102
g_main_context_wakeup 2386
idle_add_full 2401
g_main_loop_new 6872
g_timeout_source_new 8794
g_main_loop_quit 9833
g_main_loop_run 9870
g_child_watch_check 11629
g_child_watch_prepare 11645
g_timeout_source_new_seconds 12017
g_source_get_ready_time 14808
g_main_loop_unref 16531
g_source_add_unix_fd 17942
poll_rec_list_free 18482
g_main_context_new 19050
g_main_context_new_with_flags 19052
g_child_source_remove_internal 20675
g_source_add_child_source 20753
timeout_source_new 21173
g_timeout_set_expiration 21471
g_idle_check 41815
g_source_set_name 92168
g_source_get_id 100054
g_main_context_find_source_by_id 100324
g_source_set_dispose_function 117800
g_source_get_context 128644
g_main_context_pop_thread_default 138806
g_main_context_push_thread_default 138906
g_main_context_release 139090
g_main_context_acquire 139210
g_source_set_ready_time 202296
g_source_get_time 251149
g_main_current_source 266112
g_source_query_unix_fd 279996
g_source_destroy 292234
g_main_context_remove_poll_unlocked 304447
g_main_context_add_poll_unlocked 323670
g_idle_prepare 328802
g_idle_dispatch 370616
g_main_context_ref_thread_default 440426
g_main_context_get_thread_default 442753
extend_timeout_to_usec 484584
g_main_context_ref 554150
g_idle_source_new 585234
idle_source_new 587635
g_source_attach 629265
source_remove_from_context 644801
g_main_dispatch 644967
g_source_attach_unlocked 650018
source_add_to_context 650024
g_get_monotonic_time 652802
g_source_callback_ref 654429
g_source_callback_get 654432
g_source_destroy_internal 670041
g_main_context_iteration 695700
unblock_source 698651
block_source 699619
g_source_set_callback 716422
g_source_set_callback_indirect 737175
g_source_new 750023
g_source_unref 850632
g_main_context_dispatch_unlocked 852954
g_main_context_check_unlocked 852977
g_main_context_poll_unlocked 853292
g_main_context_prepare_unlocked 853310
g_main_context_query_unlocked 853499
g_main_context_iterate_unlocked 874438
get_dispatch 911080
g_main_context_default 933493
g_source_set_priority 998636
g_main_context_release_unlocked 1001813
g_main_context_acquire_unlocked 1023518
g_source_set_priority_unlocked 1039876
g_source_set_static_name 1077120
g_source_set_name_full 1169288
find_source_list_for_priority 1294825
g_source_callback_unref 1370219
g_source_iter_clear 1724632
g_source_iter_init 1724632
g_main_context_unref 1907074
source_dup_main_context 4641675
g_source_iter_next 4874722
g_source_ref 4932525
g_source_unref_internal 5680635
g_source_get_name 6231897

Generated by: LCOV version 2.0-1