Skip to content

Commit

Permalink
Adjust performance alert formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Oct 20, 2015
1 parent 1c83229 commit a62e83a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/xrEngine/xrSheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void CSheduler::DumpStatistics(CGameFont &font, PerformanceAlert *alert)
font.OutNext("Sheduler update: %2.2fms, %2.1f%%", stats.Update.result, percentage);
font.OutNext("Sheduler load: %2.2fms", stats.Load);
if (alert && stats.Update.result>3.0f)
alert->Print(font, "Update > 3ms: %3.1f", stats.Update.result);
alert->Print(font, "Update > 3ms: %3.1f", stats.Update.result);
stats.FrameStart();
}

Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/PHWorld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void CPHWorld::DumpStatistics(CGameFont &font, PerformanceAlert *alert)
font.OutNext("- collider: %2.2fms", stats.Collision.result);
font.OutNext("- solver: %2.2fms, %d", stats.Core.result, stats.Core.count);
if (alert && stats.MovCollision.result>5.0f)
alert->Print(font, "Physics > 5ms: %3.1f", stats.MovCollision.result);
alert->Print(font, "Physics > 5ms: %3.1f", stats.MovCollision.result);
}


Expand Down

0 comments on commit a62e83a

Please sign in to comment.