29 lignes
817 o
C
29 lignes
817 o
C
/*--------------------------------------------------------------------------
|
|
*
|
|
* pacs.h
|
|
* Definitions for easier statistics management.
|
|
*
|
|
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* -------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef PACS
|
|
#define PACS
|
|
|
|
extern void RegisterMeasuresInPgStat(void);
|
|
|
|
/* creating/dropping stats */
|
|
extern void pacsCreateMeasure(const char *name);
|
|
extern void pacsDropMeasure(const char *name);
|
|
|
|
/* working with stats content */
|
|
extern void pacsIncrementMeasure(const char *name);
|
|
extern void pacsResetAllMeasures(void);
|
|
extern void pacsResetMeasure(const char *name);
|
|
|
|
/* statsmgr_stats.c */
|
|
extern void RegisterPacsInPgStat(void);
|
|
|
|
#endif
|