Profiler: Show the duration of the time interval chosen

This commit is contained in:
DhruvMaroo 2021-06-04 12:10:52 +05:30 committed by Andreas Kling
parent 7dab58ac3b
commit 6c3d601e87

View file

@ -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());
};