This is a static copy of a profile report

Home

DataCursorBehavior>DataCursorBehavior.DataCursorBehavior (Calls: 6, Time: 0.002 s)
Generated 18-May-2021 16:05:25 using performance time.
class method in file /usr/local/MATLAB/R2021a/toolbox/matlab/graphics/+matlab/+graphics/+internal/DataCursorBehavior.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
hgbehaviorfactory>localCreatesubfunction6
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
1
classdef DataCursorBehavior &l...
60.000 s3.2%
All other lines  0.002 s96.8%
Totals  0.002 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
HGBehavior>HGBehavior.HGBehaviorclass method60.000 s18.9%
Self time (built-ins, overhead, etc.)  0.001 s81.1%
Totals  0.002 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function49
Non-code lines (comments, blank lines)42
Code lines (lines that can run)7
Code lines that did run1
Code lines that did not run6
Coverage (did run/can run)14.29 %
Function listing
time 
Calls 
 line
< 0.001 
      6 
   1
classdef DataCursorBehavior < matlab.graphics.internal.HGBehavior & ... 
   2 
        matlab.graphics.mixin.internal.GraphicsDataTypeContainer
   3 
% This is an undocumented class and may be removed in a future release.
   4 

   5 
% Copyright 2012-2020 The MathWorks, Inc.
   6 

   7 
properties (Constant)
   8 
    %NAME Property (read only)
   9 
    Name = 'DataCursor';
  10 
end
  11 

  12 
properties
  13 
    StartDragFcn = [];
  14 
    EndDragFcn = [];
  15 
    UpdateFcn = [];
  16 
    CreateFcn = [];
  17 
    StartCreateFcn = [];
  18 
    UpdateDataCursorFcn = [];
  19 
    MoveDataCursorFcn = [];
  20 
    %CREATENEWDATATIP Property takes true/false 
  21 
    CreateNewDatatip = false;
  22 
    %ENABLE Property takes true/false
  23 
    Enable = true;
  24 
    Interpreter matlab.internal.datatype.matlab.graphics.datatype.TextInterpreter = 'tex';
  25 
end
  26 

  27 

  28 
properties (Transient)
  29 
    %SERIALIZE Property 
  30 
    Serialize = true;
  31 
end
  32 

  33 

  34 
methods 
  35 
    function [ret] = dosupport(~,hTarget)
  36 
        % Support double handle inputs
  37 
        hTarget = handle(hTarget);
  38 
        
  39 
        % axes or axes children
  40 
        ret = isa(hTarget, 'matlab.graphics.mixin.AxesParentable') ...
  41 
            || isa(hTarget, 'matlab.graphics.mixin.PolarAxesParentable') ...
  42 
            || isa(hTarget, 'matlab.graphics.axis.AbstractAxes') ...
  43 
            || isgraphics(hTarget, 'axes');
  44 
    end
  45 
end 
  46 

  47 
end  % classdef
  48 

  49