Edit

Share via


ISchedulerJobCounters Interface

Definition

Defines the counter values related to the status of tasks in the job (for example, the number of tasks that have finished running).

[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("6D3F0397-E8AC-4369-A048-E70286E575B8")]
public interface ISchedulerJobCounters
type ISchedulerJobCounters = interface
Public Interface ISchedulerJobCounters
Derived
Attributes

Properties

CanceledTaskCount

The number of tasks that were canceled the last time the job ran.

CancelingTaskCount

The number of tasks that are being canceled.

ConfiguringTaskCount

The number of tasks in the job that are being configured and have not yet been added to the job.

DispatchingTaskCount

Gets the number of tasks in the job that the scheduler is sending to a node to run.

FailedTaskCount

The number of tasks in the job that failed the last time the job ran.

FinishedTaskCount

Retrieves the number of tasks that have finished running.

FinishingTaskCount

Gets the number of tasks in the job for which the node is cleaning up the resources that were allocated to the task.

QueuedTaskCount

Retrieves the number of tasks in the job that are queued and ready to run.

RunningTaskCount

Retrieves the number of tasks that are running.

SubmittedTaskCount

Retrieves the number of tasks that have been submitted.

TaskCount

Retrieves the number of tasks in the job.

TotalCpuTime

Retrieves the total CPU time used by all tasks in the job.

TotalKernelTime

The elapsed execution time for kernel-mode instructions (the total time that all tasks in the job spent in kernel-mode).

TotalMemory

Retrieves the total amount of memory used by the job.

TotalUserTime

The elapsed execution time for user-mode instructions (the total time that all tasks in the job spent in user-mode).

ValidatingTaskCount

Gets the number of tasks in the job for which the scheduler is determining if the task is correctly configured and can run.

Applies to