IResourceUsage::get_UserProcessorTime method
Retrieves the user-mode processor time that is used by the job or task.
Syntax
HRESULT get_UserProcessorTime(
[out] __int64 *pRetVal
);
Parameters
- pRetVal [out]
The user-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 user-mode processor time used by the task.
For a job, the value is the cumulative user-mode processor time for all tasks in the job.
Requirements
Product |
Compute Cluster Pack Client Utilities |
Type library |
Ccpapi.tlb |