diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /sys/nmemio/nmemio.com | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/nmemio/nmemio.com')
-rw-r--r-- | sys/nmemio/nmemio.com | 26 |
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 + |