Share via


IResourceUsage::get_KernelProcessorTime method

Retrieves the kernel-mode processor time that is used by the job or task.

Syntax

HRESULT get_KernelProcessorTime(
  [out] __int64 *pRetVal
);

Parameters

  • pRetVal [out]
    The kernel-mode processor time, in milliseconds.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Remarks

For a task, the value is the kernel-mode processor time used by the task.

For a job, the value is the cumulative kernel-mode processor time for all tasks in the job.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IResourceUsage