opencv/platforms/android/service/engine/jni/BinderComponent/ProcReader.h

31 lines
652 B
C
Raw Normal View History

2012-06-21 22:50:05 +08:00
#ifndef __PROC_READER_H__
#define __PROC_READER_H__
#include <map>
#include <set>
#include <string>
#define CPU_INFO_NEON_STR "neon"
#define CPU_INFO_NEON2_STR "neon2"
#define CPU_INFO_VFPV3D16_STR "vfpv3d16"
#define CPU_INFO_VFPV3_STR "vfpv3"
#define CPU_INFO_VFPV4_STR "vfpv4"
2012-06-21 22:50:05 +08:00
#define CPU_INFO_SSE_STR "sse"
#define CPU_INFO_SSE2_STR "sse2"
#define CPU_INFO_SSSE3_STR "ssse3"
#define CPU_INFO_ARCH_ARMV7_STR "(v7l)"
#define CPU_INFO_ARCH_ARMV6_STR "(v6l)"
#define CPU_INFO_ARCH_ARMV5_STR "(v5l)"
2012-06-21 22:50:05 +08:00
#define CPU_INFO_ARCH_X86_STR "x86"
#define CPU_INFO_ARCH_MIPS_STR "MIPS"
2012-06-21 22:50:05 +08:00
// public part
std::map<std::string, std::string> GetCpuInfo();
2013-08-21 21:26:54 +08:00
#endif