summaryrefslogtreecommitdiff
path: root/render-test/allocation_index.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'render-test/allocation_index.hpp')
-rw-r--r--render-test/allocation_index.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/render-test/allocation_index.hpp b/render-test/allocation_index.hpp
index 42c8f3d4e7..71da441c1f 100644
--- a/render-test/allocation_index.hpp
+++ b/render-test/allocation_index.hpp
@@ -43,4 +43,11 @@ public:
* @return size_t
*/
static size_t getAllocationsCount();
-}; \ No newline at end of file
+
+ /**
+ * @brief Returns the maximum size (in bytes) of the allocated data in the index, since last `reset()` call.
+ *
+ * @return size_t
+ */
+ static size_t getAllocatedSizePeak();
+};