Allocated,Freed ,Self Memory and Peak Memory in profiler.
조회 수: 65 (최근 30일)
이전 댓글 표시
Hi,
When choosing:
profile on;
profile('-memory','on');
setpref('profiler','showJitLines',1);
four types of memory appears:
Allocated Memory,Freed Memory,Self Memory and Peak Memory. would anybody explain the different meanings of those memory types??
댓글 수: 1
Simão Pedro da Graça Oliveira Marto
2019년 5월 28일
I get an error when running your code:
"Cannot change the memory while logging is enabled."
"profile on" must be run after "profile('-memory','on');" because the latter only works if profile is off.
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Performance and Memory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!