This is a static copy of a profile reportHome
ml_setimglnpixel2 (226 calls, 1.532 sec)
Generated 05-Nov-2014 07:53:54 using cpu time.
function in file /usr0/home/jenkins/workspace/cellorganizer-demo3D11-glnx64/utilities/2D/tztoolbox/ml_setimglnpixel2.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 |
33 | pts=ml_getlinept2(s,a,len); | 226 | 1.452 s | 94.8% |  |
34 | img2=ml_setimgptspixel(img,pts... | 226 | 0.060 s | 3.9% |  |
All other lines | | | 0.020 s | 1.3% |  |
Totals | | | 1.532 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
ml_getlinept2 | function | 226 | 1.452 s | 94.8% |  |
ml_setimgptspixel | function | 226 | 0.060 s | 3.9% |  |
Self time (built-ins, overhead, etc.) | | | 0.020 s | 1.3% |  |
Totals | | | 1.532 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 34 |
Non-code lines (comments, blank lines) | 32 |
Code lines (lines that can run) | 2 |
Code lines that did run | 2 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function img2=ml_setimglnpixel2(img,s,a,len)
2 %ML_SETIMGLNPIXEL2 Obsolete. See ML_SETIMGLNPIXEL2.
3 % IMG2 = ML_SETIMGLNPIXEL2(IMG,S,A,LEN) draw a line from the starting
4 % [point] S with an angle A and length LEN.
5 %
6 % See also ML_SETIMGLNPIXEL
7
8 % 17-Sep-2005 Initial write T. Zhao
9 % Copyright (c) Murphy Lab, Carnegie Mellon University
10
11
12 % Copyright (C) 2007 Murphy Lab
13 % Carnegie Mellon University
14 %
15 % This program is free software; you can redistribute it and/or modify
16 % it under the terms of the GNU General Public License as published
17 % by the Free Software Foundation; either version 2 of the License,
18 % or (at your option) any later version.
19 %
20 % This program is distributed in the hope that it will be useful, but
21 % WITHOUT ANY WARRANTY; without even the implied warranty of
22 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 % General Public License for more details.
24 %
25 % You should have received a copy of the GNU General Public License
26 % along with this program; if not, write to the Free Software
27 % Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
28 % 02110-1301, USA.
29 %
30 % For additional information visit http://murphylab.web.cmu.edu or
31 % send email to murphy@cmu.edu
32
1.45 226 33 pts=ml_getlinept2(s,a,len);
0.06 226 34 img2=ml_setimgptspixel(img,pts);