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

Unified Diff: base/process_util_linux.cc

Issue 10905: Unfork test_shell_main_gtk back into test_shell_main. (Closed)
Patch Set: Created 12 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
Index: base/process_util_linux.cc
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc
index db92ed9d7a9fe80e3befe224f60c58c6c3524811..2dba8089f46de5c6eadce2c6a9c14d32e10e4eeb 100644
--- a/base/process_util_linux.cc
+++ b/base/process_util_linux.cc
@@ -322,4 +322,9 @@ bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) {
return true;
}
+int ProcessMetrics::GetCPUUsage() {
+ // TODO(port): This needs to be replaced by an call to getrusage().
+ return -1;
+}
+
} // namespace process_util

Powered by Google App Engine
This is Rietveld 408576698