Syncaidius / MoltenEngine

A spare-time C# .NET 8 game engine project. Cross-platform, multi-threaded.
MIT License
301 stars 20 forks source link

.NET 7 - Nanosecond/Microsecond Timing #105

Closed Syncaidius closed 1 year ago

Syncaidius commented 2 years ago

Check Timing class to see if any improvements can be made using the new DateTime/Timespan nanosecond and microsecond properties.

Syncaidius commented 1 year ago

Timing already exposes total and elapsed time as TimeSpan objects, so the new nanosecond and microsecond timing is automatically available.