mercredi 8 février 2023

Get time in milliseconds on Windows

I need a way to get the time in a high precision (milliseconds or microseconds) for a PRNG algorithm I'm writing in C (C11), as time(0) is not precise enough.

I tried using several other possible solutions, which I found on StackOverflow, but none of them worked for me.




Aucun commentaire:

Enregistrer un commentaire