How to get CPU Time of a process programmatically ?
From: Envee (Envee_at_discussions.microsoft.com)
Date: 06/25/04
- Next message: Arnaud Debaene: "Re: How to get CPU Time of a process programmatically ?"
- Previous message: Chuck Chopp: "Re: OpenProcess vs. EnumProcesses"
- Next in thread: Arnaud Debaene: "Re: How to get CPU Time of a process programmatically ?"
- Reply: Arnaud Debaene: "Re: How to get CPU Time of a process programmatically ?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Jun 2004 10:39:01 -0700
I am trying to obtain the CPU Time like that shown by Task Manager programmatically.
The only related counter I found was the "%Processor Time" under the Process object.
Is there a way to convert the value into a "CPU Time".
According to Task Manager help. "CPU Time" column is the total processor time used by the process since it started.
- Next message: Arnaud Debaene: "Re: How to get CPU Time of a process programmatically ?"
- Previous message: Chuck Chopp: "Re: OpenProcess vs. EnumProcesses"
- Next in thread: Arnaud Debaene: "Re: How to get CPU Time of a process programmatically ?"
- Reply: Arnaud Debaene: "Re: How to get CPU Time of a process programmatically ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|