LCOV - code coverage report
Current view: top level - glib - gmain.c (source / functions) Coverage Total Hit
Test: unnamed Lines: 89.8 % 1749 1571
Test Date: 2025-12-02 05:21:29 Functions: 95.6 % 160 153
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 716266
dispatch_unix_signals 22
dispatch_unix_signals_unlocked 54
extend_timeout_to_usec 498935
find_source_list_for_priority 1275633
free_context 3
free_context_stack 1083
g_child_source_remove_internal 16910
g_child_watch_add 33
g_child_watch_add_full 34
g_child_watch_check 10068
g_child_watch_dispatch 575
g_child_watch_finalize 575
g_child_watch_prepare 10079
g_child_watch_source_new 575
g_clear_handle_id 0
g_get_current_time 9
g_get_monotonic_time 696302
g_get_real_time 2101
g_get_worker_context 1050
g_idle_add 314
g_idle_add_full 354
g_idle_add_once 1740
g_idle_check 39491
g_idle_dispatch 394080
g_idle_prepare 354590
g_idle_remove_by_data 1
g_idle_source_new 582590
g_main_context_acquire 135277
g_main_context_acquire_unlocked 1035193
g_main_context_add_poll 0
g_main_context_add_poll_unlocked 317063
g_main_context_check 16
g_main_context_check_unlocked 869469
g_main_context_default 923751
g_main_context_dispatch 8
g_main_context_dispatch_unlocked 869447
g_main_context_find_source_by_funcs_user_data 3
g_main_context_find_source_by_id 100323
g_main_context_find_source_by_user_data 3
g_main_context_get_poll_func 0
g_main_context_get_thread_default 438496
g_main_context_invoke 214
g_main_context_invoke_full 228
g_main_context_is_owner 240
g_main_context_iterate_unlocked 890687
g_main_context_iteration 693175
g_main_context_new 18716
g_main_context_new_with_flags 18718
g_main_context_new_with_next_id 1
g_main_context_pending 14
g_main_context_poll_unlocked 869782
g_main_context_pop_thread_default 134873
g_main_context_prepare 19
g_main_context_prepare_unlocked 869801
g_main_context_push_thread_default 134973
g_main_context_query 24
g_main_context_query_unlocked 869987
g_main_context_ref 543976
g_main_context_ref_thread_default 436169
g_main_context_release 135155
g_main_context_release_unlocked 1013727
g_main_context_remove_poll 0
g_main_context_remove_poll_unlocked 298175
g_main_context_set_poll_func 0
g_main_context_unref 1879983
g_main_context_wait 0
g_main_context_wait_internal 1
g_main_context_wakeup 2082
g_main_current_source 258913
g_main_depth 1
g_main_dispatch 664380
g_main_dispatch_free 1156
g_main_loop_get_context 5
g_main_loop_is_running 74
g_main_loop_new 6537
g_main_loop_quit 9192
g_main_loop_ref 2
g_main_loop_run 9229
g_main_loop_unref 15555
g_source_add_child_source 16987
g_source_add_poll 1423
g_source_add_unix_fd 15413
g_source_attach 623155
g_source_attach_unlocked 640142
g_source_callback_get 675351
g_source_callback_ref 675348
g_source_callback_unref 1385030
g_source_destroy 287815
g_source_destroy_internal 656319
g_source_dup_context 1
g_source_get_can_recurse 2
g_source_get_context 125110
g_source_get_current_time 2
g_source_get_id 100054
g_source_get_name 6291678
g_source_get_priority 8
g_source_get_ready_time 13588
g_source_get_time 245653
g_source_is_destroyed 1684
g_source_iter_clear 1757283
g_source_iter_init 1757283
g_source_iter_next 4917491
g_source_modify_unix_fd 20
g_source_new 740147
g_source_query_unix_fd 277622
g_source_ref 4950327
g_source_remove 205
g_source_remove_by_funcs_user_data 2
g_source_remove_by_user_data 2
g_source_remove_child_source 1
g_source_remove_poll 0
g_source_remove_unix_fd 38
g_source_set_callback 710305
g_source_set_callback_indirect 727292
g_source_set_can_recurse 1
g_source_set_dispose_function 115274
g_source_set_funcs 2
g_source_set_name 90241
g_source_set_name_by_id 6
g_source_set_name_full 1158068
g_source_set_priority 989868
g_source_set_priority_unlocked 1023643
g_source_set_ready_time 200155
g_source_set_static_name 1067827
g_source_unref 841317
g_source_unref_internal 5688545
g_timeout_add 243
g_timeout_add_full 244
g_timeout_add_once 14
g_timeout_add_seconds 73
g_timeout_add_seconds_full 73
g_timeout_add_seconds_once 30
g_timeout_dispatch 935
g_timeout_set_expiration 20834
g_timeout_source_new 8154
g_timeout_source_new_seconds 12021
g_unix_signal_handler 22
g_unix_signal_watch_check 55
g_unix_signal_watch_dispatch 32
g_unix_signal_watch_finalize 32
g_unix_signal_watch_prepare 60
get_dispatch 923294
glib_worker_main 233
idle_add_full 2094
idle_source_new 584684
poll_rec_list_free 18149
ref_unix_signal_handler_unlocked 32
round_timeout_to_msec 17
siginfo_t_to_wait_status 575
signum_to_string 32
source_add_to_context 640148
source_dup_main_context 4584140
source_remove_from_context 635484
timeout_add_full 361
timeout_source_new 20536
unblock_source 715319
unref_unix_signal_handler_unlocked 32
wake_source 32

Generated by: LCOV version 2.0-1