prev_time = now;
}
-void getmem(u32_t *total, u32_t *free, u32_t *cached)
+void getmem(uint32_t *total, uint32_t *free, uint32_t *cached)
{
- u32_t pagesize, largest;
+ uint32_t pagesize, largest;
FILE *f = fopen("/proc/meminfo", "r");
if(!f) return;
if(fscanf(f, "%u %u %u %u %u", &pagesize, total, free,
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <stdio.h>
#include <time.h>
#include <sys/statvfs.h>
void rm_rf_dir(int test_nr);
void rm_rf_ppdir(int test_nr);
void start(int test_nr);
-void getmem(u32_t *total, u32_t *free, u32_t *cached);
+void getmem(uint32_t *total, uint32_t *free, uint32_t *cached);
extern int common_test_nr, errct, subtest;