This is a static copy of a profile report

Home

workspacefunc>getWhosInformation (2 calls, 0.000 sec)
Generated 05-Aug-2011 13:01:04 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/codetools/workspacefunc.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
workspacefuncfunction2
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
611
end
20 s0%
608
out = com.mathworks.mlwidgets....
20 s0%
607
incomplex = [in.complex];
20 s0%
606
insparse = [in.sparse];
20 s0%
605
inglobal = [in.global];
20 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...s.mlwidgets.workspace.WhosInformationJava method20 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0 s0% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function25
Non-code lines (comments, blank lines)4
Code lines (lines that can run)21
Code lines that did run20
Code lines that did not run1
Coverage (did run/can run)95.24 %
Function listing
   time   calls  line
587 function out = getWhosInformation(in)
588
2 589 if numel(in) == 0
590 out = com.mathworks.mlwidgets.workspace.WhosInformation.getInstance;
2 591 else
2 592 s = size(in);
2 593 per = false(s);
2 594 level = zeros(s);
2 595 fcn = cell(s);
2 596 siz = cell(s);
2 597 for i = 1:length(in)
7 598 level(i) = in(i).nesting.level;
7 599 fcn{i} = in(i).nesting.function;
7 600 siz{i} = int64(in(i).size);
7 601 end
2 602 inname = {in.name};
2 603 inbytes = [in.bytes];
2 604 inclass = {in.class};
2 605 inglobal = [in.global];
2 606 insparse = [in.sparse];
2 607 incomplex = [in.complex];
2 608 out = com.mathworks.mlwidgets.workspace.WhosInformation(inname, ...
609 siz, inbytes, inclass, per, inglobal, insparse,...
610 incomplex, com.mathworks.mlwidgets.workspace.NestingInformation.getInstances(level, fcn));
2 611 end

Other subfunctions in this file are not included in this listing.