Accessing CPU load in Windows using C

This is a discussion on Accessing CPU load in Windows using C within the Windows Programming forums, part of the Platform Specific Boards category; Hi Friends, I am working on a project for which I need a module in C for Windows which would ...

  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,789
    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,689
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 05:26 PM
  2. retrieving current CPU load
    By kristy in forum C Programming
    Replies: 2
    Last Post: 11-30-2003, 08: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21