summaryrefslogtreecommitdiffstats
path: root/base/sys_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/sys_info.h')
-rw-r--r--base/sys_info.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/sys_info.h b/base/sys_info.h
index af9f017..e5917f1 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -55,6 +55,10 @@ class BASE_EXPORT SysInfo {
// across platforms.
static std::string CPUArchitecture();
+ // Returns the CPU model name of the system. If it can not be figured out,
+ // an empty string is returned.
+ static std::string CPUModelName();
+
// Return the smallest amount of memory (in bytes) which the VM system will
// allocate.
static size_t VMAllocationGranularity();