public void addInherited(QueryProfile profile) {
        addInherited(profile, (DimensionValues)null);
    }
Adds a profile to the end of the inherited list of this. Throws an exception if this is frozen.
container-search/src/main/java/com/yahoo/search/query/profile/QueryProfile.java