Show More
Commit Description:
Add timers for Simulation and various engines...
Commit Description:
Add timers for Simulation and various engines
Starting to add additional timers for different stages of the process of
updating in order to get more insight into what is slowing it down.
The update takes 9ms, which is much longer than it used to.
Engine-specific timers are coming later.
References:
File last commit:
Show/Diff file:
Action:
ImGui.NET/Generated/StbUndoRecord.gen.cs
28 lines | 1.2 KiB | text/x-csharp | CSharpLexer
28 lines | 1.2 KiB | text/x-csharp | CSharpLexer
r505 | using System; | |||
using System.Numerics; | ||||
using System.Runtime.CompilerServices; | ||||
using System.Text; | ||||
namespace ImGuiNET | ||||
{ | ||||
public unsafe partial struct StbUndoRecord | ||||
{ | ||||
public int where; | ||||
public int insert_length; | ||||
public int delete_length; | ||||
public int char_storage; | ||||
} | ||||
public unsafe partial struct StbUndoRecordPtr | ||||
{ | ||||
public StbUndoRecord* NativePtr { get; } | ||||
public StbUndoRecordPtr(StbUndoRecord* nativePtr) => NativePtr = nativePtr; | ||||
public StbUndoRecordPtr(IntPtr nativePtr) => NativePtr = (StbUndoRecord*)nativePtr; | ||||
public static implicit operator StbUndoRecordPtr(StbUndoRecord* nativePtr) => new StbUndoRecordPtr(nativePtr); | ||||
public static implicit operator StbUndoRecord* (StbUndoRecordPtr wrappedPtr) => wrappedPtr.NativePtr; | ||||
public static implicit operator StbUndoRecordPtr(IntPtr nativePtr) => new StbUndoRecordPtr(nativePtr); | ||||
public ref int where => ref Unsafe.AsRef<int>(&NativePtr->where); | ||||
public ref int insert_length => ref Unsafe.AsRef<int>(&NativePtr->insert_length); | ||||
public ref int delete_length => ref Unsafe.AsRef<int>(&NativePtr->delete_length); | ||||
public ref int char_storage => ref Unsafe.AsRef<int>(&NativePtr->char_storage); | ||||
} | ||||
} | ||||