clean out.txt
timer(clock_gettime) for scheduling