You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
365 B
13 lines
365 B
#include <stdio.h>
|
|
|
|
#include "cpu-features.h"
|
|
|
|
int main() {
|
|
printf("android_getCpuFamily()=%d\n", android_getCpuFamily());
|
|
printf("android_getCpuFeatures()=0x%08llx\n", android_getCpuFeatures());
|
|
printf("android_getCpuCount()=%d\n", android_getCpuCount());
|
|
#ifdef __arm__
|
|
printf("android_getCpuIdArm()=0x%04x\n", android_getCpuIdArm());
|
|
#endif //__arm__
|
|
}
|