This is a static copy of a profile reportHome
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)
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
611 | end | 2 | 0 s | 0% |  |
608 | out = com.mathworks.mlwidgets.... | 2 | 0 s | 0% |  |
607 | incomplex = [in.complex]; | 2 | 0 s | 0% |  |
606 | insparse = [in.sparse]; | 2 | 0 s | 0% |  |
605 | inglobal = [in.global]; | 2 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 25 |
Non-code lines (comments, blank lines) | 4 |
Code lines (lines that can run) | 21 |
Code lines that did run | 20 |
Code lines that did not run | 1 |
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.