Snapshot(TimeSpan, TimeSpan, TimeSpan, UInt64) Constructor
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.
Initializes a new instance of the Snapshot struct.
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)
Parameters
- totalTimeSinceStart
- TimeSpan
The time at which the snapshot was taken.
- kernelTimeSinceStart
- TimeSpan
The amount of kernel time that has elapsed since startup.
- userTimeSinceStart
- TimeSpan
The amount of user time that has elapsed since startup.
- memoryUsageInBytes
- UInt64
The memory usage within the system in bytes.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.