A simple example to gettime