Getting CPU load in Windows using C
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.