linux.hh (10850:e4328e028961) | linux.hh (11320:42ecb523c64a) |
---|---|
1/* 2 * Copyright (c) 2010, 2011-2012, 2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 163 unchanged lines hidden (view full) --- 172 uint32_t bufferram; /* Memory used by buffers */ 173 uint32_t totalswap; /* Total swap space size */ 174 uint32_t freeswap; /* swap space still available */ 175 uint16_t procs; /* Number of current processes */ 176 uint32_t totalhigh; /* Total high memory size */ 177 uint32_t freehigh; /* Available high memory size */ 178 uint32_t mem_unit; /* Memory unit size in bytes */ 179 } tgt_sysinfo; | 1/* 2 * Copyright (c) 2010, 2011-2012, 2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 163 unchanged lines hidden (view full) --- 172 uint32_t bufferram; /* Memory used by buffers */ 173 uint32_t totalswap; /* Total swap space size */ 174 uint32_t freeswap; /* swap space still available */ 175 uint16_t procs; /* Number of current processes */ 176 uint32_t totalhigh; /* Total high memory size */ 177 uint32_t freehigh; /* Available high memory size */ 178 uint32_t mem_unit; /* Memory unit size in bytes */ 179 } tgt_sysinfo; |
180 | 180 |
181 /// For getrusage(). 182 struct rusage { 183 struct timeval ru_utime; //!< user time used 184 struct timeval ru_stime; //!< system time used 185 int32_t ru_maxrss; //!< max rss 186 int32_t ru_ixrss; //!< integral shared memory size 187 int32_t ru_idrss; //!< integral unshared data " 188 int32_t ru_isrss; //!< integral unshared stack " --- 213 unchanged lines hidden --- | 181 /// For getrusage(). 182 struct rusage { 183 struct timeval ru_utime; //!< user time used 184 struct timeval ru_stime; //!< system time used 185 int32_t ru_maxrss; //!< max rss 186 int32_t ru_ixrss; //!< integral shared memory size 187 int32_t ru_idrss; //!< integral unshared data " 188 int32_t ru_isrss; //!< integral unshared stack " --- 213 unchanged lines hidden --- |