public sealed class PerformanceSample : IMessage<PerformanceSample>, IEquatable<PerformanceSample>, IDeepCloneable<PerformanceSample>, IBufferMessage, IMessage
Reference documentation and code samples for the Migration Center v1 API class PerformanceSample.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePerformanceSample\u003c/code\u003e class in the Migration Center v1 API provides a structure for performance data, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class is found within the \u003ccode\u003eGoogle.Cloud.MigrationCenter.V1\u003c/code\u003e namespace, and is part of the \u003ccode\u003eGoogle.Cloud.MigrationCenter.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt allows for the collection of CPU, disk, memory, and network usage data through properties like \u003ccode\u003eCpu\u003c/code\u003e, \u003ccode\u003eDisk\u003c/code\u003e, \u003ccode\u003eMemory\u003c/code\u003e, and \u003ccode\u003eNetwork\u003c/code\u003e which are of the types \u003ccode\u003eCpuUsageSample\u003c/code\u003e, \u003ccode\u003eDiskUsageSample\u003c/code\u003e, \u003ccode\u003eMemoryUsageSample\u003c/code\u003e, and \u003ccode\u003eNetworkUsageSample\u003c/code\u003e respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSampleTime\u003c/code\u003e property, of type \u003ccode\u003eTimestamp\u003c/code\u003e, records the time the performance data sample was taken, and will default to the frame report time if unspecified.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be instantiated using two available constructors: the default \u003ccode\u003ePerformanceSample()\u003c/code\u003e or \u003ccode\u003ePerformanceSample(PerformanceSample other)\u003c/code\u003e allowing to create a copy from another instance.\u003c/p\u003e\n"]]],[],null,[]]