Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1986)

Unified Diff: base/process/process_metrics.cc

Issue 1446363003: Deleted OS_WIN and all Windows specific files from base. (Closed) Base URL: https://github.com/domokit/mojo.git@base_tests
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process/process_metrics.h ('k') | base/process/process_metrics_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_metrics.cc
diff --git a/base/process/process_metrics.cc b/base/process/process_metrics.cc
index e48633910763892ea1f64e54a7e0dea9acb1aca1..181d1c856838d08944e97b72ab9f449b486c6936 100644
--- a/base/process/process_metrics.cc
+++ b/base/process/process_metrics.cc
@@ -44,11 +44,7 @@ scoped_ptr<Value> SystemMetrics::ToValue() const {
}
double ProcessMetrics::GetPlatformIndependentCPUUsage() {
-#if defined(OS_WIN)
- return GetCPUUsage() * processor_count_;
-#else
return GetCPUUsage();
-#endif
}
#if defined(OS_MACOSX) || defined(OS_LINUX)
« no previous file with comments | « base/process/process_metrics.h ('k') | base/process/process_metrics_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698