summaryrefslogtreecommitdiff
path: root/src/gtm/main/gtm_stat.c
blob: 3f9dca17460672dc0f5c119177076c434172d71f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*-------------------------------------------------------------------------
 *
 * gtm_stat.c
 *
 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 * Portions Copyright (c) 2010-2012 Postgres-XC Development Group
 *
 *
 * IDENTIFICATION
 *	  $PostgreSQL$
 *
 *-------------------------------------------------------------------------
 */
#include "gtm/gtm_c.h"
#include "gtm/gtm.h"

uint32	GTM_Message_Stats[MSG_MAX_MESSAGE_TYPE];
uint32	GTM_Result_Stats[GTM_MAX_RESULT_TYPE];

void
gtm_msgstat_increment(int type)
{
	GTM_Message_Stats[type]++;
}

void
gtm_resultstat_increment(int type)
{
	GTM_Result_Stats[type]++;
}

void
gtm_print_stats(void)
{

}