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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.