I want to start a timer to count a period of about 10 second, how should I implement the method in time.h ?