Sarnoff Interview Question

How would you implement an earned value system?