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.
Anyways my problem is now fixed, with the help of the code @dbush provided