Snapshot 構造体
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.
時間の経過と同時に定期的に作成された CPU とメモリ使用量のスナップショット。
public value class Snapshot
[System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0008", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
[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.Diagnostics.CodeAnalysis.Experimental("EXTEXP0008", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
[<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
- 継承
- 属性
コンストラクター
| 名前 | 説明 |
|---|---|
| Snapshot(TimeSpan, TimeSpan, TimeSpan, UInt64) |
古い.
Snapshot 構造体の新しいインスタンスを初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| KernelTimeSinceStart |
古い.
起動後に経過したカーネル時間を取得します。 |
| MemoryUsageInBytes |
古い.
システム内のメモリ使用量をバイト単位で取得します。 |
| TotalTimeSinceStart |
古い.
起動後に経過した CPU 時間の合計を取得します。 |
| UserTimeSinceStart |
古い.
起動後に経過したユーザー時間を取得します。 |