This is a static copy of a profile report

Home

reduceData>setRunFlags (1 call, 0.000 sec)
Generated 05-Aug-2011 13:01:26 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/reduceData.m
Copy to new window for comparing multiple runs

Parents (calling functions)

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

Line NumberCodeCallsTotal Time% TimeTime Plot
514
return;
10 s0%
508
if(plotparams.interactive==1 &...
10 s0%
502
if(plotparams.interactive == 1...
10 s0%
497
plotparams.interactive = par.i...
10 s0%
496
if(checkpar(par, 'interactive'...
10 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
reduceData>checkparsubfunction40 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0 s0% 
Code Analyzer results
Line numberMessage
502Use && instead of & as the AND operator in (scalar) conditional statements.
508Use && instead of & as the AND operator in (scalar) conditional statements.
Coverage results
[ Show coverage for parent directory ]
Total lines in function39
Non-code lines (comments, blank lines)9
Code lines (lines that can run)30
Code lines that did run11
Code lines that did not run19
Coverage (did run/can run)36.67 %
Function listing
   time   calls  line
476 function [plotparams, autorun]=setRunFlags(par)
477
1 478 if (checkpar(par,'plotflag'))
1 479 plotparams.plot = par.plotflag.flag;
480 else
481 plotparams.plot = 1;
482 end
483
1 484 if (checkpar(par,'autorun'))
1 485 autorun=par.autorun.flag;
486 else
487 autorun=0;
488 end
489
1 490 if(checkpar(par, 'saveplot'))
1 491 plotparams.save = par.saveplot.flag;
492 else
493 plotparams.save = 0;
494 end
495
1 496 if(checkpar(par, 'interactive'))
1 497 plotparams.interactive = par.interactive.flag;
498 else
499 plotparams.interactive = 1;
500 end
501
1 502 if(plotparams.interactive == 1 & plotparams.plot == 0)
503 display('Warning: must be plot enabled in interactive mode');
504 display('Setting plotting to true');
505 plotparams.plot = 1;
506 end
507
1 508 if(plotparams.interactive==1 & plotparams.save ==1)
509 display('Warning: can not save plots in interactive mode');
510 plotparams.save = 0;
511 end
512
513
1 514 return;

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