Guillaume Chatelet | dfdac6a | 2019-01-17 18:00:21 +0100 | [diff] [blame] | 1 | #include <stdio.h> |
Guillaume Chatelet | 22a5362 | 2020-09-23 11:52:20 +0200 | [diff] [blame] | 2 | |
Guillaume Chatelet | dfdac6a | 2019-01-17 18:00:21 +0100 | [diff] [blame] | 3 | #include "cpu-features.h" |
| 4 | |
| 5 | int main() { |
| 6 | printf("android_getCpuFamily()=%d\n", android_getCpuFamily()); |
| 7 | printf("android_getCpuFeatures()=0x%08llx\n", android_getCpuFeatures()); |
| 8 | printf("android_getCpuCount()=%d\n", android_getCpuCount()); |
| 9 | #ifdef __arm__ |
| 10 | printf("android_getCpuIdArm()=0x%04x\n", android_getCpuIdArm()); |
| 11 | #endif //__arm__ |
| 12 | } |