| Index: runtime/vm/cpuinfo_linux.cc
|
| diff --git a/runtime/vm/cpuinfo_linux.cc b/runtime/vm/cpuinfo_linux.cc
|
| index 3289a1573984d4f9af87e4641532fde22c0fe5ae..94c4678eb1c7d1b44c4ea4da22eefede4410a479 100644
|
| --- a/runtime/vm/cpuinfo_linux.cc
|
| +++ b/runtime/vm/cpuinfo_linux.cc
|
| @@ -5,8 +5,8 @@
|
| #include "vm/globals.h"
|
| #if defined(HOST_OS_LINUX)
|
|
|
| -#include "vm/cpuinfo.h"
|
| #include "vm/cpuid.h"
|
| +#include "vm/cpuinfo.h"
|
| #include "vm/proccpuinfo.h"
|
|
|
| #include "platform/assert.h"
|
| @@ -50,7 +50,6 @@ void CpuInfo::InitOnce() {
|
| #endif
|
| }
|
|
|
| -
|
| void CpuInfo::Cleanup() {
|
| if (method_ == kCpuInfoCpuId) {
|
| CpuId::Cleanup();
|
| @@ -60,7 +59,6 @@ void CpuInfo::Cleanup() {
|
| }
|
| }
|
|
|
| -
|
| bool CpuInfo::FieldContains(CpuInfoIndices idx, const char* search_string) {
|
| if (method_ == kCpuInfoCpuId) {
|
| const char* field = CpuId::field(idx);
|
| @@ -73,7 +71,6 @@ bool CpuInfo::FieldContains(CpuInfoIndices idx, const char* search_string) {
|
| }
|
| }
|
|
|
| -
|
| const char* CpuInfo::ExtractField(CpuInfoIndices idx) {
|
| if (method_ == kCpuInfoCpuId) {
|
| return CpuId::field(idx);
|
| @@ -83,7 +80,6 @@ const char* CpuInfo::ExtractField(CpuInfoIndices idx) {
|
| }
|
| }
|
|
|
| -
|
| bool CpuInfo::HasField(const char* field) {
|
| if (method_ == kCpuInfoCpuId) {
|
| return (strcmp(field, fields_[kCpuInfoProcessor]) == 0) ||
|
|
|