diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-08-27 11:38:17 +0300 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-08-27 12:34:09 +0300 |
commit | 766392f1f88c03b4d5b5a4b3ef59aab322fcb3c7 (patch) | |
tree | 32f5cfd13a1494ffbdb7db23d9d8a2152a2c4d2f /render-test/metadata.hpp | |
parent | 1b020eeb1195a7afcac35c263220cd3568a4bc69 (diff) | |
download | qtlocation-mapboxgl-766392f1f88c03b4d5b5a4b3ef59aab322fcb3c7.tar.gz |
[test runner] Use allocation peak values for memory metrics
Diffstat (limited to 'render-test/metadata.hpp')
-rw-r--r-- | render-test/metadata.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/render-test/metadata.hpp b/render-test/metadata.hpp index 5e96301e4d..d23a0fb296 100644 --- a/render-test/metadata.hpp +++ b/render-test/metadata.hpp @@ -31,11 +31,11 @@ struct TestPaths { struct MemoryProbe { MemoryProbe() = default; - MemoryProbe(size_t size_, size_t allocations_) - : size(size_) + MemoryProbe(size_t peak_, size_t allocations_) + : peak(peak_) , allocations(allocations_) {} - size_t size; + size_t peak; size_t allocations; }; |