Thread: Capture Cpu Usage

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    3

    Smile Capture Cpu Usage

    Hello,

    I want to capture the Cpu usage of all the individual processes running in the windows 2000 operating system.

    Any inputs will be really handy.

    thanx again

  2. #2
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Hav you loooked in the win32API ?

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    9
    U need to have Microsoft's performance monitor API for this. Try searching for the performance monitor API in MSDN.

    As per my knowledge, you will get these API's in windows2000 resource pack (this should downloaded additionally)

    --vaspro

  4. #4
    Registered User
    Join Date
    Mar 2002
    Posts
    3

    Smile Cpu Usage

    Hello ,
    Thanx for the Reply. Ya i know i have to get it from the winapis.
    Very Well.
    Can i know the exact functions which are going to retieve me the cpu usage.

    That will be really handy.

    Thanx in advance.

  5. #5
    Registered User
    Join Date
    Apr 2002
    Posts
    200
    do you think the people here know the entire WinApi off the top of their heads? Well, maybe some do. But to answer your question, someone's probably going to have to spend 15 minutes looking at MSDN...so why dont you do it yourself?
    I go to encounter for the millionth time the reality of experience and to forge in the smithy of my soul the uncreated conscience of my race.

    Windows XP consists of 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company, that can't stand 1 bit of competition.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reduce CPU usage
    By patrick22 in forum Windows Programming
    Replies: 9
    Last Post: 07-10-2009, 02:13 PM
  2. questions on multiple thread programming
    By lehe in forum C Programming
    Replies: 11
    Last Post: 03-27-2009, 07:44 AM
  3. Net cpu usage of pthreads?!
    By mynickmynick in forum C++ Programming
    Replies: 15
    Last Post: 09-26-2008, 07:59 AM
  4. Calculating CPU Usage
    By vitaliy in forum Linux Programming
    Replies: 3
    Last Post: 08-21-2005, 09:38 AM
  5. Capture Cpu Usage
    By bashet in forum Windows Programming
    Replies: 0
    Last Post: 03-22-2002, 03:37 AM