Jim Monte
88653fa998
Fixed assorted compiler warnings, memory leaks, etc.
2020-03-07 23:46:58 -05:00
Jim Monte
10d0f18fb6
Modified calculation to determine when memory is nearly exhausted. Also changed prototypes of memory reporting functions to match their definitions.
2019-12-21 21:09:30 -05:00
Holger Vogt
4fa37979ae
Complete redesign of memory monitoring in resource.c.
...
Acquiring memory size is done by four functions
getMemorySize, getAvailableMemorySize, getPeakRSS,
and getCurrentRSS.
Time data are still obtained without code modifications.
2019-10-19 18:45:52 +02:00
rlar
6c8f002eea
unify #ifndef include wrapper
2013-12-31 12:54:32 +01:00
h_vogt
36f6eb6a89
bug no. 3386184
2011-08-06 07:53:48 +00:00
rlar
fd2301393a
use #include <inttypes.h> and size_t for portability
2011-07-23 20:24:30 +00:00
rlar
d7a9d71a1a
remove prototypes, avoid redeclarations
2010-10-16 15:58:14 +00:00
h_vogt
77925f7f48
memory information from /proc/... (LINUX) or api functions (Windows)
2008-05-10 16:07:22 +00:00
pnenzi
978f1c32a2
Initial revision
2000-04-27 20:03:57 +00:00