Maybe use the POT or RCTIME command.