double memUsed() { return (double)memReadStat(0) * (double)getpagesize() / (1024*1024); }
static inline int64 memUsed() { return (int64)memReadStat(0) * (int64)getpagesize(); }
int64 memResident(void) { return (int64)memReadStat(1) * (int64)getpagesize(); }
static inline uint64_t memUsed() { return (uint64_t)memReadStat(0) * (uint64_t)getpagesize(); }
int64 memUsed (void) { return (int64)memReadStat(0) * (int64)getpagesize(); }