Aug 12, 2002 #1 Zebra2k Programmer Joined Aug 12, 2002 Messages 11 Location US Hi, Are there APIs for collecting CPU and memory usage of a running process? Any pointers or examples are highly appriciated. Thanks. Z.
Hi, Are there APIs for collecting CPU and memory usage of a running process? Any pointers or examples are highly appriciated. Thanks. Z.
Aug 12, 2002 #2 JOLESEN Programmer Joined Jun 21, 2002 Messages 317 Location DK Yes, Use Performance Monitor API. Functions like PdhOpenQuery() PdhAddCounter() PdhCollectQueryData() PdhCloseQuery() will do the job. /JOlesen Upvote 0 Downvote
Yes, Use Performance Monitor API. Functions like PdhOpenQuery() PdhAddCounter() PdhCollectQueryData() PdhCloseQuery() will do the job. /JOlesen
Aug 13, 2002 Thread starter #3 Zebra2k Programmer Joined Aug 12, 2002 Messages 11 Location US That helps. Thanks Jolesen. Upvote 0 Downvote