// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file.
// Compute the CPU family and model based on the vendor and CPUID signature. // Returns in order: family, model, extended family, extended model.
BASE_EXPORT std::tuple<int, int, int, int> ComputeX86FamilyAndModel( const std::string& vendor, int signature);
private: // Query the processor for CPUID information. void Initialize();
int signature_; // raw form of type, family, model, and stepping int type_; // process type int family_; // family of the processor int model_; // model of processor int stepping_; // processor revision number int ext_model_; int ext_family_; bool has_mmx_; bool has_sse_; bool has_sse2_; bool has_sse3_; bool has_ssse3_; bool has_sse41_; bool has_sse42_; bool has_popcnt_; bool has_avx_; bool has_avx2_; bool has_aesni_; bool has_non_stop_time_stamp_counter_; bool is_running_in_vm_;
std::string cpu_vendor_;
std::string cpu_brand_;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.