aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2019-09-10 09:43:04 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2019-09-10 09:43:04 -0400
commit7c3ad2bf3d4c5cac82146b3359134137bc6d83ff (patch)
tree7831287ee49e8e9ee12b22887c409fd3620fc391 /awk.h
parentabc7fc68f8ce227db5a1ce881a8f065577c764dd (diff)
downloadegawk-7c3ad2bf3d4c5cac82146b3359134137bc6d83ff.tar.gz
egawk-7c3ad2bf3d4c5cac82146b3359134137bc6d83ff.tar.bz2
egawk-7c3ad2bf3d4c5cac82146b3359134137bc6d83ff.zip
Update the typeof(PROCINFO) hack to return memory highwater and active counts.
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/awk.h b/awk.h
index b55b0488..dc86a45c 100644
--- a/awk.h
+++ b/awk.h
@@ -1062,7 +1062,10 @@ struct block_header {
struct block_item *freep;
size_t size;
const char *name;
- long cnt;
+ long highwater;
+#ifdef MEMDEBUG
+ long active;
+#endif
};
enum block_id {