LCOV - code coverage report
Current view: top level - src/backend/utils/activity - pgstat.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 449 517 86.8 %
Date: 2025-01-31 07:16:16 Functions: 34 34 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
assign_stats_fetch_consistency 5208
match_db_entries 21692
pgstat_before_server_shutdown 1098
pgstat_build_snapshot 484
pgstat_build_snapshot_fixed 7248
pgstat_clear_snapshot 817536
pgstat_delete_pending_entry 1673356
pgstat_discard_stats 342
pgstat_fetch_entry 368894
pgstat_fetch_pending_entry 84
pgstat_flush_pending_entries 59262
pgstat_force_next_flush 420
pgstat_get_kind_from_str 166
pgstat_get_kind_info 40714594
pgstat_get_stat_snapshot_timestamp 60
pgstat_have_entry 160
pgstat_init_snapshot_fixed 34652
pgstat_initialize 34652
pgstat_is_kind_valid 644116
pgstat_prep_pending_entry 3272176
pgstat_prep_snapshot 368946
pgstat_read_statsfile 1312
pgstat_register_kind 16
pgstat_report_stat 557300
pgstat_reset 44
pgstat_reset_after_failure 460
pgstat_reset_counters 26
pgstat_reset_of_kind 54
pgstat_restore_stats 1312
pgstat_shutdown_hook 34652
pgstat_snapshot_fixed 426
pgstat_write_statsfile 1088
read_chunk 665678
write_chunk 640090

Generated by: LCOV version 1.14