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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.