Partilhar via


ComputeBatchModelFactory.BatchJobScheduleStatistics Method

Definition

Initializes a new instance of BatchJobScheduleStatistics.

public static Azure.Compute.Batch.BatchJobScheduleStatistics BatchJobScheduleStatistics (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, long numSucceededTasks = 0, long numFailedTasks = 0, long numTaskRetries = 0, TimeSpan waitTime = default);
static member BatchJobScheduleStatistics : string * DateTimeOffset * DateTimeOffset * TimeSpan * TimeSpan * TimeSpan * int64 * int64 * single * single * int64 * int64 * int64 * TimeSpan -> Azure.Compute.Batch.BatchJobScheduleStatistics
Public Shared Function BatchJobScheduleStatistics (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 numSucceededTasks As Long = 0, Optional numFailedTasks As Long = 0, Optional numTaskRetries As Long = 0, Optional waitTime As TimeSpan = Nothing) As BatchJobScheduleStatistics

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 all Tasks in all Jobs created under the schedule.

kernelCpuTime
TimeSpan

The total kernel mode CPU time (summed across all cores and all Compute Nodes) consumed by all Tasks in all Jobs created under the schedule.

wallClockTime
TimeSpan

The total wall clock time of all the Tasks in all the Jobs created under the schedule. 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 a 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 all Tasks in all Jobs created under the schedule.

writeIOps
Int64

The total number of disk write operations made by all Tasks in all Jobs created under the schedule.

readIOGiB
Single

The total gibibytes read from disk by all Tasks in all Jobs created under the schedule.

writeIOGiB
Single

The total gibibytes written to disk by all Tasks in all Jobs created under the schedule.

numSucceededTasks
Int64

The total number of Tasks successfully completed during the given time range in Jobs created under the schedule. A Task completes successfully if it returns exit code 0.

numFailedTasks
Int64

The total number of Tasks that failed during the given time range in Jobs created under the schedule. A Task fails if it exhausts its maximum retry count without returning exit code 0.

numTaskRetries
Int64

The total number of retries during the given time range on all Tasks in all Jobs created under the schedule.

waitTime
TimeSpan

The total wait time of all Tasks in all Jobs created under the schedule. 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.). This value is only reported in the Account lifetime statistics; it is not included in the Job statistics.

Returns

A new BatchJobScheduleStatistics instance for mocking.

Applies to