time stamp counter implemented