cputime: eliminate redundant functions and constants