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

Unified Diff: bench/nanobench.cpp

Issue 780013002: nanobench: upload peak memory usage as its own trace. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/nanobench.cpp
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 03fabc44f1a021252bcff6f4656065b2ced48051..bcb70ca2b71fa41e1e1901a31fed2f7c76699e05 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -784,6 +784,10 @@ int nanobench_main() {
#endif
}
+ log->bench("memory_usage", 0,0);
+ log->config("meta");
+ log->metric("max_rss_mb", sk_tools::getMaxResidentSetSizeMB());
+
return 0;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698