commit | 5a523fef68c55b66c542fd12ba877195d9b57c1c | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Thu Jan 26 16:48:28 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jan 26 22:38:50 2017 +0000 |
tree | 536bb4de647496c88e3221931b9e887dd35cf5bd | |
parent | 25272300c308335f2d87c2a70e249965b268bcb0 [diff] [blame] |
Keep valgrind happen by purging caches. Change-Id: Ic387edb9b5d71110c10c8a40a362ed2853d140f5 Reviewed-on: https://skia-review.googlesource.com/7638 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Herb Derby <herb@google.com>
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp index 4a058be..6aea7b5 100644 --- a/bench/nanobench.cpp +++ b/bench/nanobench.cpp
@@ -1364,6 +1364,8 @@ } } + SkGraphics::PurgeAllCaches(); + log->bench("memory_usage", 0,0); log->config("meta"); log->metric("max_rss_mb", sk_tools::getMaxResidentSetSizeMB());