This is a static copy of a profile report

Home

genfig>getcolor (48 calls, 0.000 sec)
Generated 05-Aug-2011 13:03:45 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/plotting/genfig.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
genfig>plotfeatsubfunction48
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
339
return;
480 s0%
332
leg = getFlagNames;
240 s0%
331
case 'allflags'
240 s0%
328
leg = {'source', 'calibrator',...
240 s0%
327
case 'feature'
480 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
getFlagNamesfunction240 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0 s0% 
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function50
Non-code lines (comments, blank lines)40
Code lines (lines that can run)10
Code lines that did run7
Code lines that did not run3
Coverage (did run/can run)70.00 %
Function listing
   time   calls  line
290 function [clr,leg]=getcolor(type)
291
48 292 clr=[ 0.2 0 0;
293 1 0.66 0;
294 1 0 1;
295 0.5 0.2 1;
296 0.2 0.2 0.8;
297 1 0.5 0.12;
298 0.1 0.5 0.9;
299 0.75 1 1;
300 0.2 0.5 0.66;
301 0.9 0.8 0.7;
302 0.6 0 0.1;
303 0 0 1
304 0.5869 0.1909 0.3461
305 0.0576 0.8439 0.1660
306 0.3676 0.1739 0.1556
307 0.6315 0.1708 0.1911
308 0.7176 0.9943 0.4225
309 0.6927 0.4398 0.8560
310 0.0841 0.3400 0.4902
311 0.4544 0.3142 0.8159
312 0.4418 0.3651 0.4608
313 0.3533 0.3932 0.4574
314 0.1536 0.5915 0.4507
315 0.6756 0.1197 0.4122
316 0.6992 0.0381 0.9016
317 0.7275 0.4586 0.0056
318 0.4784 0.8699 0.2974
319 0.5548 0.9342 0.0492
320 0.1210 0.2644 0.6932
321 0.4508 0.1603 0.6501
322 0.7159 0.8729 0.9830
323 0 0 0];
324
325
48 326 switch type
48 327 case 'feature'
24 328 leg = {'source', 'calibrator', 'abscal', 'blank', 'skydip', ...
329 'noise_event', 'noise'};
330
24 331 case 'allflags'
24 332 leg = getFlagNames;
333
334 case 'bitmask'
335 leg={'frame','receiver', 'tracking', 'tracker', 'elevation', ...
336 'continuous', 'fifo', 'clock', '1pps', 'cryo/servo', 'backend time', 'shortfall', 'sun', 'moon'};
337 end
338
48 339 return;

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