Timing test.

This commit is contained in:
Ottermandias 2023-01-03 21:55:39 +01:00
parent 6bc0b77ad3
commit f2997102c7
15 changed files with 220 additions and 59 deletions

View file

@ -138,6 +138,7 @@ public unsafe partial class PathResolver
private IntPtr CharacterBaseCreateDetour( uint a, IntPtr b, IntPtr c, byte d )
{
TimingManager.StartTimer( TimingType.CharacterBaseCreate );
var meta = DisposableContainer.Empty;
if( LastGameObject != null )
{
@ -170,6 +171,7 @@ public unsafe partial class PathResolver
{
meta.Dispose();
}
TimingManager.StopTimer( TimingType.CharacterBaseCreate );
return ret;
}