mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-23 00:49:18 +01:00
Timing test.
This commit is contained in:
parent
6bc0b77ad3
commit
f2997102c7
15 changed files with 220 additions and 59 deletions
|
|
@ -54,6 +54,8 @@ public sealed partial class ConfigWindow : Window, IDisposable
|
|||
{
|
||||
try
|
||||
{
|
||||
TimingManager.StartTimer( TimingType.UiMainWindow );
|
||||
|
||||
if( Penumbra.ImcExceptions.Count > 0 )
|
||||
{
|
||||
DrawProblemWindow( $"There were {Penumbra.ImcExceptions.Count} errors while trying to load IMC files from the game data.\n"
|
||||
|
|
@ -101,6 +103,7 @@ public sealed partial class ConfigWindow : Window, IDisposable
|
|||
{
|
||||
Penumbra.Log.Error( $"Exception thrown during UI Render:\n{e}" );
|
||||
}
|
||||
TimingManager.StopTimer( TimingType.UiMainWindow );
|
||||
}
|
||||
|
||||
private static void DrawProblemWindow( string text, bool withExceptions )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue