impl atomic64, ctime and timer