Simple portable C utils to do time benchmark.