Thread: Accessing CPU load in Windows using C

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

    Accessing CPU load in Windows using C

    Hi Friends,
    I am working on a project for which I need a module in C for Windows which would be able to return the exact load on the cpu at any given time. I am intending to make this module parallel using MPI so that this module can be executed on various machines in the network and I can get the CPU load for each of those machines, which plays a crucial part in my project.
    I am aware of many utilities and routines that are available in Unix, but I am specifically looking for something in Windows. Any help in this matter would be really appreciated.
    Thank you.

    Sincerely,
    Sameer

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    This is a cross post. Anyone wishing to respond, please do so with the duplicate thread in the C Board

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Heh, and I was just going to reply to the one on the C board saying this is a windows specific question
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cpu Load
    By Fric in forum C Programming
    Replies: 9
    Last Post: 03-28-2005, 06:26 PM
  2. retrieving current CPU load
    By kristy in forum C Programming
    Replies: 2
    Last Post: 11-30-2003, 09:30 AM
  3. linux and windows lookup host processes
    By Lynux-Penguin in forum Tech Board
    Replies: 0
    Last Post: 08-31-2003, 11:54 PM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM