OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 #include "vm/globals.h" |
| 6 #if defined(TARGET_OS_FUCHSIA) |
| 7 |
| 8 #include "vm/cpuinfo.h" |
| 9 |
| 10 #include "platform/assert.h" |
| 11 |
| 12 // TODO(zra): Use "vm/cpuid.h" |
| 13 |
| 14 namespace dart { |
| 15 |
| 16 CpuInfoMethod CpuInfo::method_ = kCpuInfoDefault; |
| 17 const char* CpuInfo::fields_[kCpuInfoMax] = {0}; |
| 18 |
| 19 void CpuInfo::InitOnce() { |
| 20 UNIMPLEMENTED(); |
| 21 } |
| 22 |
| 23 |
| 24 void CpuInfo::Cleanup() { |
| 25 UNIMPLEMENTED(); |
| 26 } |
| 27 |
| 28 |
| 29 bool CpuInfo::FieldContains(CpuInfoIndices idx, const char* search_string) { |
| 30 UNIMPLEMENTED(); |
| 31 return false; |
| 32 } |
| 33 |
| 34 |
| 35 const char* CpuInfo::ExtractField(CpuInfoIndices idx) { |
| 36 UNIMPLEMENTED(); |
| 37 return "<undefined>"; |
| 38 } |
| 39 |
| 40 |
| 41 bool CpuInfo::HasField(const char* field) { |
| 42 UNIMPLEMENTED(); |
| 43 return false; |
| 44 } |
| 45 |
| 46 } // namespace dart |
| 47 |
| 48 #endif // defined(TARGET_OS_FUCHSIA) |
OLD | NEW |