I'm not sure whether it's overkill but I wanted even more rapidly changing seeds for when running the program in a loop. Thus use timespec rather than timeval.