Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SDL.cs #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jogibear9988
Copy link
Contributor

No description provided.

@hasali19
Copy link
Owner

I'm genuinely curious as to why this is better than just using System.Diagnostics.Stopwatch.

@jogibear9988
Copy link
Contributor Author

don‘t know if it‘s better. but stopwatch is not the same, this returns ticks since initialization

@hasali19
Copy link
Owner

Couldn't you just start a stopwatch at the same time as initialisation, and then use Stopwatch.ElapsedTicks. I've got nothing against adding these, just trying to figure out the use case since it makes sense to me to use what .NET already provides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants