nanobench: upload peak memory usage as its own trace.
authormtklein <mtklein@chromium.org>
Thu, 4 Dec 2014 18:47:02 +0000 (10:47 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Dec 2014 18:47:02 +0000 (10:47 -0800)
commite109145bf31d63963b3f78c6af6e404d5464a55b
treeeb34cf56bb9c276db9abd2ded49025369f1e3c04
parent787cdf9ab06c5afc6fe480ab88268e983505bd32
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
bench/nanobench.cpp