nanobench: upload peak memory usage as its own trace.
We'll end up with a result like this: "memory_usage" : { "meta" : { "max_rss_mb" : 57 } } BUG=skia: Review URL: https://codereview.chromium.org/780013002
This commit is contained in:
parent
787cdf9ab0
commit
e109145bf3
@ -793,6 +793,10 @@ int nanobench_main() {
|
||||
#endif
|
||||
}
|
||||
|
||||
log->bench("memory_usage", 0,0);
|
||||
log->config("meta");
|
||||
log->metric("max_rss_mb", sk_tools::getMaxResidentSetSizeMB());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user