aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-04-30 07:11:22 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-30 07:11:22 -0700
commitd75c466ef57ef4dbdf96390b2c01121e4de36f23 (patch)
tree1aeb8959736eef9a28c8626583afad1032018eaa /tools
parent181d7ba4cdb55e3fd53811200d5f7beb362b2437 (diff)
DM+nanobench: print both current and max RSS.
out/Debug/dm: ( 360/380 MB 2112) 396ms gpu gm xfermodes out/Release/nanobench: 32/33 MB 1659 2.46µs 2.55µs 2.54µs 2.67µs 2% ▄▄▄▅▅▃▂▁▂█ gpu gradient_conicalZero_clamp_hicolor out/Debug/nanobench: 42/42 MB desk_css3gradients.skp_1 8888 BUG=skia: NOTREECHECKS=true Review URL: https://codereview.chromium.org/1115203002
Diffstat (limited to 'tools')
-rw-r--r--tools/ProcStats.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/ProcStats.h b/tools/ProcStats.h
index f085fe31a6..344b304ba3 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