Thread: Function that get CPU Idle

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    2

    Function that get CPU Idle

    How do I write C function to get CPU usage from Win32 platform?
    And I want it to return in integer. Thank you very much.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Usage in relation to what.......??

  3. #3
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    i think he means like when u open the taskmngr and u have percentage of cpu used...

  4. #4
    Registered User
    Join Date
    Nov 2002
    Posts
    157
    somethink like a benchmarker? sounds too in-depth for C, might want to work on assembly with soemthing like that. just my opinion, not sure how to do this.

  5. #5
    Registered User
    Join Date
    Feb 2003
    Posts
    2
    Yes. I want like when open taskmgr. But I want fuction to do that.

  6. #6

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions on multiple thread programming
    By lehe in forum C Programming
    Replies: 11
    Last Post: 03-27-2009, 07:44 AM
  2. In over my head
    By Shelnutt2 in forum C Programming
    Replies: 1
    Last Post: 07-08-2008, 06:54 PM
  3. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM