aboutsummaryrefslogtreecommitdiff
path: root/sys/nmemio/nmemio.com
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nmemio/nmemio.com')
-rw-r--r--sys/nmemio/nmemio.com26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys/nmemio/nmemio.com b/sys/nmemio/nmemio.com
new file mode 100644
index 00000000..126475c0
--- /dev/null
+++ b/sys/nmemio/nmemio.com
@@ -0,0 +1,26 @@
+
+int mclear # clear newly allocated memory?
+int mwatch # check buffer sentinals on FREE?
+int mcollect # garbage collect on exit?
+int mreport # report memio usage stats?
+
+int lsentinal # lower sentinal value
+int usentinal # upper sentinal value
+
+long mem_used # total mem usage
+long max_alloc # largest allocated pointer size
+long leaked # total leaked bytes
+int nleaked # number leaked pointers
+int nalloc # total number of allocations
+int nfree # total number of frees
+
+int mdebug # debugging memory use in tasks?
+int in_task # in task or iraf main?
+
+pointer mgc # garbage collection buffer
+
+# Debug common
+common /nmemio/ mclear, mwatch, mcollect, mreport, lsentinal, usentinal,
+ mem_used, max_alloc, nleaked, leaked, nalloc, nfree,
+ mdebug, in_task, mgc
+