Jwang add resource measurements

2 - or how about always having "none" and "all", with each separated mode if we have more things to profile in the future.