Jwang add resource measurements

Sure, done in 7e8379f.