aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authortradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2006-06-15 16:15:19 +0000
committertradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2006-06-15 16:15:19 +0000
commitdf76f6a88df32597d6a4f819024d165a41787f47 (patch)
tree63ce1e73e67de7acf0a23c0dae71e52e53a7e4bb /src/include
parentfba3c7e979a4b10815683703eb4bd6ff05244f22 (diff)
Erik's patch to "Make PUGH's memory statistics work again".
See http://www.cactuscode.org/old/pipermail/patches/2005-November/000118.html for the start of the thread. The final patch is not available on the patches mailing list but can eventually be refered to via http://www.aei.mpg.de/~jthorn/spool/pugh-memstats-2.diff. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@480 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/include')
-rw-r--r--src/include/pGV.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/pGV.h b/src/include/pGV.h
index 13d3214..8219847 100644
--- a/src/include/pGV.h
+++ b/src/include/pGV.h
@@ -95,11 +95,12 @@ typedef struct PGA
void *padddata; /* Storage for the data. */
void *data; /* See the note above. */
int storage; /* Do we have storage or not? */
+ int npoints; /* Number of points (for memory statistics) */
int *stagger; /* [dim] directional stagger indicies */
void *parent; /* The GH to which I belong */
- /* Note this is struct PGH whic is
- typedeffed to pGH in pGH.h, but
+ /* Note this is struct PGH which is
+ typedef'd to pGH in pGH.h, but
that is included AFTER this so we
need the full name for the lookahead
structure reference thingy.