This is a static copy of a profile reportHome
graphics/private/render>LocalGetImageDriver (40 calls, 0.011 sec)
Generated 05-Aug-2011 13:03:41 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/graphics/private/render.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 |
362 | renderer = get(h, 'Renderer'); | 40 | 0.011 s | 100.0% |  |
367 | imageDriver = ['-d' renderer]; | 40 | 0 s | 0% |  |
366 | end | 15 | 0 s | 0% |  |
365 | renderer = 'zbuffer'; | 15 | 0 s | 0% |  |
364 | if strcmp( renderer, 'painters... | 40 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.011 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 11 |
Non-code lines (comments, blank lines) | 4 |
Code lines (lines that can run) | 7 |
Code lines that did run | 7 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
357 function imageDriver = LocalGetImageDriver(h, renderer)
358 %
359 %
360 %
40 361 if isempty(renderer)
0.01 40 362 renderer = get(h, 'Renderer');
40 363 end
40 364 if strcmp( renderer, 'painters' )
15 365 renderer = 'zbuffer';
15 366 end
40 367 imageDriver = ['-d' renderer];
Other subfunctions in this file are not included in this listing.