add cpu times measure for subprocesses
cleanup comments and unused