statistics.h revision 169689
1251875Speter/* Memory statistics helpers.
2251875Speter   Copyright (C) 2004
3251875Speter   Free Software Foundation, Inc.
4251875Speter   Contributed by Cygnus Solutions.
5251875Speter
6251875Speter   This file is part of GCC.
7251875Speter
8251875Speter   GCC is free software; you can redistribute it and/or modify it
9251875Speter   under the terms of the GNU General Public License as published by
10251875Speter   the Free Software Foundation; either version 2, or (at your option)
11251875Speter   any later version.
12251875Speter
13251875Speter   GCC is distributed in the hope that it will be useful, but WITHOUT
14251875Speter   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15251875Speter   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
16251875Speter   License for more details.
17251875Speter
18251875Speter   You should have received a copy of the GNU General Public License
19251875Speter   along with GCC; see the file COPYING.  If not, write to the Free
20251875Speter   the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
21251875Speter   MA 02110-1301, USA.  */
22251875Speter
23251875Speter#ifndef GCC_STATISTICS
24251875Speter#define GCC_STATISTICS
25251875Speter#ifdef GATHER_STATISTICS
26251875Speter#define MEM_STAT_DECL , const char * ARG_UNUSED (_loc_name), int ARG_UNUSED (_loc_line), const char * ARG_UNUSED (_loc_function)
27251875Speter#define PASS_MEM_STAT , _loc_name, _loc_line,  _loc_function
28251875Speter#define MEM_STAT_INFO , __FILE__, __LINE__, __FUNCTION__
29251875Speter#else
30251875Speter#define MEM_STAT_DECL
31251875Speter#define PASS_MEM_STAT
32251875Speter#define MEM_STAT_INFO
33251875Speter#endif
34251875Speter#endif
35251875Speter