ISchedulerJobCounters interface

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

To get this interface, call the IScheduler::GetCounters method.

Members

The ISchedulerJobCounters interface inherits from the IDispatch interface. ISchedulerJobCounters also has these types of members:

  • Properties

Properties

The ISchedulerJobCounters interface has these properties.

Property Access type Description

CanceledTaskCount

Read-only

Retrieves the number of tasks that have been canceled.

CancelingTaskCount

Read-only

Retrieves the number of tasks being canceled.

ConfiguringTaskCount

Read-only

Retrieves the number of tasks being configured.

DispatchingTaskCount

Read-only

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

This property is supported only for Windows HPC Server 2008 R2.

FailedTaskCount

Read-only

Retrieves the number of tasks that have failed.

FinishedTaskCount

Read-only

Retrieves the number of tasks that have finished.

FinishingTaskCount

Read-only

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

This property is supported only for Windows HPC Server 2008 R2.

QueuedTaskCount

Read-only

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

RunningTaskCount

Read-only

Retrieves the number of tasks that are running.

SubmittedTaskCount

Read-only

Retrieves the number of tasks that have been submitted.

TaskCount

Read-only

Retrieves the number of tasks in the job.

TotalCpuTime

Read-only

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

TotalKernelTime

Read-only

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

TotalMemory

Read-only

Retrieves the total amount of memory used by the job.

TotalUserTime

Read-only

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

ValidatingTaskCount

Read-only

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

This property is supported only for Windows HPC Server 2008 R2.

 

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

HPC Interfaces

ISchedulerCounters

ISchedulerJob

ISchedulerTaskCounters