Add an argument to Measure class's constructor that decides how to measure
Add a measurement way that uses getrusage through wait3