This is a static copy of a profile report

Home

printtables (18 calls, 0.050 sec)
Generated 14-Nov-2016 07:47:16 using cpu time.
function in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/graphics/printtables.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
saveasfunction6
graphics/private/inputcheckfunction12
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
32
[options, devices, extensions,...
120.050 s100.0%
34
end
120 s0%
21
device_table = getDefaultDevic...
120 s0%
18
return; %shortcircuit - no nee...
60 s0%
17
options = postProcessPrinttabl...
60 s0%
All other lines  0 s0%
Totals  0.050 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
graphics/private/postProcessPrinttablesfunction180.050 s100.0%
graphics/private/getDefaultDeviceListfunction120 s0%
printtables>localBuildOptionssubfunction180 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.050 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function34
Non-code lines (comments, blank lines)23
Code lines (lines that can run)11
Code lines that did run8
Code lines that did not run3
Coverage (did run/can run)72.73 %
Function listing
time 
calls 
 line
   1 
function [ options, devices, extensions, classes, colorDevs, destinations, descriptions, clipsupport] = printtables( pj ) 
   2 
%PRINTTABLES Method to create cell arrays of data on drivers and options available.
   3 
%   Tables are for use in input validation of arguments to PRINT command.
   4 
%
   5 
%   See also PRINT
   6 

   7 
%   Copyright 1984-2012 The MathWorks, Inc.
   8 

     18 
   9 
if ~nargin 
  10 
    pj = printjob();
  11 
end
  12 

     18 
  13 
options = localBuildOptions; 
     18 
  14 
if nargout == 1 
  15 
    % passing in an empty device table since we're not going to use it in
  16 
    % this context.
      6 
  17 
    options = postProcessPrinttables(pj, [], options); 
      6 
  18 
    return; %shortcircuit - no need to do the rest  
  19 
end
  20 

     12 
  21 
device_table = getDefaultDeviceList(); 
  22 

  23 
%Set them in table as cell arrays of cell arrays for convenience of entry,
  24 
%now break them up into individual cell arrays for ease of use.
  25 
%devices = device_table(:, 1 );
  26 
%extensions = device_table(:, 2 );
  27 
%classes = device_table(:, 3 );
  28 
%colorDevs = device_table(:, 4 );
  29 
%destinations = device_table(:, 5 );
  30 
%descriptions = device_table(:, 6 );
  31 
%clipsupport = device_table(:, 7);
  0.05 
     12 
  32 
[options, devices, extensions, classes, colorDevs, destinations, descriptions, clipsupport] = ... 
  33 
    postProcessPrinttables(pj, device_table, options);
     12 
  34 
end 

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