Hacker News new | past | comments | ask | show | jobs | submit login

Also use gettimeofday() instead of clock(), because you don't know how far into the second you are at the time it's called.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: