mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
Profiler: Show the duration of the time interval chosen
This commit is contained in:
parent
7dab58ac3b
commit
6c3d601e87
Notes:
sideshowbarker
2024-07-18 16:56:09 +09:00
Author: https://github.com/DMaroo 🔰 Commit: https://github.com/SerenityOS/serenity/commit/6c3d601e879 Pull-request: https://github.com/SerenityOS/serenity/pull/7761
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue