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 04:15:00 Functions: 34 34 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
pgstat_register_kind 16
pgstat_reset_counters 26
pgstat_reset 44
pgstat_reset_of_kind 54
pgstat_get_stat_snapshot_timestamp 60
pgstat_fetch_pending_entry 84
pgstat_have_entry 160
pgstat_get_kind_from_str 166
pgstat_discard_stats 342
pgstat_force_next_flush 420
pgstat_snapshot_fixed 428
pgstat_reset_after_failure 460
pgstat_build_snapshot 484
pgstat_write_statsfile 1088
pgstat_before_server_shutdown 1098
pgstat_read_statsfile 1312
pgstat_restore_stats 1312
assign_stats_fetch_consistency 5290
pgstat_build_snapshot_fixed 7250
match_db_entries 22198
pgstat_init_snapshot_fixed 34720
pgstat_initialize 34720
pgstat_shutdown_hook 34720
pgstat_flush_pending_entries 59318
pgstat_fetch_entry 363510
pgstat_prep_snapshot 363562
pgstat_report_stat 557202
write_chunk 640086
pgstat_is_kind_valid 644120
read_chunk 665686
pgstat_clear_snapshot 790536
pgstat_delete_pending_entry 1670280
pgstat_prep_pending_entry 3265692
pgstat_get_kind_info 40749556

Generated by: LCOV version 1.14