Dela via


BatchJobStatistics Class

Definition

Resource usage statistics for a Job.

public class BatchJobStatistics : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.BatchJobStatistics>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.BatchJobStatistics>
type BatchJobStatistics = class
    interface IJsonModel<BatchJobStatistics>
    interface IPersistableModel<BatchJobStatistics>
Public Class BatchJobStatistics
Implements IJsonModel(Of BatchJobStatistics), IPersistableModel(Of BatchJobStatistics)
Inheritance
BatchJobStatistics
Implements

Properties

KernelCpuTime

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

LastUpdateTime

The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.

NumFailedTasks

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

NumSucceededTasks

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

NumTaskRetries

The total number of retries on all the Tasks in the Job during the given time range.

ReadIOGiB

The total amount of data in GiB read from disk by all Tasks in the Job.

ReadIOps

The total number of disk read operations made by all Tasks in the Job.

StartTime

The start time of the time range covered by the statistics.

Url

The URL of the statistics.

UserCpuTime

The total user mode CPU time (summed across all cores and all Compute Nodes) consumed by all Tasks in the Job.

WaitTime

The total wait time of all Tasks in the Job. 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.

WallClockTime

The total wall clock time of all Tasks in the Job. 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.

WriteIOGiB

The total amount of data in GiB written to disk by all Tasks in the Job.

WriteIOps

The total number of disk write operations made by all Tasks in the Job.

Explicit Interface Implementations

IJsonModel<BatchJobStatistics>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BatchJobStatistics>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchJobStatistics>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchJobStatistics>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BatchJobStatistics>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to