LCOV - code coverage report
Current view: top level - src/backend/utils/activity - pgstat.c (source / functions) Hit Total Coverage
Test: PostgreSQL 17devel Lines: 361 398 90.7 %
Date: 2024-02-22 01:11:03 Functions: 32 32 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
pgstat_reset_counters 26
pgstat_reset 38
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 310
pgstat_reset_after_failure 382
pgstat_snapshot_fixed 400
pgstat_force_next_flush 408
pgstat_build_snapshot 484
pgstat_write_statsfile 912
pgstat_before_server_shutdown 922
pgstat_read_statsfile 1106
pgstat_restore_stats 1106
assign_stats_fetch_consistency 2680
pgstat_build_snapshot_fixed 6160
pgstat_fetch_entry 16886
pgstat_prep_snapshot 16938
match_db_entries 21854
pgstat_initialize 28868
pgstat_shutdown_hook 28868
pgstat_flush_pending_entries 50076
pgstat_is_kind_valid 290750
pgstat_report_stat 499142
pgstat_clear_snapshot 532720
write_chunk 548192
read_chunk 588812
pgstat_delete_pending_entry 1329590
pgstat_prep_pending_entry 2599530
pgstat_get_kind_info 5948962

Generated by: LCOV version 1.14