Język

Snapshot(TimeSpan, TimeSpan, TimeSpan, UInt64) Konstruktor

Definicja

Inicjuje nowe wystąpienie Snapshot struktury.

public:
 Snapshot(TimeSpan totalTimeSinceStart, TimeSpan kernelTimeSinceStart, TimeSpan userTimeSinceStart, System::UInt64 memoryUsageInBytes);
public Snapshot(TimeSpan totalTimeSinceStart, TimeSpan kernelTimeSinceStart, TimeSpan userTimeSinceStart, ulong memoryUsageInBytes);
new Microsoft.Extensions.Diagnostics.ResourceMonitoring.Snapshot : TimeSpan * TimeSpan * TimeSpan * uint64 -> Microsoft.Extensions.Diagnostics.ResourceMonitoring.Snapshot
Public Sub New (totalTimeSinceStart As TimeSpan, kernelTimeSinceStart As TimeSpan, userTimeSinceStart As TimeSpan, memoryUsageInBytes As ULong)

Parametry

totalTimeSinceStart
TimeSpan

Czas, w którym wykonano migawkę.

kernelTimeSinceStart
TimeSpan

Czas jądra, który upłynął od czasu uruchomienia.

userTimeSinceStart
TimeSpan

Czas użytkownika, który upłynął od momentu uruchomienia.

memoryUsageInBytes
UInt64

Użycie pamięci w systemie w bajtach.

Dotyczy