unsigned int is not enough for me.
1 sec is 1000000
and MAXINT is 65535 on many archs
maybe unsigned long is more appropriate?