This is a static copy of a profile report

Home

getMainDir (24 calls, 0.000 sec)
Generated 05-Aug-2011 13:01:16 using cpu time.
function in file /home/LeechJ/cbass_analysis/reduc/support/getMainDir.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
reduceDatafunction1
packdfunction6
genfigfunction9
genfigLoadfunction2
genfigAlphafunction1
genfigPowerSpecfunction1
plot1overf>getStatsPlotssubfunction2
genfigRmsfunction1
webpipefunction1
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
14
return;
240 s0%
12
eval(sprintf('load %s/%s/reduc...
240 s0%
10
[home,installeddir]=where_am_i...
240 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
where_am_ifunction240 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0 s0% 
Code Analyzer results
Line numberMessage
1The function return value 'maindir' might be unset.
1Input argument 'd' might be unused, although a later one is used. Consider replacing it by ~.
Coverage results
[ Show coverage for parent directory ]
Total lines in function14
Non-code lines (comments, blank lines)11
Code lines (lines that can run)3
Code lines that did run3
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function maindir = getMainDir(d, field)
2
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 % function maindir = getMainDir(d, field)
5 %
6 % gets the main directory of this data reduction
7 %
8 % sjcm
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
24 10 [home,installeddir]=where_am_i();
11
24 12 eval(sprintf('load %s/%s/reduc/maindir_%s.mat',home,installeddir,field));
13
24 14 return;

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