mirror of https://github.com/gnss-sdr/gnss-sdr
18 lines
485 B
C
18 lines
485 B
C
|
/*
|
||
|
* SPDX-FileCopyrightText: 2010 The Android Open Source Project
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#include "cpu-features.h"
|
||
|
#include <stdio.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__
|
||
|
}
|