LCOV - code coverage report
Current view: top level - src/backend/postmaster - pgstat.c (source / functions) Hit Total Coverage
Test: PostgreSQL 12beta2 Lines: 1391 2090 66.6 %
Date: 2019-06-19 14:06:47 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 28
pgstat_twophase_postabort 38
pgstat_sighup_handler 48
pgstat_recv_autovac 62
pgstat_report_autovac 62
AtPrepare_PgStat 64
PostPrepare_PgStat 64
pgstat_reset_all 94
pgstat_twophase_postcommit 102
pgstat_get_wait_client 134
pgstat_reset_remove_files 188
pgstat_fetch_stat_numbackends 210
pgstat_exit 572
pgstat_init 572
PgstatCollectorMain 576
pgstat_start 576
pgstat_fetch_stat_tabentry 682
pgstat_get_crashed_backend_activity 724
pgstat_recv_tabpurge 936
reset_dbentry_counters 1072
pgstat_send_inquiry 1120
pgstat_get_wait_activity 1132
pgstat_recv_inquiry 1276
pgstat_count_truncate 1464
pgstat_truncate_save_counters 1480
pgstat_get_wait_event 1496
pgstat_get_wait_event_type 1496
pgstat_clip_activity 1516
pgstat_fetch_stat_local_beentry 1552
pgstat_read_current_status 1762
CreateSharedBackendStatus 1848
BackendStatusShmemSize 1852
pgstat_write_statsfiles 1852
pgstat_db_requested 2654
pgstat_write_db_statsfile 2958
pgstat_recv_tempfile 3244
pgstat_report_tempfile 3244
pgstat_fetch_stat_dbentry 3436
pgstat_vacuum_stat 3622
pgstat_get_backend_desc 4006
pgstat_read_statsfiles 4258
pgstat_collect_oids 4354
pgstat_setup_memcxt 4468
pgstat_recv_vacuum 4532
pgstat_read_db_statsfile 5526
pgstat_read_db_statsfile_timestamp 6270
backend_read_statsfile 6496
AtEOSubXact_PgStat 7358
pgstat_recv_bgwriter 8282
pgstat_truncate_restore_counters 9126
pgstat_recv_analyze 9706
pgstat_bestart 11226
pgstat_beshutdown_hook 11292
pgstat_initialize 11292
pgstat_send_bgwriter 12126
get_dbstat_filename 12768
pgstat_get_tab_entry 14238
pgstat_send_funcstats 17454
pgstat_report_appname 21180
pgstat_update_heap_dead_tuples 31632
pgstat_report_analyze 31648
pgstat_report_vacuum 41420
pgstat_recv_tabstat 74544
pgstat_send_tabstat 75590
pgstat_progress_start_command 93082
pgstat_get_db_entry 94324
pgstat_send 100338
pgstat_setheader 100338
pgstat_progress_end_command 114858
pgstat_write_statsfile_needed 172808
add_tabstat_xact_level 250700
get_tabstat_stack_level 251342
pgstat_count_heap_update 305714
pgstat_progress_update_multi_param 307234
pgstat_report_stat 376738
AtEOXact_PgStat 456266
pgstat_clear_snapshot 457244
get_tabstat_entry 739304
pgstat_report_xact_timestamp 912528
pgstat_report_activity 939750
pgstat_count_heap_delete 1295118
pgstat_progress_update_param 14630826
pgstat_end_function_usage 15254672
pgstat_init_function_usage 15256208
pgstat_count_heap_insert 17002800
pgstat_initstats 25899308

Generated by: LCOV version 1.13