This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "sys/types.h" | |
#include "sys/sysinfo.h" | |
int parseLine(char *line) { | |
// This assumes that a digit will be found and the line ends in " Kb". | |
int i = strlen(line); | |
const char *p = line; | |
while (*p < '0' || *p > '9') p++; | |
line[i - 3] = '\0'; | |
i = atoi(p); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cpu cortex-a9 | |
.eabi_attribute 28, 1 | |
.eabi_attribute 20, 1 | |
.eabi_attribute 21, 1 | |
.eabi_attribute 23, 3 | |
.eabi_attribute 24, 1 | |
.eabi_attribute 25, 1 | |
.eabi_attribute 26, 2 | |
.eabi_attribute 30, 2 | |
.eabi_attribute 34, 1 |