add gettimeofday example.