Exemplo n.º 1
0
 public CallNodeModel(FrameDetailViewModel owner, PerfNodeStats node)
     : this(owner) {
     MergedStats = node;
     InclTime    = node.AvgInclusiveTime;
     ExclTime    = node.AvgExclusiveTime;
     Calls       = node.CallCount;
 }
Exemplo n.º 2
0
        public CallNodeModel(FrameDetailViewModel owner, PerfNodeStats node, CallRecord stats, int nodeIndex)
            : this(owner) {
            MergedStats     = node;
            CallRecordIndex = nodeIndex;

            InclTime = stats.TimeMS;
            ExclTime = stats.ExclusiveTimeMS;
            Calls    = stats.CallCount;
        }
Exemplo n.º 3
0
        private CallNodeModel(FrameDetailViewModel owner)
        {
            Owner = owner;

            if (Owner.ShowCheckmarks)
            {
                IsChecked = false;
            }
        }
Exemplo n.º 4
0
        public CallNodeModel(FrameDetailViewModel owner, PerfNodeStats node, ProfileThread thread, int nodeKey)
            : this(owner) {
            MergedStats = node;
            NodeKey     = nodeKey;
            InclTime    = thread.TimeMs;
            ExclTime    = thread.TimeMs - thread.GetChildTimeMs();
            Calls       = 1;

            CallRecordIndex = thread.StartIndex;
            LazyLoading     = thread.NodeCount != 0;
        }