Snapshot Struktura

Definice

Upozornění

This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.

Snímek využití procesoru a paměti pořízený pravidelně v průběhu času.

public value class Snapshot
[System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public readonly struct Snapshot
public readonly struct Snapshot
[<System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type Snapshot = struct
type Snapshot = struct
Public Structure Snapshot
Dědičnost
Snapshot
Atributy

Konstruktory

Name Description
Snapshot(TimeSpan, TimeSpan, TimeSpan, UInt64)
Zastaralé.

Inicializuje novou instanci struktury Snapshot.

Vlastnosti

Name Description
KernelTimeSinceStart
Zastaralé.

Získá množství času jádra, který uplynul od spuštění.

MemoryUsageInBytes
Zastaralé.

Získá využití paměti v systému v bajtech.

TotalTimeSinceStart
Zastaralé.

Získá celkový čas procesoru, který uplynul od spuštění.

UserTimeSinceStart
Zastaralé.

Získá dobu uživatele, která uplynula od spuštění.

Platí pro