Jwang add resource measurements

Oops, fixed in 7e8379f. Thx!