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>
This commit is contained in:
parent
25272300c3
commit
5a523fef68
@ -1364,6 +1364,8 @@ int nanobench_main() {
|
||||
}
|
||||
}
|
||||
|
||||
SkGraphics::PurgeAllCaches();
|
||||
|
||||
log->bench("memory_usage", 0,0);
|
||||
log->config("meta");
|
||||
log->metric("max_rss_mb", sk_tools::getMaxResidentSetSizeMB());
|
||||
|
Loading…
Reference in New Issue
Block a user