LCOV - code coverage report
Current view: top level - src/backend/postmaster - pgstat.c (source / functions) Hit Total Coverage
Test: PostgreSQL 13devel Lines: 1392 2089 66.6 %
Date: 2019-09-19 23:07:04 Functions: 96 116 82.8 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
find_funcstat_entry 0
find_tabstat_entry 0
pgstat_fetch_stat_archiver 0
pgstat_fetch_stat_beentry 0
pgstat_fetch_stat_funcentry 0
pgstat_get_wait_io 0
pgstat_get_wait_ipc 0
pgstat_get_wait_timeout 0
pgstat_ping 0
pgstat_recv_funcpurge 0
pgstat_recv_funcstat 0
pgstat_recv_recoveryconflict 0
pgstat_recv_resetcounter 0
pgstat_recv_resetsharedcounter 0
pgstat_recv_resetsinglecounter 0
pgstat_report_checksum_failure 0
pgstat_report_recovery_conflict 0
pgstat_reset_counters 0
pgstat_reset_shared_counters 0
pgstat_reset_single_counter 0
allow_immediate_pgstat_restart 4
pgstat_recv_checksum_failure 4
pgstat_recv_deadlock 4
pgstat_report_checksum_failures_in_db 4
pgstat_report_deadlock 4
pgstat_drop_database 16
pgstat_recv_dropdb 16
pgstat_get_backend_current_activity 20
pgstat_recv_archiver 26
pgstat_send_archiver 26
pgstat_fetch_global 30
pgstat_twophase_postabort 38
pgstat_sighup_handler 48
pgstat_recv_autovac 58
pgstat_report_autovac 58
AtPrepare_PgStat 66
PostPrepare_PgStat 66
pgstat_reset_all 94
pgstat_twophase_postcommit 102
pgstat_get_wait_client 130
pgstat_reset_remove_files 188
pgstat_fetch_stat_numbackends 220
pgstat_fetch_stat_tabentry 512
pgstat_exit 572
pgstat_init 572
PgstatCollectorMain 576
pgstat_start 576
pgstat_get_crashed_backend_activity 678
pgstat_send_inquiry 888
pgstat_recv_tabpurge 934
pgstat_recv_inquiry 1044
reset_dbentry_counters 1084
pgstat_get_wait_activity 1220
pgstat_count_truncate 1472
pgstat_truncate_save_counters 1488
pgstat_get_wait_event 1578
pgstat_get_wait_event_type 1578
pgstat_clip_activity 1598
pgstat_fetch_stat_local_beentry 1610
pgstat_write_statsfiles 1620
pgstat_read_current_status 1830
CreateSharedBackendStatus 1856
BackendStatusShmemSize 1860
pgstat_db_requested 1986
pgstat_write_db_statsfile 2502
pgstat_fetch_stat_dbentry 3006
pgstat_recv_tempfile 3314
pgstat_report_tempfile 3314
pgstat_vacuum_stat 3644
pgstat_read_statsfiles 4050
pgstat_get_backend_desc 4074
pgstat_setup_memcxt 4270
pgstat_collect_oids 4272
pgstat_recv_vacuum 4480
pgstat_read_db_statsfile 4874
pgstat_read_db_statsfile_timestamp 5586
backend_read_statsfile 5912
AtEOSubXact_PgStat 7360
pgstat_recv_bgwriter 7624
pgstat_truncate_restore_counters 9350
pgstat_recv_analyze 9578
pgstat_send_bgwriter 10886
get_dbstat_filename 11216
pgstat_bestart 11318
pgstat_beshutdown_hook 11384
pgstat_initialize 11384
pgstat_get_tab_entry 14058
pgstat_send_funcstats 17500
pgstat_report_appname 21372
pgstat_report_analyze 31658
pgstat_update_heap_dead_tuples 31930
pgstat_report_vacuum 41600
pgstat_recv_tabstat 74596
pgstat_send_tabstat 75600
pgstat_progress_start_command 92136
pgstat_get_db_entry 94028
pgstat_send 99492
pgstat_setheader 99492
pgstat_progress_end_command 113914
pgstat_write_statsfile_needed 166852
add_tabstat_xact_level 255016
get_tabstat_stack_level 255658
pgstat_count_heap_update 306268
pgstat_progress_update_multi_param 349660
pgstat_report_stat 379170
AtEOXact_PgStat 459538
pgstat_clear_snapshot 460290
get_tabstat_entry 739642
pgstat_report_xact_timestamp 919076
pgstat_report_activity 945370
pgstat_count_heap_delete 1558828
pgstat_progress_update_param 14622904
pgstat_end_function_usage 15492040
pgstat_init_function_usage 15493576
pgstat_count_heap_insert 17236474
pgstat_initstats 27211518

Generated by: LCOV version 1.13