This is a static copy of a profile reportHome
fullfile>addTrailingFileSep (121 calls, 0.006 sec)
Generated 04-Aug-2014 13:05:13 using cpu time.
subfunction in file /share/apps/matlabr2014a/toolbox/matlab/iofun/fullfile.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
76 | if ~isempty(str) && (s... | 121 | 0.006 s | 100.0% | |
79 | end | 121 | 0 s | 0% | |
78 | end | 121 | 0 s | 0% | |
77 | str = [str, fileSeparator]; | 121 | 0 s | 0% | |
75 | bIsPC = ispc; | 121 | 0 s | 0% | |
All other lines | | | 0 s | 0% | |
Totals | | | 0.006 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
ispc | function | 121 | 0 s | 0% | |
filesep | function | 121 | 0 s | 0% | |
Self time (built-ins, overhead, etc.) | | | 0.006 s | 100.0% | |
Totals | | | 0.006 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 7 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 6 |
Code lines that did run | 6 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time | calls | line |
---|
| | 73 | function str = addTrailingFileSep(str)
|
| 121 | 74 | fileSeparator = filesep;
|
| 121 | 75 | bIsPC = ispc;
|
< 0.01 | 121 | 76 | if ~isempty(str) && (str(end) ~= fileSeparator && ~(bIsPC && str(end) == '/'))
|
| 121 | 77 | str = [str, fileSeparator];
|
| 121 | 78 | end
|
| 121 | 79 | end
|
Other subfunctions in this file are not included in this listing.