Report question

Question: How to measure the power consumed by a C algorithm while running on a Pentium 4 processor?