added clock to get cpu time, but cpu interval's time is not calculate yet