ComputeBatchModelFactory.BatchTaskStatistics Method
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 BatchTaskStatistics.
public static Azure.Compute.Batch.BatchTaskStatistics BatchTaskStatistics (string url = default, DateTimeOffset startTime = default, DateTimeOffset lastUpdateTime = default, TimeSpan userCpuTime = default, TimeSpan kernelCpuTime = default, TimeSpan wallClockTime = default, long readIOps = 0, long writeIOps = 0, float readIOGiB = 0, float writeIOGiB = 0, TimeSpan waitTime = default);
static member BatchTaskStatistics : string * DateTimeOffset * DateTimeOffset * TimeSpan * TimeSpan * TimeSpan * int64 * int64 * single * single * TimeSpan -> Azure.Compute.Batch.BatchTaskStatistics
Public Shared Function BatchTaskStatistics (Optional url As String = Nothing, Optional startTime As DateTimeOffset = Nothing, Optional lastUpdateTime As DateTimeOffset = Nothing, Optional userCpuTime As TimeSpan = Nothing, Optional kernelCpuTime As TimeSpan = Nothing, Optional wallClockTime As TimeSpan = Nothing, Optional readIOps As Long = 0, Optional writeIOps As Long = 0, Optional readIOGiB As Single = 0, Optional writeIOGiB As Single = 0, Optional waitTime As TimeSpan = Nothing) As BatchTaskStatistics
Parameters
- url
- String
The URL of the statistics.
- startTime
- DateTimeOffset
The start time of the time range covered by the statistics.
- lastUpdateTime
- DateTimeOffset
The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.
- userCpuTime
- TimeSpan
The total user mode CPU time (summed across all cores and all Compute Nodes) consumed by the Task.
- kernelCpuTime
- TimeSpan
The total kernel mode CPU time (summed across all cores and all Compute Nodes) consumed by the Task.
- wallClockTime
- TimeSpan
The total wall clock time of the Task. The wall clock time is the elapsed time from when the Task started running on a Compute Node to when it finished (or to the last time the statistics were updated, if the Task had not finished by then). If the Task was retried, this includes the wall clock time of all the Task retries.
- readIOps
- Int64
The total number of disk read operations made by the Task.
- writeIOps
- Int64
The total number of disk write operations made by the Task.
- readIOGiB
- Single
The total gibibytes read from disk by the Task.
- writeIOGiB
- Single
The total gibibytes written to disk by the Task.
- waitTime
- TimeSpan
The total wait time of the Task. The wait time for a Task is defined as the elapsed time between the creation of the Task and the start of Task execution. (If the Task is retried due to failures, the wait time is the time to the most recent Task execution.).
Returns
A new BatchTaskStatistics instance for mocking.
Applies to
Azure SDK for .NET