How to measure the power of an application on beagle board


I have a standard H.264 JM reference code (in C). I have a couple of
questions on how to put that on the board.
1) How can I download the application on to the beagle board?
2) Is there any way by which I can measure the real time on board
power of the application for any given video?

I would be very grateful if someone could help me with this. Thank you