• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <inttypes.h>
2 typedef uint32_t mpers_ptr_t;
3 typedef
4 struct {
5 int32_t uptime;
6 uint32_t loads[3];
7 uint32_t totalram;
8 uint32_t freeram;
9 uint32_t sharedram;
10 uint32_t bufferram;
11 uint32_t totalswap;
12 uint32_t freeswap;
13 uint16_t procs;
14 uint16_t pad;
15 uint32_t totalhigh;
16 uint32_t freehigh;
17 uint32_t mem_unit;
18 char _f[8];
19 } ATTRIBUTE_PACKED m32_sysinfo_t;
20 #define MPERS_m32_sysinfo_t m32_sysinfo_t
21