From c1e525d7f743087e116a2845d5df505d79fa6547 Mon Sep 17 00:00:00 2001 From: RafaelWO Date: Sat, 3 Aug 2024 11:18:28 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Show=20time=20duration=20in=20stats?= =?UTF-8?q?=20modal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafael Weingartner-Ortner --- src/memray/reporters/templates/base.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/memray/reporters/templates/base.html b/src/memray/reporters/templates/base.html index 41c1f01900..8f2eccd6b2 100644 --- a/src/memray/reporters/templates/base.html +++ b/src/memray/reporters/templates/base.html @@ -98,6 +98,7 @@ Command line: {{ metadata.command_line }}
Start time: {{ metadata.start_time }}
End time: {{ metadata.end_time }}
+ Duration: {{ metadata.end_time - metadata.start_time }}
Total number of allocations: {{ metadata.total_allocations }}
Total number of frames seen: {{ metadata.total_frames }}
Peak memory usage: {{ metadata.peak_memory | filesizeformat(true) }}