sched: cleanup, use NSEC_PER_MSEC and NSEC_PER_SEC