public void applyMemLoad(double memLoad, int measurements) {
        addMemMeasurements(memLoad, measurements);
        fixture.tester().clock().advance(samplingInterval.negated().multipliedBy(measurements));
        addQueryRateMeasurements(measurements, t -> t == 0 ? 200.0 : 100.0); // Query traffic only
    }
Creates the given number of measurements, spaced 5 minutes between, using the given function
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/Loader.java