added cpu and mem trace