summaryrefslogtreecommitdiffstats
path: root/base/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/cpu.h')
-rw-r--r--base/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/cpu.h b/base/cpu.h
index 1d45258..509763e 100644
--- a/base/cpu.h
+++ b/base/cpu.h
@@ -31,6 +31,7 @@ class BASE_EXPORT CPU {
// Accessors for CPU information.
const std::string& vendor_name() const { return cpu_vendor_; }
+ int signature() const { return signature_; }
int stepping() const { return stepping_; }
int model() const { return model_; }
int family() const { return family_; }
@@ -55,6 +56,7 @@ class BASE_EXPORT CPU {
// 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