Jwang add resource measurements

I'm not convinced this is a great setup. A few comments:

1. in general, enum style is that the type name is CamelCase and the values are UPPERCASE_FORM. E.g.,

    ```java

    public enum Day {
        SUNDAY, MONDAY, TUESDAY, WEDNESDAY,
        THURSDAY, FRIDAY, SATURDAY 
    }
    ```

    Both for ft mode and profiling mode these seem to be backwards.

2. I'm not a fan of putting the power set of things we profile in an enum. When we add a third thing we might log, we'll need 8 options? A fourth, 16? If we want fine-grained control over what the profile I say we change the profiling mode field to a set of enum values and instead just enum the possible things we might profile.

3. In general, do we need this fine-grained control over profiling? (A real question--I'm not trying to say that we don't.) Would be much simpler if we always profile everything we can, wouldn't it?

@domoritz any opinions?