// Copyright © 2020 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.DevTools.Memory { /// /// Heap profile sample. /// [System.Runtime.Serialization.DataContractAttribute] public class SamplingProfileNode : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// Size of the sampled allocation. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("size"), IsRequired = (true))] public long Size { get; set; } /// /// Total bytes attributed to this sample. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("total"), IsRequired = (true))] public long Total { get; set; } /// /// Execution stack at the point of allocation. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("stack"), IsRequired = (true))] public string[] Stack { get; set; } } }