GUI: add a draw metric
This commit is contained in:
parent
16adc1fb1b
commit
91a7132e79
3 changed files with 8 additions and 0 deletions
|
|
@ -549,6 +549,7 @@ void FurnaceGUI::drawDebug() {
|
|||
|
||||
ImGui::Text("audio: %dµs",lastProcTime);
|
||||
ImGui::Text("render: %.0fµs",(double)renderTimeDelta/perfFreq);
|
||||
ImGui::Text("draw: %.0fµs",(double)drawTimeDelta/perfFreq);
|
||||
ImGui::Text("layout: %.0fµs",(double)layoutTimeDelta/perfFreq);
|
||||
ImGui::Text("event: %.0fµs",(double)eventTimeDelta/perfFreq);
|
||||
ImGui::Separator();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue