48#define CHECKPOINTER_ACC(fld) stats_shmem->stats.fld += PendingCheckpointerStats.fld
59#undef CHECKPOINTER_ACC
105 sizeof(stats_shmem->
stats),
120 sizeof(stats_shmem->
stats),
124 memcpy(&
reset, reset_offset,
sizeof(stats_shmem->
stats));
128#define CHECKPOINTER_COMP(fld) pgStatLocal.snapshot.checkpointer.fld -= reset.fld;
139#undef CHECKPOINTER_COMP
#define Assert(condition)
#define MemSet(start, val, len)
bool LWLockAcquire(LWLock *lock, LWLockMode mode)
void LWLockRelease(LWLock *lock)
void LWLockInitialize(LWLock *lock, int tranche_id)
static bool pg_memory_is_all_zeros(const void *ptr, size_t len)
void pgstat_snapshot_fixed(PgStat_Kind kind)
PgStat_LocalState pgStatLocal
#define PGSTAT_KIND_CHECKPOINTER
void pgstat_checkpointer_snapshot_cb(void)
void pgstat_checkpointer_init_shmem_cb(void *stats)
#define CHECKPOINTER_COMP(fld)
void pgstat_report_checkpointer(void)
void pgstat_checkpointer_reset_all_cb(TimestampTz ts)
PgStat_CheckpointerStats * pgstat_fetch_stat_checkpointer(void)
PgStat_CheckpointerStats PendingCheckpointerStats
#define CHECKPOINTER_ACC(fld)
static void pgstat_end_changecount_write(uint32 *cc)
#define pgstat_assert_is_up()
static void pgstat_begin_changecount_write(uint32 *cc)
static void pgstat_copy_changecounted_stats(void *dst, void *src, size_t len, uint32 *cc)
void pgstat_flush_io(bool nowait)
PgStat_CheckpointerStats reset_offset
PgStat_CheckpointerStats stats
TimestampTz stat_reset_timestamp
PgStat_ShmemControl * shmem
PgStatShared_Checkpointer checkpointer
PgStat_CheckpointerStats checkpointer