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

Unified Diff: tools/ProcStats.h

Issue 1115203002: DM+nanobench: print both current and max RSS. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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
« no previous file with comments | « dm/DM.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ProcStats.h
diff --git a/tools/ProcStats.h b/tools/ProcStats.h
index f085fe31a6ff532044928b32a04e567a1be6a5a8..344b304ba3d6335376ff82385499017dfa877af7 100644
--- a/tools/ProcStats.h
+++ b/tools/ProcStats.h
@@ -26,16 +26,6 @@ int getMaxResidentSetSizeMB();
*/
int getCurrResidentSetSizeMB();
-/**
- * If implemented, returns getCurrResidentSetSizeMB().
- * If not, if implemented, returns getMaxResidentSetSizeMB().
- * If not, returns -1.
- */
-inline int getBestResidentSetSizeMB() {
- int mb = getCurrResidentSetSizeMB();
- return mb >= 0 ? mb : getMaxResidentSetSizeMB();
-}
-
} // namespace sk_tools
#endif // ProcStats_DEFINED
« no previous file with comments | « dm/DM.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698