Allocated,Freed ,Self Memory and Peak Memory in profiler.

65 ビュー (過去 30 日間)
LuMig
LuMig 2015 年 4 月 29 日
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
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.

サインインしてコメントする。

採用された回答

Jonas
Jonas 2017 年 6 月 8 日
Hello, maybe this answer can helps you.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePerformance and Memory についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by