Measure CPU power

  • Thread starter Thread starter hemanth
  • Start date Start date
H

hemanth

How to measure the power consumed by an application i.e. the cpu power
used over a period of time?
In case any 1 knows the answer pls let me know.

Thanks
hemanth
 
hemanth said:
How to measure the power consumed by an application i.e. the cpu power
used over a period of time?
In case any 1 knows the answer pls let me know.

If you had alternating current being supplied then you could just
use a clamp-on amp meter, the voltages would be stable so you could
just integrate the current measured over time and you would have
your power.

But the power is not alternating, it is direct current, so I don't
think that will work, I'm not aware of a clamp on DC amp meter.
But there are a couple of other possibilities.

You could measure the voltage drop across a resistance with that
current flowing through it. Suppose you knew the resistance of the
length of wire from the power supply to the CPU was .001 ohms. If
you had a good meter and could measure the voltage, say it was 0.1
volts. Then Ohms law would let you determine that the current was
..1/.001=100 amps, just as an example. But resistance of copper
changes with temperature, for accurate measurements you need to
decide whether that is enough to matter. And measuring tiny voltages
good accuracy inside the radio frequency mess that exists inside
pc cases can be a problem.

A current flowing through a wire produces a magnetic field. You
could wrap a few turns of the wire supplying the power around a
magnetic field sensor, like a linear hall effect device, and get a
voltage out of it that was proportional to the current flowing
through the wire.

You could water cool your processor and measure the flow rate of
the water coolant and the temperature rise of the liquid after it
has passed over the processor. Take that mass of water, the heat
capacity and the temperature rise and you can deduce the power
removed from the CPY by the water coolant.
 
How to measure the power consumed by an application i.e. the cpu power
used over a period of time?
In case any 1 knows the answer pls let me know.

Thanks
hemanth

I assume you are talking about electrical power, not how busy the CPU
is.

For about US$25 you can get a gadget called Kill-A-Watt that measuers
power draw. You plug it inline with the power cord. It, of course, can
only measure the draw for the entire system.

My big machine has 3 disks and sucks 160W after it's started (not
counting the monitor). The PSU needs to be much larger than 160W
because it has to be able to supply a big startup rush.

http://www.p3international.com/products/special/P4400/P4400-CE.html

If you want to know about CPU cycles, perfmon.exe (part of windows)
is your friend.
 
Back
Top