add statistic info of memory,stat  malloc times and cp time