mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
chore: adjust minimum times for hitch detection a bit
This commit is contained in:
parent
d4f5b3f959
commit
7ffd196c2e
3 changed files with 4 additions and 4 deletions
|
|
@ -28,7 +28,7 @@ public sealed class Framework : IDisposable, IServiceType
|
|||
private static Stopwatch statsStopwatch = new();
|
||||
|
||||
private readonly Stopwatch updateStopwatch = new();
|
||||
private readonly HitchDetector hitchDetector = new("FrameworkUpdate", 20);
|
||||
private readonly HitchDetector hitchDetector = new("FrameworkUpdate", 50);
|
||||
|
||||
private readonly Hook<OnUpdateDetour> updateHook;
|
||||
private readonly Hook<OnRealDestroyDelegate> destroyHook;
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ public sealed class GameNetwork : IDisposable, IServiceType
|
|||
private readonly Hook<ProcessZonePacketDownDelegate> processZonePacketDownHook;
|
||||
private readonly Hook<ProcessZonePacketUpDelegate> processZonePacketUpHook;
|
||||
|
||||
private readonly HitchDetector hitchDetectorUp = new("GameNetworkUp");
|
||||
private readonly HitchDetector hitchDetectorDown = new("GameNetworkDown");
|
||||
private readonly HitchDetector hitchDetectorUp = new("GameNetworkUp", 30);
|
||||
private readonly HitchDetector hitchDetectorDown = new("GameNetworkDown", 30);
|
||||
|
||||
private IntPtr baseAddress;
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public sealed class UiBuilder : IDisposable
|
|||
internal UiBuilder(string namespaceName)
|
||||
{
|
||||
this.stopwatch = new Stopwatch();
|
||||
this.hitchDetector = new HitchDetector($"UiBuilder({namespaceName})", 15.0f);
|
||||
this.hitchDetector = new HitchDetector($"UiBuilder({namespaceName})", 100);
|
||||
this.namespaceName = namespaceName;
|
||||
|
||||
this.interfaceManager.Draw += this.OnDraw;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue