This is a static copy of a profile report

Home

cellfit_percell (202 calls, 16262.414 sec)
Generated 05-Nov-2014 07:52:31 using cpu time.
function in file /usr0/home/jenkins/workspace/cellorganizer-demo3D11-glnx64/utilities/3D/cellfit_percell.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
percellparamfunction202
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
10
find_cell_codes( dna_image_fil...
20216255.344 s100.0%
21
[rad_ratio,cellnucratios,nucbo...
2016.659 s0.0%
9
if ~exist(cellcodefile)
2020.210 s0.0%
20
if exist(cellcodefile, 'file')...
2010.130 s0.0%
7
cellcodefile = [param.celltemp...
2020.070 s0.0%
All other lines  0 s0%
Totals  16262.414 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
find_cell_codesfunction20216255.334 s100.0%
extract_radius_ratiofunction2016.649 s0.0%
num2strfunction2020.060 s0.0%
filesepfunction2020 s0%
Self time (built-ins, overhead, etc.)  0.371 s0.0%
Totals  16262.414 s100% 
Code Analyzer results
Line numberMessage
9EXIST with two input arguments is generally faster and clearer than with one input argument.
21The value assigned here to 'rad_ratio' appears to be unused. Consider replacing it by ~.
21The value assigned here to 'cellnucratios' appears to be unused. Consider replacing it by ~.
21The value assigned to variable 'nucbottomslices' might be unused.
Coverage results
[ Show coverage for parent directory ]
Total lines in function28
Non-code lines (comments, blank lines)19
Code lines (lines that can run)9
Code lines that did run6
Code lines that did not run3
Coverage (did run/can run)66.67 %
Function listing
   time   calls  line
1 function cellfit_percell(dna_image_file,cell_image_file, ...
2 prot_image_file,mask_image_file,...
3 param,currfile)
4 %Trains per-cell cell shape model
5
6 %First check if they exist already
0.07 202 7 cellcodefile = [param.celltemppath filesep...
8 'cellcodes_' num2str(currfile) '.mat'];
0.21 202 9 if ~exist(cellcodefile)
16255.34 202 10 find_cell_codes( dna_image_file, ...
11 cell_image_file, ...
12 prot_image_file, ...
13 mask_image_file,...
14 param.celltemppath, param,currfile );
15
16 % add the cell-nuc ratios for each cell, could combine these
17 % two files in the future
18
19
0.13 201 20 if exist(cellcodefile, 'file') %this gets set in find_cell_codes... this should be made better grj 7/9/13
6.66 201 21 [rad_ratio,cellnucratios,nucbottomslices] =...
22 extract_radius_ratio(cellcodefile);
201 23 end
24 elseif param.verbose
25 disp(['Found cell shape model for cell ',num2str(currfile),...
26 '. Skipping']);
27
28 end