1.跟踪内存:
分析仿真过程中,哪些地方占用内存资源
编译时加参数:"-simprofile"
仿真时指定跟踪类型:"-simprofile mem"
2. 跟踪时间:
分析仿真过程中,哪些地方消耗时间较多
编译时加参数:"-simprofile"
仿真时指定跟踪类型:"-simprofile time"
3.同时跟踪时间和内存
编译时加参数:"-simprofile"
仿真时指定跟踪类型:"-simprofile mem+time"
1.跟踪内存:
分析仿真过程中,哪些地方占用内存资源
编译时加参数:"-simprofile"
仿真时指定跟踪类型:"-simprofile mem"
2. 跟踪时间:
分析仿真过程中,哪些地方消耗时间较多
编译时加参数:"-simprofile"
仿真时指定跟踪类型:"-simprofile time"
3.同时跟踪时间和内存
编译时加参数:"-simprofile"
仿真时指定跟踪类型:"-simprofile mem+time"