Snapshot Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A snapshot of CPU and memory usage taken periodically over time.
public value class Snapshot
[System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0008", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public readonly struct Snapshot
[<System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0008", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type Snapshot = struct
Public Structure Snapshot
- Inheritance
- Attributes
Constructors
Snapshot(TimeSpan, TimeSpan, TimeSpan, UInt64) |
Initializes a new instance of the Snapshot struct. |
Properties
KernelTimeSinceStart |
Gets the amount of kernel time that has elapsed since startup. |
MemoryUsageInBytes |
Gets the memory usage within the system in bytes. |
TotalTimeSinceStart |
Gets the total CPU time that has elapsed since startup. |
UserTimeSinceStart |
Gets the amount of user time that has elapsed since startup. |
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.