From 6c3d601e87986153ae1b809d664327bf248e45f9 Mon Sep 17 00:00:00 2001 From: DhruvMaroo <72350048+DhruvMaroo@users.noreply.github.com> Date: Fri, 4 Jun 2021 12:10:52 +0530 Subject: Profiler: Show the duration of the time interval chosen --- Userland/DevTools/Profiler/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland/DevTools') diff --git a/Userland/DevTools/Profiler/main.cpp b/Userland/DevTools/Profiler/main.cpp index 0633e6e0c3..bf0bf6ea4a 100644 --- a/Userland/DevTools/Profiler/main.cpp +++ b/Userland/DevTools/Profiler/main.cpp @@ -186,6 +186,7 @@ int main(int argc, char** argv) auto start = normalized_start_time - start_of_trace; auto end = normalized_end_time - start_of_trace; builder.appendff(", Selection: {} - {} ms", start, end); + builder.appendff(", Duration: {} ms", end - start); } statusbar.set_text(builder.to_string()); }; -- cgit v1.2.3