Chromium Code Reviews| Index: runtime/vm/cpuinfo_linux.cc |
| =================================================================== |
| --- runtime/vm/cpuinfo_linux.cc (revision 36692) |
| +++ runtime/vm/cpuinfo_linux.cc (working copy) |
| @@ -42,6 +42,14 @@ |
| fields_[kCpuInfoFeatures] = "ASEs implemented"; |
| method_ = kCpuInfoSystem; |
| ProcCpuInfo::InitOnce(); |
| +#elif defined(HOST_ARCH_ARM64) |
|
regis
2014/05/27 17:59:57
You could factor this section with HOST_ARCH_ARM (
zra
2014/05/27 18:05:00
Done.
|
| + // TODO(zra): Verify that these field names are correct. |
| + fields_[kCpuInfoProcessor] = "Processor"; |
| + fields_[kCpuInfoModel] = "model name"; |
| + fields_[kCpuInfoHardware] = "Hardware"; |
| + fields_[kCpuInfoFeatures] = "Features"; |
| + method_ = kCpuInfoSystem; |
| + ProcCpuInfo::InitOnce(); |
| #else |
| #error Unrecognized target architecture |
| #endif |