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

Unified Diff: base/process/process_metrics.cc

Issue 2807463004: GN: aix port along with linux_s390x, linux_ppc64 and linux_ppc64le support. (Closed)
Patch Set: rebased, cleaned up the code, addressed comments Created 3 years, 8 months 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
Index: base/process/process_metrics.cc
diff --git a/base/process/process_metrics.cc b/base/process/process_metrics.cc
index ad555aedffe9dd3e7950f7ff6a9c65c9cf42e33a..f24901c3d997ae7a13848ebe71680c2a6badb0e5 100644
--- a/base/process/process_metrics.cc
+++ b/base/process/process_metrics.cc
@@ -67,7 +67,7 @@ double ProcessMetrics::GetPlatformIndependentCPUUsage() {
#endif
}
-#if defined(OS_MACOSX) || defined(OS_LINUX)
+#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_AIX)
int ProcessMetrics::CalculateIdleWakeupsPerSecond(
uint64_t absolute_idle_wakeups) {
TimeTicks time = TimeTicks::Now();

Powered by Google App Engine
This is Rietveld 408576698