Aug 12, 2002 #1 Zebra2k Programmer Aug 12, 2002 11 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 Jun 21, 2002 317 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 Aug 12, 2002 11 US That helps. Thanks Jolesen. Upvote 0 Downvote